aws.ssm.list_associations
Example SQL Queries
SELECT * FROMaws.ssm.list_associations;Description
Returns all State Manager associations in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results to a specific State Manager association document or managed node by specifying a filter. State Manager is a capability of Amazon Web Services Systems Manager.
Table Definition
| Column Name | Column Data Type |
|---|---|
| association_filter_list Input Column One or more filters. Use a filter to return a more specific list of results. Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned. | STRUCT( |
Show child fields
| |
| _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 |
| association_id The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule. | VARCHAR |
| association_name The association name. | VARCHAR |
| association_version The association version. | VARCHAR |
| document_version The version of the document used in the association. If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter. State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default. | VARCHAR |
| duration The number of hours that an association can run on specified targets. After the resulting cutoff time passes, associations that are currently running are cancelled, and no pending executions are started on remaining targets. | BIGINT |
| instance_id The managed node ID. | VARCHAR |
| last_execution_date The date on which the association was last run. | TIMESTAMP_S |
| name The name of the SSM document. | VARCHAR |
| overview Information about the association. | STRUCT( |
Show child fields
| |
| schedule_expression A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC). | VARCHAR |
| schedule_offset Number of days to wait after the scheduled day to run an association. | BIGINT |
| target_maps A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together. | MAP(VARCHAR, VARCHAR[])[] |
Show child fields
| |
| targets The managed nodes targeted by the request to create an association. You can target all managed nodes in an Amazon Web Services account by specifying the InstanceIds key with a value of *. | STRUCT( |
Show child fields
| |