| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.Builder |
CfnInstance.Builder.additionalInfo(String additionalInfo)
This property is reserved for internal use.
|
CfnInstance.Builder |
CfnInstance.Builder.affinity(String affinity)
Indicates whether the instance is associated with a dedicated host.
|
CfnInstance.Builder |
CfnInstance.Builder.availabilityZone(String availabilityZone)
The Availability Zone of the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.blockDeviceMappings(IResolvable blockDeviceMappings)
The block device mapping entries that defines the block devices to attach to the instance at launch.
|
CfnInstance.Builder |
CfnInstance.Builder.blockDeviceMappings(List<? extends Object> blockDeviceMappings)
The block device mapping entries that defines the block devices to attach to the instance at launch.
|
CfnInstance.Builder |
CfnInstance.Builder.cpuOptions(CfnInstance.CpuOptionsProperty cpuOptions)
The CPU options for the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.cpuOptions(IResolvable cpuOptions)
The CPU options for the instance.
|
static CfnInstance.Builder |
CfnInstance.Builder.create(software.constructs.Construct scope,
String id) |
CfnInstance.Builder |
CfnInstance.Builder.creditSpecification(CfnInstance.CreditSpecificationProperty creditSpecification)
The credit option for CPU usage of the burstable performance instance.
|
CfnInstance.Builder |
CfnInstance.Builder.creditSpecification(IResolvable creditSpecification)
The credit option for CPU usage of the burstable performance instance.
|
CfnInstance.Builder |
CfnInstance.Builder.disableApiTermination(Boolean disableApiTermination)
If you set this parameter to `true` , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
|
CfnInstance.Builder |
CfnInstance.Builder.disableApiTermination(IResolvable disableApiTermination)
If you set this parameter to `true` , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
|
CfnInstance.Builder |
CfnInstance.Builder.ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
CfnInstance.Builder |
CfnInstance.Builder.ebsOptimized(IResolvable ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
CfnInstance.Builder |
CfnInstance.Builder.elasticGpuSpecifications(IResolvable elasticGpuSpecifications)
An elastic GPU to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.elasticGpuSpecifications(List<? extends Object> elasticGpuSpecifications)
An elastic GPU to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.elasticInferenceAccelerators(IResolvable elasticInferenceAccelerators)
An elastic inference accelerator to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.elasticInferenceAccelerators(List<? extends Object> elasticInferenceAccelerators)
An elastic inference accelerator to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.enclaveOptions(CfnInstance.EnclaveOptionsProperty enclaveOptions)
Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
CfnInstance.Builder |
CfnInstance.Builder.enclaveOptions(IResolvable enclaveOptions)
Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
CfnInstance.Builder |
CfnInstance.Builder.hibernationOptions(CfnInstance.HibernationOptionsProperty hibernationOptions)
Indicates whether an instance is enabled for hibernation.
|
CfnInstance.Builder |
CfnInstance.Builder.hibernationOptions(IResolvable hibernationOptions)
Indicates whether an instance is enabled for hibernation.
|
CfnInstance.Builder |
CfnInstance.Builder.hostId(String hostId)
If you specify host for the `Affinity` property, the ID of a dedicated host that the instance is associated with.
|
CfnInstance.Builder |
CfnInstance.Builder.hostResourceGroupArn(String hostResourceGroupArn)
The ARN of the host resource group in which to launch the instances.
|
CfnInstance.Builder |
CfnInstance.Builder.iamInstanceProfile(String iamInstanceProfile)
The name of an IAM instance profile.
|
CfnInstance.Builder |
CfnInstance.Builder.imageId(String imageId)
The ID of the AMI.
|
CfnInstance.Builder |
CfnInstance.Builder.instanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
|
CfnInstance.Builder |
CfnInstance.Builder.instanceType(String instanceType)
The instance type.
|
CfnInstance.Builder |
CfnInstance.Builder.ipv6AddressCount(Number ipv6AddressCount)
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface.
|
CfnInstance.Builder |
CfnInstance.Builder.ipv6Addresses(IResolvable ipv6Addresses)
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
|
CfnInstance.Builder |
CfnInstance.Builder.ipv6Addresses(List<? extends Object> ipv6Addresses)
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
|
CfnInstance.Builder |
CfnInstance.Builder.kernelId(String kernelId)
The ID of the kernel.
|
CfnInstance.Builder |
CfnInstance.Builder.keyName(String keyName)
The name of the key pair.
|
CfnInstance.Builder |
CfnInstance.Builder.launchTemplate(CfnInstance.LaunchTemplateSpecificationProperty launchTemplate)
The launch template to use to launch the instances.
|
CfnInstance.Builder |
CfnInstance.Builder.launchTemplate(IResolvable launchTemplate)
The launch template to use to launch the instances.
|
CfnInstance.Builder |
CfnInstance.Builder.licenseSpecifications(IResolvable licenseSpecifications)
The license configurations.
|
CfnInstance.Builder |
CfnInstance.Builder.licenseSpecifications(List<? extends Object> licenseSpecifications)
The license configurations.
|
CfnInstance.Builder |
CfnInstance.Builder.monitoring(Boolean monitoring)
Specifies whether detailed monitoring is enabled for the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.monitoring(IResolvable monitoring)
Specifies whether detailed monitoring is enabled for the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.networkInterfaces(IResolvable networkInterfaces)
The network interfaces to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.networkInterfaces(List<? extends Object> networkInterfaces)
The network interfaces to associate with the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.placementGroupName(String placementGroupName)
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
|
CfnInstance.Builder |
CfnInstance.Builder.privateDnsNameOptions(CfnInstance.PrivateDnsNameOptionsProperty privateDnsNameOptions)
The options for the instance hostname.
|
CfnInstance.Builder |
CfnInstance.Builder.privateDnsNameOptions(IResolvable privateDnsNameOptions)
The options for the instance hostname.
|
CfnInstance.Builder |
CfnInstance.Builder.privateIpAddress(String privateIpAddress)
[EC2-VPC] The primary IPv4 address.
|
CfnInstance.Builder |
CfnInstance.Builder.propagateTagsToVolumeOnCreation(Boolean propagateTagsToVolumeOnCreation)
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch.
|
CfnInstance.Builder |
CfnInstance.Builder.propagateTagsToVolumeOnCreation(IResolvable propagateTagsToVolumeOnCreation)
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch.
|
CfnInstance.Builder |
CfnInstance.Builder.ramdiskId(String ramdiskId)
The ID of the RAM disk to select.
|
CfnInstance.Builder |
CfnInstance.Builder.securityGroupIds(List<String> securityGroupIds)
The IDs of the security groups.
|
CfnInstance.Builder |
CfnInstance.Builder.securityGroups(List<String> securityGroups)
[EC2-Classic, default VPC] The names of the security groups.
|
CfnInstance.Builder |
CfnInstance.Builder.sourceDestCheck(Boolean sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.
|
CfnInstance.Builder |
CfnInstance.Builder.sourceDestCheck(IResolvable sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.
|
CfnInstance.Builder |
CfnInstance.Builder.ssmAssociations(IResolvable ssmAssociations)
The SSM [document](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html) and parameter values in AWS Systems Manager to associate with this instance.
|
CfnInstance.Builder |
CfnInstance.Builder.ssmAssociations(List<? extends Object> ssmAssociations)
The SSM [document](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html) and parameter values in AWS Systems Manager to associate with this instance.
|
CfnInstance.Builder |
CfnInstance.Builder.subnetId(String subnetId)
[EC2-VPC] The ID of the subnet to launch the instance into.
|
CfnInstance.Builder |
CfnInstance.Builder.tags(List<? extends CfnTag> tags)
The tags to add to the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.tenancy(String tenancy)
The tenancy of the instance (if the instance is running in a VPC).
|
CfnInstance.Builder |
CfnInstance.Builder.userData(String userData)
The user data script to make available to the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.volumes(IResolvable volumes)
The volumes to attach to the instance.
|
CfnInstance.Builder |
CfnInstance.Builder.volumes(List<? extends Object> volumes)
The volumes to attach to the instance.
|
Copyright © 2022. All rights reserved.