Interface LifecycleHookTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LifecycleHookTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.665Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLifecycleHookTargetConfig
static final class
An 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.Builder
ofLifecycleHookTargetConfig
-