Skip to main content

association

Gets an individual association resource

Overview

Nameassociation
TypeResource
Descriptionassociation
Idawscc.ssm.association

Fields

NameDatatypeDescription
association_idstringUnique identifier of the association.
association_namestringThe name of the association.
document_versionstringThe version of the SSM document to associate with the target.
instance_idstringThe ID of the instance that the SSM document is associated with.
namestringThe name of the SSM document.
parametersobjectParameter values that the SSM document uses at runtime.
schedule_expressionstringA Cron or Rate expression that specifies when the association is applied to the target.
targetsarrayThe targets that the SSM document sends commands to.
output_locationobject
automation_target_parameter_namestring
max_errorsstring
max_concurrencystring
compliance_severitystring
sync_compliancestring
wait_for_success_timeout_secondsinteger
apply_only_at_cron_intervalboolean
calendar_namesarray
schedule_offsetinteger
regionstringAWS 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