Interface BindHookTargetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BindHookTargetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.195Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBindHookTargetOptionsstatic final classAn 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.BuilderofBindHookTargetOptions
-