@Stability(value=Stable)
public static interface CfnLayer.ShutdownEventConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.opsworks.*;
ShutdownEventConfigurationProperty shutdownEventConfigurationProperty = ShutdownEventConfigurationProperty.builder()
.delayUntilElbConnectionsDrained(false)
.executionTimeout(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLayer.ShutdownEventConfigurationProperty.Builder
A builder for
CfnLayer.ShutdownEventConfigurationProperty |
static class |
CfnLayer.ShutdownEventConfigurationProperty.Jsii$Proxy
An implementation for
CfnLayer.ShutdownEventConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLayer.ShutdownEventConfigurationProperty.Builder |
builder() |
default Object |
getDelayUntilElbConnectionsDrained()
Whether to enable Elastic Load Balancing connection draining.
|
default Number |
getExecutionTimeout()
The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
|
@Stability(value=Stable) @Nullable default Object getDelayUntilElbConnectionsDrained()
For more information, see Connection Draining
@Stability(value=Stable) @Nullable default Number getExecutionTimeout()
@Stability(value=Stable) static CfnLayer.ShutdownEventConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.