interface ShutdownEventConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Mixins.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/mixins#CfnLayerPropsMixin_ShutdownEventConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.mixins.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_opsworks.mixins.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_opsworks » mixins » CfnLayerPropsMixin » ShutdownEventConfigurationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as opsworks_mixins } from '@aws-cdk/mixins-preview/aws-opsworks';
const shutdownEventConfigurationProperty: opsworks_mixins.CfnLayerPropsMixin.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 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 OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.

.NET
Go
Java
Python
TypeScript