@Stability(value=Stable) @Internal public static final class CfnInstanceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstanceProps
CfnInstancePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnInstanceProps.Builder, CfnInstanceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnInstanceProps.Builder builder)
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.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAddOns()
An array of add-ons for the instance.
|
String |
getAvailabilityZone()
The Availability Zone for the instance.
|
String |
getBlueprintId()
The blueprint ID for the instance (for example, `os_amlinux_2016_03` ).
|
String |
getBundleId()
The bundle ID for the instance (for example, `micro_1_0` ).
|
Object |
getHardware()
The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
|
String |
getInstanceName()
The name of the instance.
|
String |
getKeyPairName()
The name of the key pair to use for the instance.
|
Object |
getNetworking()
The public ports and the monthly amount of data transfer allocated for the instance.
|
List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getUserData()
The optional launch script for the instance.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnInstanceProps.Builder builder)
CfnInstanceProps.Builder.public final String getBlueprintId()
CfnInstancePropsgetBlueprintId in interface CfnInstancePropspublic final String getBundleId()
CfnInstancePropsgetBundleId in interface CfnInstancePropspublic final String getInstanceName()
CfnInstancePropsgetInstanceName in interface CfnInstancePropspublic final Object getAddOns()
CfnInstanceProps
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.
getAddOns in interface CfnInstancePropspublic final String getAvailabilityZone()
CfnInstancePropsgetAvailabilityZone in interface CfnInstancePropspublic final Object getHardware()
CfnInstanceProps
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.
getHardware in interface CfnInstancePropspublic final String getKeyPairName()
CfnInstancePropsIf no key pair name is specified, the Regional Lightsail default key pair is used.
getKeyPairName in interface CfnInstancePropspublic final Object getNetworking()
CfnInstancePropsgetNetworking in interface CfnInstancePropspublic final List<CfnTag> getTags()
CfnInstancePropsFor more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.
getTags in interface CfnInstancePropspublic final String getUserData()
CfnInstanceProps
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 useapt-get, and FreeBSD usespkg.
getUserData in interface CfnInstanceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.