@Stability(value=Stable) @Internal public static final class CfnLaunchTemplate.LaunchTemplateDataProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunchTemplate.LaunchTemplateDataProperty
CfnLaunchTemplate.LaunchTemplateDataPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLaunchTemplate.LaunchTemplateDataProperty.Builder, CfnLaunchTemplate.LaunchTemplateDataProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLaunchTemplate.LaunchTemplateDataProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLaunchTemplate.AcceleratorCountProperty.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 |
getBlockDeviceMappings()
The block device mapping.
|
Object |
getCapacityReservationSpecification()
The Capacity Reservation targeting option.
|
Object |
getCpuOptions()
The CPU options for the instance.
|
Object |
getCreditSpecification()
The credit option for CPU usage of the instance.
|
Object |
getDisableApiStop()
`CfnLaunchTemplate.LaunchTemplateDataProperty.DisableApiStop`.
|
Object |
getDisableApiTermination()
If you set this parameter to `true` , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
|
Object |
getEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
Object |
getElasticGpuSpecifications()
An elastic GPU to associate with the instance.
|
Object |
getElasticInferenceAccelerators()
The elastic inference accelerator for the instance.
|
Object |
getEnclaveOptions()
Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
Object |
getHibernationOptions()
Indicates whether an instance is enabled for hibernation.
|
Object |
getIamInstanceProfile()
The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
String |
getImageId()
The ID of the AMI.
|
String |
getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
|
Object |
getInstanceMarketOptions()
The market (purchasing) option for the instances.
|
Object |
getInstanceRequirements()
The attributes for the instance types.
|
String |
getInstanceType()
The instance type.
|
String |
getKernelId()
The ID of the kernel.
|
String |
getKeyName()
The name of the key pair.
|
Object |
getLicenseSpecifications()
The license configurations.
|
Object |
getMaintenanceOptions()
`CfnLaunchTemplate.LaunchTemplateDataProperty.MaintenanceOptions`.
|
Object |
getMetadataOptions()
The metadata options for the instance.
|
Object |
getMonitoring()
The monitoring for the instance.
|
Object |
getNetworkInterfaces()
One or more network interfaces.
|
Object |
getPlacement()
The placement for the instance.
|
Object |
getPrivateDnsNameOptions()
The options for the instance hostname.
|
String |
getRamDiskId()
The ID of the RAM disk.
|
List<String> |
getSecurityGroupIds()
One or more security group IDs.
|
List<String> |
getSecurityGroups()
[EC2-Classic, default VPC] One or more security group names.
|
Object |
getTagSpecifications()
The tags to apply to the resources during launch.
|
String |
getUserData()
The user data to make available to 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(CfnLaunchTemplate.LaunchTemplateDataProperty.Builder builder)
CfnLaunchTemplate.AcceleratorCountProperty.Builder.public final Object getBlockDeviceMappings()
CfnLaunchTemplate.LaunchTemplateDataPropertygetBlockDeviceMappings in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getCapacityReservationSpecification()
CfnLaunchTemplate.LaunchTemplateDataProperty
If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open , which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).
getCapacityReservationSpecification in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getCpuOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertyFor more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide .
getCpuOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getCreditSpecification()
CfnLaunchTemplate.LaunchTemplateDataPropertyValid for T2, T3, or T3a instances only.
getCreditSpecification in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getDisableApiStop()
CfnLaunchTemplate.LaunchTemplateDataPropertygetDisableApiStop in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getDisableApiTermination()
CfnLaunchTemplate.LaunchTemplateDataProperty
otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute . Alternatively, if you set InstanceInitiatedShutdownBehavior to terminate , you can terminate the instance by running the shutdown command from the instance.
getDisableApiTermination in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getEbsOptimized()
CfnLaunchTemplate.LaunchTemplateDataPropertyThis optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
getEbsOptimized in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getElasticGpuSpecifications()
CfnLaunchTemplate.LaunchTemplateDataPropertygetElasticGpuSpecifications in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getElasticInferenceAccelerators()
CfnLaunchTemplate.LaunchTemplateDataPropertygetElasticInferenceAccelerators in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getEnclaveOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertyFor more information, see What is AWS Nitro Enclaves? in the AWS Nitro Enclaves User Guide .
You can't enable AWS Nitro Enclaves and hibernation on the same instance.
getEnclaveOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getHibernationOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertyThis parameter is valid only if the instance meets the hibernation prerequisites . For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide .
getHibernationOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getIamInstanceProfile()
CfnLaunchTemplate.LaunchTemplateDataPropertygetIamInstanceProfile in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getImageId()
CfnLaunchTemplate.LaunchTemplateDataPropertygetImageId in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getInstanceInitiatedShutdownBehavior()
CfnLaunchTemplate.LaunchTemplateDataProperty
Default: stop
getInstanceInitiatedShutdownBehavior in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getInstanceMarketOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertygetInstanceMarketOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getInstanceRequirements()
CfnLaunchTemplate.LaunchTemplateDataPropertyWhen you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
If you specify InstanceRequirements , you can't specify InstanceTypes .
getInstanceRequirements in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getInstanceType()
CfnLaunchTemplate.LaunchTemplateDataProperty
If you specify InstanceTypes , you can't specify InstanceRequirements .
getInstanceType in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getKernelId()
CfnLaunchTemplate.LaunchTemplateDataPropertyWe recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide .
getKernelId in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getKeyName()
CfnLaunchTemplate.LaunchTemplateDataProperty
If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
getKeyName in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getLicenseSpecifications()
CfnLaunchTemplate.LaunchTemplateDataPropertygetLicenseSpecifications in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getMaintenanceOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertygetMaintenanceOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getMetadataOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertyFor more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide .
getMetadataOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getMonitoring()
CfnLaunchTemplate.LaunchTemplateDataPropertygetMonitoring in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getNetworkInterfaces()
CfnLaunchTemplate.LaunchTemplateDataPropertyIf you specify a network interface, you must specify any security groups and subnets as part of the network interface.
getNetworkInterfaces in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getPlacement()
CfnLaunchTemplate.LaunchTemplateDataPropertygetPlacement in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getPrivateDnsNameOptions()
CfnLaunchTemplate.LaunchTemplateDataPropertyThe default values are inherited from the subnet.
getPrivateDnsNameOptions in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getRamDiskId()
CfnLaunchTemplate.LaunchTemplateDataProperty
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User provided kernels in the Amazon Elastic Compute Cloud User Guide .
getRamDiskId in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final List<String> getSecurityGroupIds()
CfnLaunchTemplate.LaunchTemplateDataPropertyYou can create a security group using CreateSecurityGroup . You cannot specify both a security group ID and security name in the same request.
getSecurityGroupIds in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final List<String> getSecurityGroups()
CfnLaunchTemplate.LaunchTemplateDataPropertyFor a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
getSecurityGroups in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final Object getTagSpecifications()
CfnLaunchTemplate.LaunchTemplateDataPropertyYou can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch.
getTagSpecifications in interface CfnLaunchTemplate.LaunchTemplateDataPropertypublic final String getUserData()
CfnLaunchTemplate.LaunchTemplateDataPropertyYou must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands on your Linux instance at launch (Linux) or Work with instance user data (Windows) in the Amazon Elastic Compute Cloud User Guide .
If you are creating the launch template for use with AWS Batch , the user data must be provided in the MIME multi-part archive format . For more information, see Amazon EC2 user data in launch templates in the AWS Batch User Guide .
getUserData in interface CfnLaunchTemplate.LaunchTemplateDataProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.