Class CfnLaunchTemplate.LaunchTemplateDataProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplate.LaunchTemplateDataProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnLaunchTemplate.LaunchTemplateDataProperty
CfnLaunchTemplate.LaunchTemplateDataProperty-
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.services.ec2.CfnLaunchTemplate.LaunchTemplateDataProperty
CfnLaunchTemplate.LaunchTemplateDataProperty.Builder, CfnLaunchTemplate.LaunchTemplateDataProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.LaunchTemplateDataProperty.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 ObjectThe block device mapping.final ObjectThe Capacity Reservation targeting option.final ObjectThe CPU options for the instance.final ObjectThe credit option for CPU usage of the instance.final ObjectIndicates whether to enable the instance for stop protection.final ObjectIf you set this parameter totrue, you can't terminate the instance using the Amazon EC2 console, CLI, or API;final ObjectIndicates whether the instance is optimized for Amazon EBS I/O.final ObjectAn elastic GPU to associate with the instance.final ObjectThe elastic inference accelerator for the instance.final ObjectIndicates whether the instance is enabled for AWS Nitro Enclaves.final ObjectIndicates whether an instance is enabled for hibernation.final ObjectThe name or Amazon Resource Name (ARN) of an IAM instance profile.final StringThe ID of the AMI.final StringIndicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).final ObjectThe market (purchasing) option for the instances.final ObjectThe attributes for the instance types.final StringThe instance type.final StringThe ID of the kernel.final StringThe name of the key pair.final ObjectThe license configurations.final ObjectThe maintenance options of your instance.final ObjectThe metadata options for the instance.final ObjectThe monitoring for the instance.final ObjectOne or more network interfaces.final ObjectThe placement for the instance.final ObjectThe hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled.final StringThe ID of the RAM disk.The IDs of the security groups.One or more security group names.final ObjectThe tags to apply to the resources that are created during instance launch.final StringThe user data to make available to 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 theCfnLaunchTemplate.LaunchTemplateDataProperty.Builder.
-
-
Method Details
-
getBlockDeviceMappings
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe block device mapping.- Specified by:
getBlockDeviceMappingsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getCapacityReservationSpecification
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe Capacity Reservation targeting option.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).- Specified by:
getCapacityReservationSpecificationin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getCpuOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe CPU options for the instance.For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide .
- Specified by:
getCpuOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getCreditSpecification
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe credit option for CPU usage of the instance.Valid only for T instances.
- Specified by:
getCreditSpecificationin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getDisableApiStop
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIndicates whether to enable the instance for stop protection.For more information, see Stop protection in the Amazon Elastic Compute Cloud User Guide .
- Specified by:
getDisableApiStopin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getDisableApiTermination
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIf you set this parameter totrue, you can't terminate the instance using the Amazon EC2 console, CLI, or API;otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute . Alternatively, if you set
InstanceInitiatedShutdownBehaviortoterminate, you can terminate the instance by running the shutdown command from the instance.- Specified by:
getDisableApiTerminationin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getEbsOptimized
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIndicates whether the instance is optimized for Amazon EBS I/O.This 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.
- Specified by:
getEbsOptimizedin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getElasticGpuSpecifications
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyAn elastic GPU to associate with the instance.- Specified by:
getElasticGpuSpecificationsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getElasticInferenceAccelerators
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe elastic inference accelerator for the instance.- Specified by:
getElasticInferenceAcceleratorsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getEnclaveOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIndicates whether the instance is enabled for AWS Nitro Enclaves.For 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.
- Specified by:
getEnclaveOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getHibernationOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIndicates whether an instance is enabled for hibernation.This 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 .
- Specified by:
getHibernationOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getIamInstanceProfile
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe name or Amazon Resource Name (ARN) of an IAM instance profile.- Specified by:
getIamInstanceProfilein interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getImageId
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe ID of the AMI.Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch.
Valid formats:
ami-17characters00000resolve:ssm:parameter-nameresolve:ssm:parameter-name:version-numberresolve:ssm:parameter-name:label
For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide .
- Specified by:
getImageIdin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getInstanceInitiatedShutdownBehavior
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyIndicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).Default:
stop- Specified by:
getInstanceInitiatedShutdownBehaviorin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getInstanceMarketOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe market (purchasing) option for the instances.- Specified by:
getInstanceMarketOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getInstanceRequirements
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe attributes for the instance types.When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
If you specify
InstanceRequirements, you can't specifyInstanceType.- Specified by:
getInstanceRequirementsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getInstanceType
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe instance type. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide .If you specify
InstanceType, you can't specifyInstanceRequirements.- Specified by:
getInstanceTypein interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getKernelId
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe ID of the kernel.We 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 .
- Specified by:
getKernelIdin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getKeyName
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair .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.
- Specified by:
getKeyNamein interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getLicenseSpecifications
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe license configurations.- Specified by:
getLicenseSpecificationsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getMaintenanceOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe maintenance options of your instance.- Specified by:
getMaintenanceOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getMetadataOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe metadata options for the instance.For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide .
- Specified by:
getMetadataOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getMonitoring
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe monitoring for the instance.- Specified by:
getMonitoringin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getNetworkInterfaces
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyOne or more network interfaces.If you specify a network interface, you must specify any security groups and subnets as part of the network interface.
- Specified by:
getNetworkInterfacesin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getPlacement
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe placement for the instance.- Specified by:
getPlacementin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getPrivateDnsNameOptions
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled.For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide .
- Specified by:
getPrivateDnsNameOptionsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getRamDiskId
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe ID of the RAM disk.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 .
- Specified by:
getRamDiskIdin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getSecurityGroupIds
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe IDs of the security groups.You can specify the IDs of existing security groups and references to resources created by the stack template.
- Specified by:
getSecurityGroupIdsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getSecurityGroups
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyOne or more security group names.For 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.
- Specified by:
getSecurityGroupsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getTagSpecifications
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe tags to apply to the resources that are created during instance launch.You can specify tags for the following resources only:
- Instances
- Volumes
- Elastic graphics
- Spot Instance requests
- Network interfaces
To tag a resource after it has been created, see CreateTags .
To tag the launch template itself, you must use the TagSpecification parameter.
- Specified by:
getTagSpecificationsin interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
getUserData
Description copied from interface:CfnLaunchTemplate.LaunchTemplateDataPropertyThe user data to make available to the instance.You 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 .
- Specified by:
getUserDatain interfaceCfnLaunchTemplate.LaunchTemplateDataProperty
-
$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()
-