Class LifecycleHookTargetConfig
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
Result of binding a lifecycle hook to a target.
public class LifecycleHookTargetConfig : ILifecycleHookTargetConfig
- Inheritance
-
LifecycleHookTargetConfig
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;
using Amazon.CDK.AWS.IAM;
Role role;
var lifecycleHookTargetConfig = new LifecycleHookTargetConfig {
CreatedRole = role,
NotificationTargetArn = "notificationTargetArn"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
LifecycleHookTargetConfig()
public LifecycleHookTargetConfig()
Properties
CreatedRole
The IRole that was used to bind the lifecycle hook to the target.
public IRole CreatedRole { get; set; }
Property Value
- IRole
NotificationTargetArn
The targetArn that the lifecycle hook was bound to.
public string NotificationTargetArn { get; set; }