Show / Hide Table of Contents

Class InitCommandWaitDuration

Represents a duration to wait after a command has finished, in case of a reboot (Windows only).

Inheritance
object
InitCommandWaitDuration
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class InitCommandWaitDuration : DeputyBase
Syntax (vb)
Public MustInherit Class InitCommandWaitDuration Inherits DeputyBase
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.EC2;

            var initCommandWaitDuration = InitCommandWaitDuration.Forever();

Synopsis

Constructors

InitCommandWaitDuration()

Represents a duration to wait after a command has finished, in case of a reboot (Windows only).

Methods

Forever()

cfn-init will exit and resume only after a reboot.

None()

Do not wait for this command.

Of(Duration)

Wait for a specified duration after a command.

Constructors

InitCommandWaitDuration()

Represents a duration to wait after a command has finished, in case of a reboot (Windows only).

protected InitCommandWaitDuration()
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.EC2;

            var initCommandWaitDuration = InitCommandWaitDuration.Forever();

Methods

Forever()

cfn-init will exit and resume only after a reboot.

public static InitCommandWaitDuration Forever()
Returns

InitCommandWaitDuration

Remarks

ExampleMetadata: fixture=_generated

None()

Do not wait for this command.

public static InitCommandWaitDuration None()
Returns

InitCommandWaitDuration

Remarks

ExampleMetadata: fixture=_generated

Of(Duration)

Wait for a specified duration after a command.

public static InitCommandWaitDuration Of(Duration duration)
Parameters
duration Duration
Returns

InitCommandWaitDuration

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX