AWS::AutoScaling::LifecycleHookResource Type definition for AWS::AutoScaling::LifecycleHook
8 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutoScalingGroupName | string | RequiredCreate-only |
LifecycleTransition | string | Required |
DefaultResult | string | |
HeartbeatTimeout | integer | |
LifecycleHookName | string | Create-only |
NotificationMetadata | string | |
NotificationTargetARN | string | |
RoleARN | string |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AutoScaling::LifecycleHook
Resources:
MyResource:
Type: AWS::AutoScaling::LifecycleHook
Properties:
LifecycleTransition: "value"
AutoScalingGroupName: "my-autoscalinggroupname"Permissions CloudFormation needs in your IAM role to manage this resource.
autoscaling:PutLifecycleHookautoscaling:DescribeLifecycleHooksiam:PassRoleautoscaling:DescribeLifecycleHooksautoscaling:PutLifecycleHookautoscaling:DescribeLifecycleHooksiam:PassRoleautoscaling:DeleteLifecycleHookautoscaling:DescribeLifecycleHooksautoscaling:DescribeLifecycleHooksOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAutoScalingGroupNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AutoScalingGroupNameLifecycleHookName