Class CfnLayer.ShutdownEventConfigurationProperty
The Shutdown event configuration.
Inheritance
System.Object
CfnLayer.ShutdownEventConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.AWS.OpsWorks.dll
Syntax (csharp)
public class ShutdownEventConfigurationProperty : Object, CfnLayer.IShutdownEventConfigurationProperty
Syntax (vb)
Public Class ShutdownEventConfigurationProperty
Inherits Object
Implements CfnLayer.IShutdownEventConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var shutdownEventConfigurationProperty = new ShutdownEventConfigurationProperty {
DelayUntilElbConnectionsDrained = false,
ExecutionTimeout = 123
};
Synopsis
Constructors
ShutdownEventConfigurationProperty() |
Properties
DelayUntilElbConnectionsDrained | Whether to enable Elastic Load Balancing connection draining. |
ExecutionTimeout | The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance. |
Constructors
ShutdownEventConfigurationProperty()
public ShutdownEventConfigurationProperty()
Properties
DelayUntilElbConnectionsDrained
Whether to enable Elastic Load Balancing connection draining.
public object DelayUntilElbConnectionsDrained { get; set; }
Property Value
System.Object
Remarks
For more information, see Connection Draining
ExecutionTimeout
The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
public Nullable<double> ExecutionTimeout { get; set; }
Property Value
System.Nullable<System.Double>