Class CfnInstanceMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnInstanceMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstanceMixinProps
CfnInstanceMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnInstanceMixinProps
CfnInstanceMixinProps.Builder, CfnInstanceMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnInstanceMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInstanceMixinProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectAn array of add-ons for the instance.final StringThe Availability Zone for the instance.final StringThe blueprint ID for the instance (for example,os_amlinux_2016_03).final StringThe bundle ID for the instance (for example,micro_1_0).final ObjectThe hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.final StringThe name of the instance.final StringThe name of the key pair to use for the instance.final ObjectThe location for the instance, such as the AWS Region and Availability Zone.final ObjectThe public ports and the monthly amount of data transfer allocated for the instance.final ObjectgetState()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 StringThe optional launch script for the instance.final inthashCode()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 theCfnInstanceMixinProps.Builder.
-
-
Method Details
-
getAddOns
Description copied from interface:CfnInstanceMixinPropsAn 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInstancePropsMixin.AddOnProperty>- Specified by:
getAddOnsin interfaceCfnInstanceMixinProps- See Also:
-
getAvailabilityZone
Description copied from interface:CfnInstanceMixinPropsThe Availability Zone for the instance.- Specified by:
getAvailabilityZonein interfaceCfnInstanceMixinProps- See Also:
-
getBlueprintId
Description copied from interface:CfnInstanceMixinPropsThe blueprint ID for the instance (for example,os_amlinux_2016_03).- Specified by:
getBlueprintIdin interfaceCfnInstanceMixinProps- See Also:
-
getBundleId
Description copied from interface:CfnInstanceMixinPropsThe bundle ID for the instance (for example,micro_1_0).- Specified by:
getBundleIdin interfaceCfnInstanceMixinProps- See Also:
-
getHardware
Description copied from interface:CfnInstanceMixinPropsThe 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.
Returns union: either
IResolvableorCfnInstancePropsMixin.HardwareProperty- Specified by:
getHardwarein interfaceCfnInstanceMixinProps- See Also:
-
getInstanceName
Description copied from interface:CfnInstanceMixinPropsThe name of the instance.- Specified by:
getInstanceNamein interfaceCfnInstanceMixinProps- See Also:
-
getKeyPairName
Description copied from interface:CfnInstanceMixinPropsThe 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:
getKeyPairNamein interfaceCfnInstanceMixinProps- See Also:
-
getLocation
Description copied from interface:CfnInstanceMixinPropsThe location for the instance, such as the AWS Region and Availability Zone.The
Locationproperty is read-only and should not be specified in a create instance or update instance request.Returns union: either
IResolvableorCfnInstancePropsMixin.LocationProperty- Specified by:
getLocationin interfaceCfnInstanceMixinProps- See Also:
-
getNetworking
Description copied from interface:CfnInstanceMixinPropsThe public ports and the monthly amount of data transfer allocated for the instance.Returns union: either
IResolvableorCfnInstancePropsMixin.NetworkingProperty- Specified by:
getNetworkingin interfaceCfnInstanceMixinProps- See Also:
-
getState
Description copied from interface:CfnInstanceMixinPropsThe status code and the state (for example,running) of the instance.The
Stateproperty is read-only and should not be specified in a create instance or update instance request.Returns union: either
IResolvableorCfnInstancePropsMixin.StateProperty- Specified by:
getStatein interfaceCfnInstanceMixinProps- See Also:
-
getTags
Description copied from interface:CfnInstanceMixinPropsAn array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- Specified by:
getTagsin interfaceCfnInstanceMixinProps- See Also:
-
getUserData
Description copied from interface:CfnInstanceMixinPropsThe 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 updateas 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:
getUserDatain interfaceCfnInstanceMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-