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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    InitCommandWaitDuration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    InitCommandWaitDuration(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    cfn-init will exit and resume only after a reboot.
    Do not wait for this command.
    of(Duration duration)
    Wait 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, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @Stability(Stable) @NotNull public static InitCommandWaitDuration forever()
      cfn-init will exit and resume only after a reboot.
    • none

      @Stability(Stable) @NotNull public static InitCommandWaitDuration none()
      Do not wait for this command.
    • of

      @Stability(Stable) @NotNull public static InitCommandWaitDuration of(@NotNull Duration duration)
      Wait for a specified duration after a command.

      Parameters:
      duration - This parameter is required.