association
Gets an individual association
resource
Overview
Name | association |
Type | Resource |
Description | association |
Id | awscc.ssm.association |
Fields
Name | Datatype | Description |
---|---|---|
association_id | string | Unique identifier of the association. |
association_name | string | The name of the association. |
document_version | string | The version of the SSM document to associate with the target. |
instance_id | string | The ID of the instance that the SSM document is associated with. |
name | string | The name of the SSM document. |
parameters | object | Parameter values that the SSM document uses at runtime. |
schedule_expression | string | A Cron or Rate expression that specifies when the association is applied to the target. |
targets | array | The targets that the SSM document sends commands to. |
output_location | object | |
automation_target_parameter_name | string | |
max_errors | string | |
max_concurrency | string | |
compliance_severity | string | |
sync_compliance | string | |
wait_for_success_timeout_seconds | integer | |
apply_only_at_cron_interval | boolean | |
calendar_names | array | |
schedule_offset | integer | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
association_id,
association_name,
document_version,
instance_id,
name,
parameters,
schedule_expression,
targets,
output_location,
automation_target_parameter_name,
max_errors,
max_concurrency,
compliance_severity,
sync_compliance,
wait_for_success_timeout_seconds,
apply_only_at_cron_interval,
calendar_names,
schedule_offset
FROM awscc.ssm.association
WHERE data__Identifier = '<AssociationId>';
Permissions
To operate on the association
resource, the following permissions are required:
Delete
ssm:DeleteAssociation
Update
iam:PassRole,
ssm:UpdateAssociation,
ssm:GetCalendarState
Read
ssm:DescribeAssociation,
resource-groups:GetGroupQuery,
resource-groups:ListGroups,
resource-groups:ListGroupResources