@Stability(value=Stable) public static final class LifecycleHookTargetConfig.Builder extends Object implements software.amazon.jsii.Builder<LifecycleHookTargetConfig>
LifecycleHookTargetConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LifecycleHookTargetConfig |
build()
Builds the configured instance.
|
LifecycleHookTargetConfig.Builder |
createdRole(IRole createdRole)
Sets the value of
LifecycleHookTargetConfig.getCreatedRole() |
LifecycleHookTargetConfig.Builder |
notificationTargetArn(String notificationTargetArn)
Sets the value of
LifecycleHookTargetConfig.getNotificationTargetArn() |
@Stability(value=Stable) public LifecycleHookTargetConfig.Builder createdRole(IRole createdRole)
LifecycleHookTargetConfig.getCreatedRole()createdRole - The IRole that was used to bind the lifecycle hook to the target. This parameter is required.this@Stability(value=Stable) public LifecycleHookTargetConfig.Builder notificationTargetArn(String notificationTargetArn)
LifecycleHookTargetConfig.getNotificationTargetArn()notificationTargetArn - The targetArn that the lifecycle hook was bound to. This parameter is required.this@Stability(value=Stable) public LifecycleHookTargetConfig build()
build in interface software.amazon.jsii.Builder<LifecycleHookTargetConfig>LifecycleHookTargetConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.