AwsEc2InstancePropertiesArgs

data class AwsEc2InstancePropertiesArgs(val amiLaunchIndex: Output<Int>? = null, val architecture: Output<ArchitectureValuesEnumValueArgs>? = null, val blockDeviceMappings: Output<List<InstanceBlockDeviceMappingArgs>>? = null, val bootMode: Output<BootModeValuesEnumValueArgs>? = null, val capacityReservationId: Output<String>? = null, val capacityReservationSpecification: Output<CapacityReservationSpecificationResponseArgs>? = null, val clientToken: Output<String>? = null, val cpuOptions: Output<CpuOptionsArgs>? = null, val currentInstanceBootMode: Output<InstanceBootModeValuesEnumValueArgs>? = null, val ebsOptimized: Output<Boolean>? = null, val elasticGpuAssociations: Output<List<ElasticGpuAssociationArgs>>? = null, val elasticInferenceAcceleratorAssociations: Output<List<ElasticInferenceAcceleratorAssociationArgs>>? = null, val enaSupport: Output<Boolean>? = null, val enclaveOptions: Output<EnclaveOptionsArgs>? = null, val hibernationOptions: Output<HibernationOptionsArgs>? = null, val hypervisor: Output<HypervisorTypeEnumValueArgs>? = null, val iamInstanceProfile: Output<IamInstanceProfileArgs>? = null, val imageId: Output<String>? = null, val instanceId: Output<String>? = null, val instanceLifecycle: Output<InstanceLifecycleTypeEnumValueArgs>? = null, val instanceType: Output<InstanceTypeEnumValueArgs>? = null, val ipv6Address: Output<String>? = null, val kernelId: Output<String>? = null, val keyName: Output<String>? = null, val launchTime: Output<String>? = null, val licenses: Output<List<LicenseConfigurationArgs>>? = null, val maintenanceOptions: Output<InstanceMaintenanceOptionsArgs>? = null, val metadataOptions: Output<InstanceMetadataOptionsResponseArgs>? = null, val monitoring: Output<MonitoringArgs>? = null, val networkInterfaces: Output<List<InstanceNetworkInterfaceArgs>>? = null, val outpostArn: Output<String>? = null, val placement: Output<PlacementArgs>? = null, val platform: Output<PlatformValuesEnumValueArgs>? = null, val platformDetails: Output<String>? = null, val privateDnsName: Output<String>? = null, val privateDnsNameOptions: Output<PrivateDnsNameOptionsResponseArgs>? = null, val privateIpAddress: Output<String>? = null, val productCodes: Output<List<ProductCodeArgs>>? = null, val publicDnsName: Output<String>? = null, val publicIpAddress: Output<String>? = null, val ramdiskId: Output<String>? = null, val rootDeviceName: Output<String>? = null, val rootDeviceType: Output<DeviceTypeEnumValueArgs>? = null, val securityGroups: Output<List<GroupIdentifierArgs>>? = null, val sourceDestCheck: Output<Boolean>? = null, val spotInstanceRequestId: Output<String>? = null, val sriovNetSupport: Output<String>? = null, val state: Output<InstanceStateArgs>? = null, val stateReason: Output<StateReasonArgs>? = null, val stateTransitionReason: Output<String>? = null, val subnetId: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val tpmSupport: Output<String>? = null, val usageOperation: Output<String>? = null, val usageOperationUpdateTime: Output<String>? = null, val virtualizationType: Output<VirtualizationTypeEnumValueArgs>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<AwsEc2InstancePropertiesArgs>

Definition of awsEc2Instance

Constructors

Link copied to clipboard
constructor(amiLaunchIndex: Output<Int>? = null, architecture: Output<ArchitectureValuesEnumValueArgs>? = null, blockDeviceMappings: Output<List<InstanceBlockDeviceMappingArgs>>? = null, bootMode: Output<BootModeValuesEnumValueArgs>? = null, capacityReservationId: Output<String>? = null, capacityReservationSpecification: Output<CapacityReservationSpecificationResponseArgs>? = null, clientToken: Output<String>? = null, cpuOptions: Output<CpuOptionsArgs>? = null, currentInstanceBootMode: Output<InstanceBootModeValuesEnumValueArgs>? = null, ebsOptimized: Output<Boolean>? = null, elasticGpuAssociations: Output<List<ElasticGpuAssociationArgs>>? = null, elasticInferenceAcceleratorAssociations: Output<List<ElasticInferenceAcceleratorAssociationArgs>>? = null, enaSupport: Output<Boolean>? = null, enclaveOptions: Output<EnclaveOptionsArgs>? = null, hibernationOptions: Output<HibernationOptionsArgs>? = null, hypervisor: Output<HypervisorTypeEnumValueArgs>? = null, iamInstanceProfile: Output<IamInstanceProfileArgs>? = null, imageId: Output<String>? = null, instanceId: Output<String>? = null, instanceLifecycle: Output<InstanceLifecycleTypeEnumValueArgs>? = null, instanceType: Output<InstanceTypeEnumValueArgs>? = null, ipv6Address: Output<String>? = null, kernelId: Output<String>? = null, keyName: Output<String>? = null, launchTime: Output<String>? = null, licenses: Output<List<LicenseConfigurationArgs>>? = null, maintenanceOptions: Output<InstanceMaintenanceOptionsArgs>? = null, metadataOptions: Output<InstanceMetadataOptionsResponseArgs>? = null, monitoring: Output<MonitoringArgs>? = null, networkInterfaces: Output<List<InstanceNetworkInterfaceArgs>>? = null, outpostArn: Output<String>? = null, placement: Output<PlacementArgs>? = null, platform: Output<PlatformValuesEnumValueArgs>? = null, platformDetails: Output<String>? = null, privateDnsName: Output<String>? = null, privateDnsNameOptions: Output<PrivateDnsNameOptionsResponseArgs>? = null, privateIpAddress: Output<String>? = null, productCodes: Output<List<ProductCodeArgs>>? = null, publicDnsName: Output<String>? = null, publicIpAddress: Output<String>? = null, ramdiskId: Output<String>? = null, rootDeviceName: Output<String>? = null, rootDeviceType: Output<DeviceTypeEnumValueArgs>? = null, securityGroups: Output<List<GroupIdentifierArgs>>? = null, sourceDestCheck: Output<Boolean>? = null, spotInstanceRequestId: Output<String>? = null, sriovNetSupport: Output<String>? = null, state: Output<InstanceStateArgs>? = null, stateReason: Output<StateReasonArgs>? = null, stateTransitionReason: Output<String>? = null, subnetId: Output<String>? = null, tags: Output<List<TagArgs>>? = null, tpmSupport: Output<String>? = null, usageOperation: Output<String>? = null, usageOperationUpdateTime: Output<String>? = null, virtualizationType: Output<VirtualizationTypeEnumValueArgs>? = null, vpcId: Output<String>? = null)

Properties

Link copied to clipboard
val amiLaunchIndex: Output<Int>? = null

The AMI launch index, which can be used to find this instance in the launch group.

Link copied to clipboard

The architecture of the image.

Link copied to clipboard

Any block device mapping entries for the instance.

Link copied to clipboard

The boot mode that was specified by the AMI. If the value is uefi-preferred, the AMI supports both UEFI and Legacy BIOS. The currentInstanceBootMode parameter is the boot mode that is used to boot the instance at launch or start.

The operating system contained in the AMI must be configured to support the specified boot mode.

For more information, see Boot modes in the Amazon EC2 User Guide.

Link copied to clipboard
val capacityReservationId: Output<String>? = null

The ID of the Capacity Reservation.

Link copied to clipboard

Information about the Capacity Reservation targeting option.

Link copied to clipboard
val clientToken: Output<String>? = null

The idempotency token you provided when you launched the instance, if applicable.

Link copied to clipboard
val cpuOptions: Output<CpuOptionsArgs>? = null

The CPU options for the instance.

Link copied to clipboard

The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.

Link copied to clipboard
val ebsOptimized: Output<Boolean>? = null

Indicates 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 I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Link copied to clipboard

Deprecated.

Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.

Link copied to clipboard

The elastic inference accelerator associated with the instance.

Link copied to clipboard
val enaSupport: Output<Boolean>? = null

Specifies whether enhanced networking with ENA is enabled.

Link copied to clipboard
val enclaveOptions: Output<EnclaveOptionsArgs>? = null

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

Link copied to clipboard

Indicates whether the instance is enabled for hibernation.

Link copied to clipboard

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Link copied to clipboard

The IAM instance profile associated with the instance, if applicable.

Link copied to clipboard
val imageId: Output<String>? = null

The ID of the AMI used to launch the instance.

Link copied to clipboard
val instanceId: Output<String>? = null

The ID of the instance.

Link copied to clipboard

Indicates whether this is a Spot Instance or a Scheduled Instance.

Link copied to clipboard

The instance type.

Link copied to clipboard
val ipv6Address: Output<String>? = null

The IPv6 address assigned to the instance.

Link copied to clipboard
val kernelId: Output<String>? = null

The kernel associated with this instance, if applicable.

Link copied to clipboard
val keyName: Output<String>? = null

The name of the key pair, if this instance was launched with an associated key pair.

Link copied to clipboard
val launchTime: Output<String>? = null

The time the instance was launched.

Link copied to clipboard
val licenses: Output<List<LicenseConfigurationArgs>>? = null

The license configurations for the instance.

Link copied to clipboard

Provides information on the recovery and maintenance options of your instance.

Link copied to clipboard

The metadata options for the instance.

Link copied to clipboard
val monitoring: Output<MonitoringArgs>? = null

The monitoring for the instance.

Link copied to clipboard

The network interfaces for the instance.

Link copied to clipboard
val outpostArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Outpost.

Link copied to clipboard
val placement: Output<PlacementArgs>? = null

The location where the instance launched, if applicable.

Link copied to clipboard

The platform. This value is windows for Windows instances; otherwise, it is empty.

Link copied to clipboard
val platformDetails: Output<String>? = null

The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

Link copied to clipboard
val privateDnsName: Output<String>? = null

[IPv4 only] The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Link copied to clipboard

The options for the instance hostname.

Link copied to clipboard
val privateIpAddress: Output<String>? = null

The private IPv4 address assigned to the instance.

Link copied to clipboard
val productCodes: Output<List<ProductCodeArgs>>? = null

The product codes attached to this instance, if applicable.

Link copied to clipboard
val publicDnsName: Output<String>? = null

[IPv4 only] The public DNS name assigned to the instance. This name is not available until the instance enters the running state. This name is only available if you've enabled DNS hostnames for your VPC.

Link copied to clipboard
val publicIpAddress: Output<String>? = null

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Link copied to clipboard
val ramdiskId: Output<String>? = null

The RAM disk associated with this instance, if applicable.

Link copied to clipboard
val rootDeviceName: Output<String>? = null

The device name of the root device volume (for example, /dev/sda1).

Link copied to clipboard

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Link copied to clipboard

The security groups for the instance.

Link copied to clipboard
val sourceDestCheck: Output<Boolean>? = null

Indicates whether source/destination checking is enabled.

Link copied to clipboard
val spotInstanceRequestId: Output<String>? = null

If the request is a Spot Instance request, the ID of the request.

Link copied to clipboard
val sriovNetSupport: Output<String>? = null

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Link copied to clipboard
val state: Output<InstanceStateArgs>? = null

The current state of the instance.

Link copied to clipboard
val stateReason: Output<StateReasonArgs>? = null

The reason for the most recent state transition.

Link copied to clipboard
val stateTransitionReason: Output<String>? = null

The reason for the most recent state transition. This might be an empty string.

Link copied to clipboard
val subnetId: Output<String>? = null

The ID of the subnet in which the instance is running.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

Any tags assigned to the instance.

Link copied to clipboard
val tpmSupport: Output<String>? = null

If the instance is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the Amazon EC2 User Guide.

Link copied to clipboard
val usageOperation: Output<String>? = null

The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

Link copied to clipboard
val usageOperationUpdateTime: Output<String>? = null

The time that the usage operation was last updated.

Link copied to clipboard

The virtualization type of the instance.

Link copied to clipboard
val vpcId: Output<String>? = null

The ID of the VPC in which the instance is running.

Functions

Link copied to clipboard
open override fun toJava(): AwsEc2InstancePropertiesArgs