@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) |
String |
getAgentVersion()
The default AWS OpsWorks Stacks agent version.
|
String |
getAmiId()
A custom AMI ID to be used to create the instance.
|
String |
getArchitecture()
The instance architecture.
|
String |
getAutoScalingType()
For load-based or time-based instances, the type.
|
String |
getAvailabilityZone()
The Availability Zone of the AWS OpsWorks instance, such as `us-east-2a` .
|
Object |
getBlockDeviceMappings()
An array of `BlockDeviceMapping` objects that specify the instance's block devices.
|
Object |
getEbsOptimized()
Whether to create an Amazon EBS-optimized instance.
|
List<String> |
getElasticIps()
A list of Elastic IP addresses to associate with the instance.
|
String |
getHostname()
The instance host name.
|
Object |
getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots.
|
String |
getInstanceType()
The instance type, such as `t2.micro` .
|
List<String> |
getLayerIds()
An array that contains the instance's layer IDs.
|
String |
getOs()
The instance's operating system, which must be set to one of the following.
|
String |
getRootDeviceType()
The instance root device type.
|
String |
getSshKeyName()
The instance's Amazon EC2 key-pair name.
|
String |
getStackId()
The stack ID.
|
String |
getSubnetId()
The ID of the instance's subnet.
|
String |
getTenancy()
The instance's tenancy option.
|
Object |
getTimeBasedAutoScaling()
The time-based scaling configuration for the instance.
|
String |
getVirtualizationType()
The instance's virtualization type, `paravirtual` or `hvm` .
|
List<String> |
getVolumes()
A list of AWS OpsWorks volume IDs to associate with 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 getInstanceType()
CfnInstancePropsgetInstanceType in interface CfnInstancePropspublic final List<String> getLayerIds()
CfnInstancePropsgetLayerIds in interface CfnInstancePropspublic final String getStackId()
CfnInstancePropsgetStackId in interface CfnInstancePropspublic final String getAgentVersion()
CfnInstanceProps
INHERIT - Use the stack's default agent version setting.
The default setting is INHERIT . To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions . AgentVersion cannot be set to Chef 12.2.
getAgentVersion in interface CfnInstancePropspublic final String getAmiId()
CfnInstancePropsThe AMI should be based on one of the supported operating systems. For more information, see Using Custom AMIs .
If you specify a custom AMI, you must set
OstoCustom.
getAmiId in interface CfnInstancePropspublic final String getArchitecture()
CfnInstanceProps
The default option is x86_64 . Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types .
getArchitecture in interface CfnInstancePropspublic final String getAutoScalingType()
CfnInstancePropsWindows stacks can use only time-based instances.
getAutoScalingType in interface CfnInstancePropspublic final String getAvailabilityZone()
CfnInstancePropsgetAvailabilityZone in interface CfnInstancePropspublic final Object getBlockDeviceMappings()
CfnInstancePropsFor more information, see Block Device Mapping . Note that block device mappings are not supported for custom AMIs.
getBlockDeviceMappings in interface CfnInstancePropspublic final Object getEbsOptimized()
CfnInstancePropsgetEbsOptimized in interface CfnInstancePropspublic final List<String> getElasticIps()
CfnInstancePropsgetElasticIps in interface CfnInstancePropspublic final String getHostname()
CfnInstanceProps
getHostname in interface CfnInstancePropspublic final Object getInstallUpdatesOnBoot()
CfnInstanceProps
The default value is true . To control when updates are installed, set this value to false . You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
We strongly recommend using the default value of
trueto ensure that your instances have the latest security updates.
getInstallUpdatesOnBoot in interface CfnInstancePropspublic final String getOs()
CfnInstanceProps
Amazon Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux 2015.03 .Ubuntu 18.04 LTS , Ubuntu 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS .CentOS Linux 7Red Hat Enterprise Linux 7Microsoft Windows Server 2012 R2 Base , Microsoft Windows Server 2012 R2 with SQL Server Express , Microsoft Windows Server 2012 R2 with SQL Server Standard , or Microsoft Windows Server 2012 R2 with SQL Server Web .Custom .Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see AWS OpsWorks Stacks Operating Systems .
The default option is the current Amazon Linux version. If you set this parameter to Custom , you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is Custom . For more information about how to use custom AMIs with AWS OpsWorks Stacks, see Using Custom AMIs .
getOs in interface CfnInstancePropspublic final String getRootDeviceType()
CfnInstancePropsFor more information, see Storage for the Root Device .
getRootDeviceType in interface CfnInstancePropspublic final String getSshKeyName()
CfnInstancePropsgetSshKeyName in interface CfnInstancePropspublic final String getSubnetId()
CfnInstancePropsIf the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct AWS OpsWorks Stacks to launch the instance in a different subnet.
getSubnetId in interface CfnInstancePropspublic final String getTenancy()
CfnInstanceProps
The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: dedicated , default , or host . Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see Dedicated Hosts Overview and Amazon EC2 Dedicated Hosts . For more information about dedicated instances, see Dedicated Instances and Amazon EC2 Dedicated Instances .
getTenancy in interface CfnInstancePropspublic final Object getTimeBasedAutoScaling()
CfnInstancePropsgetTimeBasedAutoScaling in interface CfnInstancePropspublic final String getVirtualizationType()
CfnInstancePropsgetVirtualizationType in interface CfnInstancePropspublic final List<String> getVolumes()
CfnInstanceProps
For more information, see AWS::OpsWorks::Volume .
getVolumes in interface CfnInstanceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.