- class aws_cdk.aws_autoscaling.LifecycleHookTargetConfig(*, created_role, notification_target_arn)
Result of binding a lifecycle hook to a target.
IRole) – The IRole that was used to bind the lifecycle hook to the target.
str) – The targetArn that the lifecycle hook was bound to.
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_autoscaling as autoscaling import aws_cdk.aws_iam as iam # role: iam.Role lifecycle_hook_target_config = autoscaling.LifecycleHookTargetConfig( created_role=role, notification_target_arn="notificationTargetArn" )
The IRole that was used to bind the lifecycle hook to the target.
The targetArn that the lifecycle hook was bound to.