AWS::SSMQuickSetup::LifecycleAutomationResource Type definition for AWS::SSMQuickSetup::LifecycleAutomation that executes SSM Automation documents in response to CloudFormation lifecycle events.
4 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutomationDocument | string | Required |
AutomationParameters | AutomationParameters | Required |
ResourceKey | string | RequiredCreate-only |
Tags | TagsMap |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationId | string | The id from the association that is returned when creating the association |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SSMQuickSetup::LifecycleAutomation
Resources:
MyResource:
Type: AWS::SSMQuickSetup::LifecycleAutomation
Properties:
AutomationDocument: "value"
ResourceKey: "value"
AutomationParameters: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ssm:CreateAssociationssm:DescribeAssociationssm:DescribeAssociationExecutionsssm:DescribeAssociationExecutionTargetsssm:GetAutomationExecutionssm:AddTagsToResourcessm:ListTagsForResourceiam:PassRolessm:DescribeAssociationssm:ListTagsForResourcessm:DescribeAssociationssm:UpdateAssociationssm:DescribeAssociationExecutionsssm:DescribeAssociationExecutionTargetsssm:GetAutomationExecutionssm:AddTagsToResourcessm:RemoveTagsFromResourcessm:ListTagsForResourcessm:DeleteAssociationssm:UpdateAssociationssm:DescribeAssociationssm:DescribeAssociationExecutionsssm:DescribeAssociationExecutionTargetsssm:GetAutomationExecutioniam:PassRolessm:ListAssociationsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAssociationIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceKey