Interface BindHookTargetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BindHookTargetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.593Z")
@Stability(Stable)
public interface BindHookTargetOptions
extends software.amazon.jsii.JsiiSerializable
Options needed to bind a target to a lifecycle hook.
[disable-awslint:ref-via-interface] The lifecycle hook to attach to and an IRole to use
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.*; LifecycleHook lifecycleHook; Role role; BindHookTargetOptions bindHookTargetOptions = BindHookTargetOptions.builder() .lifecycleHook(lifecycleHook) // the properties below are optional .role(role) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBindHookTargetOptions
static final class
An implementation forBindHookTargetOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLifecycleHook
The lifecycle hook to attach to.[disable-awslint:ref-via-interface]
-
getRole
The role to use when attaching to the lifecycle hook.[disable-awslint:ref-via-interface]
Default: : a role is not created unless the target arn is specified
-
builder
- Returns:
- a
BindHookTargetOptions.Builder
ofBindHookTargetOptions
-