Interface LifecycleHookTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LifecycleHookTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.394Z")
@Stability(Stable)
public interface LifecycleHookTargetConfig
extends software.amazon.jsii.JsiiSerializable
Result of binding a lifecycle hook to a target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;
import software.amazon.awscdk.services.iam.*;
Role role;
LifecycleHookTargetConfig lifecycleHookTargetConfig = LifecycleHookTargetConfig.builder()
.createdRole(role)
.notificationTargetArn("notificationTargetArn")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLifecycleHookTargetConfigstatic final classAn implementation forLifecycleHookTargetConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The IRole that was used to bind the lifecycle hook to the target.The targetArn that the lifecycle hook was bound to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreatedRole
The IRole that was used to bind the lifecycle hook to the target. -
getNotificationTargetArn
The targetArn that the lifecycle hook was bound to. -
builder
- Returns:
- a
LifecycleHookTargetConfig.BuilderofLifecycleHookTargetConfig
-