Class InitCommandWaitDuration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InitCommandWaitDuration
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.368Z")
@Stability(Stable)
public abstract class InitCommandWaitDuration
extends software.amazon.jsii.JsiiObject
Represents a duration to wait after a command has finished, in case of a reboot (Windows only).
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; InitCommandWaitDuration initCommandWaitDuration = InitCommandWaitDuration.forever();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedInitCommandWaitDuration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInitCommandWaitDuration(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic InitCommandWaitDurationforever()cfn-init will exit and resume only after a reboot.static InitCommandWaitDurationnone()Do not wait for this command.static InitCommandWaitDurationWait for a specified duration after a command.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
InitCommandWaitDuration
protected InitCommandWaitDuration(software.amazon.jsii.JsiiObjectRef objRef) -
InitCommandWaitDuration
protected InitCommandWaitDuration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InitCommandWaitDuration
@Stability(Stable) protected InitCommandWaitDuration()
-
-
Method Details
-
forever
cfn-init will exit and resume only after a reboot. -
none
Do not wait for this command. -
of
Wait for a specified duration after a command.- Parameters:
duration- This parameter is required.
-