aws-cdk-lib.aws_opsworks.CfnLayer.ShutdownEventConfigurationProperty

interface ShutdownEventConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.OpsWorks.CfnLayer.ShutdownEventConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnLayer_ShutdownEventConfigurationProperty
Javasoftware.amazon.awscdk.services.opsworks.CfnLayer.ShutdownEventConfigurationProperty
Pythonaws_cdk.aws_opsworks.CfnLayer.ShutdownEventConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_opsworks as opsworks } from 'aws-cdk-lib';
const shutdownEventConfigurationProperty: opsworks.CfnLayer.ShutdownEventConfigurationProperty = {
  delayUntilElbConnectionsDrained: false,
  executionTimeout: 123,
};

Properties

NameTypeDescription
delayUntilElbConnectionsDrained?boolean | IResolvableWhether to enable Elastic Load Balancing connection draining.
executionTimeout?numberThe 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.