Interface ILifecycleHookTargetConfig
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
Result of binding a lifecycle hook to a target.
public interface ILifecycleHookTargetConfig
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
Properties
CreatedRole
The IRole that was used to bind the lifecycle hook to the target.
IRole CreatedRole { get; }
Property Value
- IRole
NotificationTargetArn
The targetArn that the lifecycle hook was bound to.
string NotificationTargetArn { get; }