Skip to content
v2.275.0

ShutdownEventConfigurationProperty Struct ​

Example ​

ts
// 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 ​

delayUntilElbConnectionsDrainedoptionalboolean | IResolvabledelay_until_elb_connections_drainedoptionaltyping.Union[bool, IResolvable]delayUntilElbConnectionsDrainedoptionalBooleanDelayUntilElbConnectionsDrainedoptionalboolDelayUntilElbConnectionsDrainedoptionalinterface{}#
Whether to enable Elastic Load Balancing connection draining.

For more information, see Connection Draining

executionTimeoutoptionalnumberexecution_timeoutoptionalint | floatexecutionTimeoutoptionalNumberExecutionTimeoutoptionaldoubleExecutionTimeoutoptional*float64#
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.