This template creates an IAM role and an SSM association to automate the stopping of an EC2 instance. The IAM role has the necessary permissions to execute the automation and the SSM association specifies the target instance to stop.

AutomationExecutionRole
AWS::IAM::Role


ManagedPolicyArns

AutomationAssociation
AWS::SSM::Association


Targets *

Values

CloudFormation Template

Share Template