Class CfnInstanceProps.Jsii$Proxy
- All Implemented Interfaces:
CfnInstanceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnInstanceProps
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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnInstanceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInstanceProps.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 TypeMethodDescriptioncom.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
getState()
The status code and the state (for example,running
) of the instance.getTags()
An array of key-value pairs to apply to this resource.final String
The optional launch script for the instance.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnInstanceProps.Builder
.
-
-
Method Details
-
getBlueprintId
Description copied from interface:CfnInstanceProps
The blueprint ID for the instance (for example,os_amlinux_2016_03
).- Specified by:
getBlueprintId
in interfaceCfnInstanceProps
-
getBundleId
Description copied from interface:CfnInstanceProps
The bundle ID for the instance (for example,micro_1_0
).- Specified by:
getBundleId
in interfaceCfnInstanceProps
-
getInstanceName
Description copied from interface:CfnInstanceProps
The name of the instance.- Specified by:
getInstanceName
in interfaceCfnInstanceProps
-
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 interfaceCfnInstanceProps
-
getAvailabilityZone
Description copied from interface:CfnInstanceProps
The Availability Zone for the instance.- Specified by:
getAvailabilityZone
in interfaceCfnInstanceProps
-
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 interfaceCfnInstanceProps
-
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 interfaceCfnInstanceProps
-
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 interfaceCfnInstanceProps
-
getNetworking
Description copied from interface:CfnInstanceProps
The public ports and the monthly amount of data transfer allocated for the instance.- Specified by:
getNetworking
in interfaceCfnInstanceProps
-
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 interfaceCfnInstanceProps
-
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
ofTags
is optional for Lightsail resources.- Specified by:
getTags
in interfaceCfnInstanceProps
-
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 useapt-get
, and FreeBSD usespkg
.- Specified by:
getUserData
in interfaceCfnInstanceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-