Class LifecycleHookTargetConfig
Result of binding a lifecycle hook to a target.
Inheritance
System.Object
LifecycleHookTargetConfig
Implements
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LifecycleHookTargetConfig : Object, ILifecycleHookTargetConfig
Syntax (vb)
Public Class LifecycleHookTargetConfig
Inherits Object
Implements 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
Constructors
LifecycleHookTargetConfig() |
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. |
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
NotificationTargetArn
The targetArn that the lifecycle hook was bound to.
public string NotificationTargetArn { get; set; }
Property Value
System.String