@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-01T09:58:40.515Z")
public interface BindHookTargetOptions
[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.
|
LifecycleHook getLifecycleHook()
[disable-awslint:ref-via-interface]
default IRole getRole()
[disable-awslint:ref-via-interface]
Default: : a role is not created unless the target arn is specified
static BindHookTargetOptions.Builder builder()
BindHookTargetOptions.Builder
of BindHookTargetOptions