Class WindowsUserDataOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.WindowsUserDataOptions.Jsii$Proxy
All Implemented Interfaces:
WindowsUserDataOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
WindowsUserDataOptions

@Stability(Stable) @Internal public static final class WindowsUserDataOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WindowsUserDataOptions
An implementation for WindowsUserDataOptions
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.WindowsUserDataOptions

    WindowsUserDataOptions.Builder, WindowsUserDataOptions.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the WindowsUserDataOptions.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    Set to true to set this userdata to persist through an instance reboot;
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(WindowsUserDataOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the WindowsUserDataOptions.Builder.
  • Method Details

    • getPersist

      public final Boolean getPersist()
      Description copied from interface: WindowsUserDataOptions
      Set to true to set this userdata to persist through an instance reboot;

      allowing it to run on every instance start. By default, UserData is run only once during the first instance launch.

      For more information, see: https://aws.amazon.com/premiumsupport/knowledge-center/execute-user-data-ec2/ https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html#user-data-scripts

      Default: false

      Specified by:
      getPersist in interface WindowsUserDataOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object