awscc.autoscaling_lifecyclehook¶
Filters¶
event
reduce
value
Actions¶
delete¶
Parent base class for filters and actions.
properties:
type:
enum:
- delete
required:
- type
Permissions - autoscaling:DeleteLifecycleHook, autoscaling:DescribeLifecycleHooks
update¶
Parent base class for filters and actions.
properties:
DefaultResult:
description: The action the Auto Scaling group takes when the lifecycle hook timeout
elapses or if an unexpected failure occurs. The valid values are CONTINUE and
ABANDON (default).
type: string
HeartbeatTimeout:
description: The maximum time, in seconds, that can elapse before the lifecycle
hook times out. The range is from 30 to 7200 seconds. The default value is 3600
seconds (1 hour). If the lifecycle hook times out, Amazon EC2 Auto Scaling performs
the action that you specified in the DefaultResult property.
type: integer
LifecycleTransition:
description: The instance state to which you want to attach the lifecycle hook.
type: string
NotificationMetadata:
description: Additional information that is included any time Amazon EC2 Auto
Scaling sends a message to the notification target.
maxLength: 1023
minLength: 1
type: string
NotificationTargetARN:
description: 'The Amazon Resource Name (ARN) of the notification target that Amazon
EC2 Auto Scaling uses to notify you when an instance is in the transition state
for the lifecycle hook. You can specify an Amazon SQS queue or an Amazon SNS
topic. The notification message includes the following information: lifecycle
action token, user account ID, Auto Scaling group name, lifecycle hook name,
instance ID, lifecycle transition, and notification metadata.'
type: string
RoleARN:
description: The ARN of the IAM role that allows the Auto Scaling group to publish
to the specified notification target, for example, an Amazon SNS topic or an
Amazon SQS queue.
type: string
type:
enum:
- update
Permissions - autoscaling:PutLifecycleHook, autoscaling:DescribeLifecycleHooks, iam:PassRole