AWS::SSM::AssociationThe AWS::SSM::Association resource associates an SSM document in AWS Systems Manager with EC2 instances that contain a configuration agent to process the document.
17 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | Required |
ApplyOnlyAtCronInterval | boolean | |
AssociationName | string | |
AutomationTargetParameterName | string | |
CalendarNames | Array<string> | |
ComplianceSeverity | string | |
DocumentVersion | string | |
InstanceId | string | |
MaxConcurrency | string | |
MaxErrors | string | |
OutputLocation | InstanceAssociationOutputLocation | |
Parameters | object | |
ScheduleExpression | string | |
ScheduleOffset | integer | |
SyncCompliance | string | |
Targets | Array<Target> | |
WaitForSuccessTimeoutSeconds | integer | Write-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationId | string | Unique identifier of the association. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SSM::Association
Resources:
MyResource:
Type: AWS::SSM::Association
Properties:
Name: "my-name"Permissions CloudFormation needs in your IAM role to manage this resource.
ssm:DescribeAssociationresource-groups:GetGroupQueryresource-groups:ListGroupsresource-groups:ListGroupResourcesec2:DescribeInstanceStatusiam:PassRoleiam:CreateServiceLinkedRolessm:CreateAssociationssm:DescribeAssociationssm:GetCalendarStateiam:PassRolessm:UpdateAssociationssm:GetCalendarStatessm:ListAssociationsssm:DeleteAssociationOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAssociationId