@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:43.000Z") @Stability(value=Experimental) 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()
(experimental) The lifecycle hook to attach to.
|
default IRole |
getRole()
(experimental) The role to use when attaching to the lifecycle hook.
|
@Stability(value=Experimental) @NotNull LifecycleHook getLifecycleHook()
[disable-awslint:ref-via-interface]
@Stability(value=Experimental) @Nullable default IRole getRole()
[disable-awslint:ref-via-interface]
Default: : a role is not created unless the target arn is specified
@Stability(value=Experimental) static BindHookTargetOptions.Builder builder()
BindHookTargetOptions.Builder of BindHookTargetOptionsCopyright © 2022. All rights reserved.