interface ShutdownEventConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnLayer.ShutdownEventConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnLayer_ShutdownEventConfigurationProperty |
Java | software.amazon.awscdk.services.opsworks.CfnLayer.ShutdownEventConfigurationProperty |
Python | aws_cdk.aws_opsworks.CfnLayer.ShutdownEventConfigurationProperty |
TypeScript | aws-cdk-lib » aws_opsworks » CfnLayer » ShutdownEventConfigurationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
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.