Interface ILifecycleHookTargetConfig
Result of binding a lifecycle hook to a target.
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILifecycleHookTargetConfig
Syntax (vb)
Public Interface ILifecycleHookTargetConfig
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Properties
CreatedRole | The IRole that was used to bind the lifecycle hook to the target. |
NotificationTargetArn | The targetArn that the lifecycle hook was bound to. |
Properties
CreatedRole
The IRole that was used to bind the lifecycle hook to the target.
IRole CreatedRole { get; }
Property Value
NotificationTargetArn
The targetArn that the lifecycle hook was bound to.
string NotificationTargetArn { get; }
Property Value
System.String