aws.ssm.get_parameters_by_path
Example SQL Queries
SELECT * FROMaws.ssm.get_parameters_by_pathWHERE"path" = 'VALUE';Description
Retrieve information about one or more parameters in a specific 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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| path Required Input Column The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33 | VARCHAR |
| parameter_filters Input Column Filters to limit the request results. The following Key values are supported for GetParametersByPath: Type, KeyId, and Label. The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier. | STRUCT( |
Show child fields
| |
| recursive Input Column Retrieve all parameters within a hierarchy. If a user has access to a path, then the user can access all levels of that path. For example, if a user has permission to access path /a, then the user can also access /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b. | BOOLEAN |
| with_decryption Input Column Retrieve all parameters in a hierarchy with their value decrypted. | BOOLEAN |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| arn The Amazon Resource Name (ARN) of the parameter. | VARCHAR |
| data_type The data type of the parameter, such as text or aws:ec2:image. The default is text. | VARCHAR |
| last_modified_date Date the parameter was last changed or updated and the parameter version was created. | TIMESTAMP_S |
| name The name of the parameter. | VARCHAR |
| selector Either 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 | VARCHAR |
| source_result Applies to parameters that reference information in other Amazon Web Services services. SourceResult is the raw result or response from the source. | VARCHAR |
| type The 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. | VARCHAR |
| value The parameter value. If type is StringList, the system returns a comma-separated string with no spaces between commas in the Value field. | VARCHAR |
| version The parameter version. | BIGINT |