interface ShutdownEventConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnLayer.ShutdownEventConfigurationProperty |
Java | software.amazon.awscdk.services.opsworks.CfnLayer.ShutdownEventConfigurationProperty |
Python | aws_cdk.aws_opsworks.CfnLayer.ShutdownEventConfigurationProperty |
TypeScript | @aws-cdk/aws-opsworks » CfnLayer » ShutdownEventConfigurationProperty |
The Shutdown event configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as opsworks from '@aws-cdk/aws-opsworks';
const shutdownEventConfigurationProperty: opsworks.CfnLayer.ShutdownEventConfigurationProperty = {
delayUntilElbConnectionsDrained: false,
executionTimeout: 123,
};
Properties
Name | Type | Description |
---|---|---|
delay | boolean | IResolvable | Whether to enable Elastic Load Balancing connection draining. |
execution | number | The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance. |
delayUntilElbConnectionsDrained?
Type:
boolean |
IResolvable
(optional)
Whether to enable Elastic Load Balancing connection draining.
For more information, see Connection Draining
executionTimeout?
Type:
number
(optional)
The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.