Last active
April 17, 2016 15:10
-
-
Save kevinkarwaski/d0ec1e2f8cd06b6bf768e223ba26f85b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"myLifecycleHook": { | |
"Type": "AWS::AutoScaling::LifecycleHook", | |
"Properties": { | |
"AutoScalingGroupName": { "Ref": "myAutoScalingGroup" }, | |
"HeartbeatTimeout": 300, | |
"LifecycleTransition": "autoscaling:EC2_INSTANCE_TERMINATING", | |
"NotificationMetadata": { "Ref": "StackName" }, | |
"NotificationTargetARN": { "Ref": "lifecycleHookTopic" }, | |
"RoleARN": { "Fn::GetAtt": [ "lifecycleHookRole", "Arn" ] } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment