interface ShutdownEventConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsopsworks#CfnLayerPropsMixin_ShutdownEventConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.opsworks.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_opsworks.CfnLayerPropsMixin.ShutdownEventConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_opsworks » CfnLayerPropsMixin » 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/cfn-property-mixins';
const shutdownEventConfigurationProperty: opsworks.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