AWS Fundamentals Logo
AWS Fundamentals
AWS::AutoScaling::LifecycleHook

AutoScaling LifecycleHook

Resource Type definition for AWS::AutoScaling::LifecycleHook

Properties

8 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
AutoScalingGroupName
string
RequiredCreate-only
LifecycleTransition
string
Required
DefaultResult
string
HeartbeatTimeout
integer
LifecycleHookName
string
Create-only
NotificationMetadata
string
NotificationTargetARN
string
RoleARN
string

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AutoScaling::LifecycleHook

Resources:
  MyResource:
    Type: AWS::AutoScaling::LifecycleHook
    Properties:
      LifecycleTransition: "value"
      AutoScalingGroupName: "my-autoscalinggroupname"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

autoscaling:PutLifecycleHookautoscaling:DescribeLifecycleHooksiam:PassRole

read

autoscaling:DescribeLifecycleHooks

update

autoscaling:PutLifecycleHookautoscaling:DescribeLifecycleHooksiam:PassRole

delete

autoscaling:DeleteLifecycleHookautoscaling:DescribeLifecycleHooks

list

autoscaling:DescribeLifecycleHooks

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceAutoScaling
Properties8
Required2
TaggingNot supported
Primary IDAutoScalingGroupName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

AutoScalingGroupNameLifecycleHookName

External Links