@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.727Z") @Stability(value=Stable) public interface BindHookTargetOptions extends software.amazon.jsii.JsiiSerializable
[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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BindHookTargetOptions.Builder
A builder for
BindHookTargetOptions |
static class |
BindHookTargetOptions.Jsii$Proxy
An implementation for
BindHookTargetOptions |
| Modifier and Type | Method and Description |
|---|---|
static BindHookTargetOptions.Builder |
builder() |
LifecycleHook |
getLifecycleHook()
The lifecycle hook to attach to.
|
default IRole |
getRole()
The role to use when attaching to the lifecycle hook.
|
@Stability(value=Stable) @NotNull LifecycleHook getLifecycleHook()
[disable-awslint:ref-via-interface]
@Stability(value=Stable) @Nullable default IRole getRole()
[disable-awslint:ref-via-interface]
Default: : a role is not created unless the target arn is specified
@Stability(value=Stable) static BindHookTargetOptions.Builder builder()
BindHookTargetOptions.Builder of BindHookTargetOptionsCopyright © 2022. All rights reserved.