Class CfnInstanceProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnInstanceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstanceProps
An implementation for CfnInstanceProps
  • 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.lightsail.CfnInstanceProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnInstanceProps.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 Object
    An array of add-ons for the instance.
    final String
    The Availability Zone for the instance.
    final String
    The blueprint ID for the instance (for example, os_amlinux_2016_03 ).
    final String
    The bundle ID for the instance (for example, micro_1_0 ).
    final Object
    The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
    final String
    The name of the instance.
    final String
    The name of the key pair to use for the instance.
    final Object
    The location for the instance, such as the AWS Region and Availability Zone.
    final Object
    The public ports and the monthly amount of data transfer allocated for the instance.
    final Object
    The status code and the state (for example, running ) of the instance.
    final List<CfnTag>
    An array of key-value pairs to apply to this resource.
    final String
    The optional launch script for the instance.
    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(CfnInstanceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnInstanceProps.Builder.
  • Method Details

    • getBlueprintId

      public final String getBlueprintId()
      Description copied from interface: CfnInstanceProps
      The blueprint ID for the instance (for example, os_amlinux_2016_03 ).
      Specified by:
      getBlueprintId in interface CfnInstanceProps
    • getBundleId

      public final String getBundleId()
      Description copied from interface: CfnInstanceProps
      The bundle ID for the instance (for example, micro_1_0 ).
      Specified by:
      getBundleId in interface CfnInstanceProps
    • getInstanceName

      public final String getInstanceName()
      Description copied from interface: CfnInstanceProps
      The name of the instance.
      Specified by:
      getInstanceName in interface CfnInstanceProps
    • getAddOns

      public final Object getAddOns()
      Description copied from interface: CfnInstanceProps
      An array of add-ons for the instance.

      If the instance has an add-on enabled when performing a delete instance request, the add-on is automatically disabled before the instance is deleted.

      Specified by:
      getAddOns in interface CfnInstanceProps
    • getAvailabilityZone

      public final String getAvailabilityZone()
      Description copied from interface: CfnInstanceProps
      The Availability Zone for the instance.
      Specified by:
      getAvailabilityZone in interface CfnInstanceProps
    • getHardware

      public final Object getHardware()
      Description copied from interface: CfnInstanceProps
      The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.

      The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.

      Specified by:
      getHardware in interface CfnInstanceProps
    • getKeyPairName

      public final String getKeyPairName()
      Description copied from interface: CfnInstanceProps
      The name of the key pair to use for the instance.

      If no key pair name is specified, the Regional Lightsail default key pair is used.

      Specified by:
      getKeyPairName in interface CfnInstanceProps
    • getLocation

      public final Object getLocation()
      Description copied from interface: CfnInstanceProps
      The location for the instance, such as the AWS Region and Availability Zone.

      The Location property is read-only and should not be specified in a create instance or update instance request.

      Specified by:
      getLocation in interface CfnInstanceProps
    • getNetworking

      public final Object getNetworking()
      Description copied from interface: CfnInstanceProps
      The public ports and the monthly amount of data transfer allocated for the instance.
      Specified by:
      getNetworking in interface CfnInstanceProps
    • getState

      public final Object getState()
      Description copied from interface: CfnInstanceProps
      The status code and the state (for example, running ) of the instance.

      The State property is read-only and should not be specified in a create instance or update instance request.

      Specified by:
      getState in interface CfnInstanceProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnInstanceProps
      An array of key-value pairs to apply to this resource.

      For more information, see Tag in the AWS CloudFormation User Guide .

      The Value of Tags is optional for Lightsail resources.

      Specified by:
      getTags in interface CfnInstanceProps
    • getUserData

      public final String getUserData()
      Description copied from interface: CfnInstanceProps
      The optional launch script for the instance.

      Specify a launch script to configure an instance with additional user data. For example, you might want to specify apt-get -y update as a launch script.

      Depending on the blueprint of your instance, the command to get software on your instance varies. Amazon Linux and CentOS use yum , Debian and Ubuntu use apt-get , and FreeBSD uses pkg .

      Specified by:
      getUserData in interface CfnInstanceProps
    • $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