Skip to main content

parameters_by_paths

Creates, updates, deletes, gets or lists a parameters_by_paths resource.

Overview

Nameparameters_by_paths
TypeResource
Idaws.ssm.parameters_by_paths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the parameter.
data_typestringThe data type of the parameter, such as text or aws:ec2:image. The default is text.
last_modified_datestring (date-time)Date the parameter was last changed or updated and the parameter version was created.
namestringThe name of the parameter.
selectorstringEither the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats: parameter_name:version parameter_name:label
source_resultstringApplies to parameters that reference information in other Amazon Web Services services. SourceResult is the raw result or response from the source.
typestringThe type of parameter. Valid values include the following: String, StringList, and SecureString. If type is StringList, the system returns a comma-separated string with no spaces between commas in the Value field. (String, StringList, SecureString)
valuestringThe parameter value. If type is StringList, the system returns a comma-separated string with no spaces between commas in the Value field.
versioninteger (int64)The parameter version.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_parameters_by_pathselectregionRetrieve information about one or more parameters under a specified level in a hierarchy. Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results. Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a ValidationException error.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieve information about one or more parameters under a specified level in a hierarchy. Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results. Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a ValidationException error.

SELECT
arn,
data_type,
last_modified_date,
name,
selector,
source_result,
type,
value,
version
FROM aws.ssm.parameters_by_paths
WHERE region = '{{ region }}' -- required
;