AwsEc2ImagePropertiesArgs

data class AwsEc2ImagePropertiesArgs(val architecture: Output<ArchitectureValuesEnumValueArgs>? = null, val blockDeviceMappings: Output<List<BlockDeviceMappingArgs>>? = null, val bootMode: Output<BootModeValuesEnumValueArgs>? = null, val creationDate: Output<String>? = null, val deprecationTime: Output<String>? = null, val deregistrationProtection: Output<String>? = null, val description: Output<String>? = null, val enaSupport: Output<Boolean>? = null, val hypervisor: Output<HypervisorTypeEnumValueArgs>? = null, val imageId: Output<String>? = null, val imageLocation: Output<String>? = null, val imageOwnerAlias: Output<String>? = null, val imageType: Output<ImageTypeValuesEnumValueArgs>? = null, val imdsSupport: Output<ImdsSupportValuesEnumValueArgs>? = null, val kernelId: Output<String>? = null, val lastLaunchedTime: Output<String>? = null, val name: Output<String>? = null, val ownerId: Output<String>? = null, val platform: Output<PlatformValuesEnumValueArgs>? = null, val platformDetails: Output<String>? = null, val productCodes: Output<List<ProductCodeArgs>>? = null, val public: Output<Boolean>? = null, val ramdiskId: Output<String>? = null, val rootDeviceName: Output<String>? = null, val rootDeviceType: Output<DeviceTypeEnumValueArgs>? = null, val sourceInstanceId: Output<String>? = null, val sriovNetSupport: Output<String>? = null, val state: Output<ImageStateEnumValueArgs>? = null, val stateReason: Output<StateReasonArgs>? = null, val tags: Output<List<TagArgs>>? = null, val tpmSupport: Output<TpmSupportValuesEnumValueArgs>? = null, val usageOperation: Output<String>? = null, val virtualizationType: Output<VirtualizationTypeEnumValueArgs>? = null) : ConvertibleToJava<AwsEc2ImagePropertiesArgs>

Definition of awsEc2Image

Constructors

Link copied to clipboard
constructor(architecture: Output<ArchitectureValuesEnumValueArgs>? = null, blockDeviceMappings: Output<List<BlockDeviceMappingArgs>>? = null, bootMode: Output<BootModeValuesEnumValueArgs>? = null, creationDate: Output<String>? = null, deprecationTime: Output<String>? = null, deregistrationProtection: Output<String>? = null, description: Output<String>? = null, enaSupport: Output<Boolean>? = null, hypervisor: Output<HypervisorTypeEnumValueArgs>? = null, imageId: Output<String>? = null, imageLocation: Output<String>? = null, imageOwnerAlias: Output<String>? = null, imageType: Output<ImageTypeValuesEnumValueArgs>? = null, imdsSupport: Output<ImdsSupportValuesEnumValueArgs>? = null, kernelId: Output<String>? = null, lastLaunchedTime: Output<String>? = null, name: Output<String>? = null, ownerId: Output<String>? = null, platform: Output<PlatformValuesEnumValueArgs>? = null, platformDetails: Output<String>? = null, productCodes: Output<List<ProductCodeArgs>>? = null, public: Output<Boolean>? = null, ramdiskId: Output<String>? = null, rootDeviceName: Output<String>? = null, rootDeviceType: Output<DeviceTypeEnumValueArgs>? = null, sourceInstanceId: Output<String>? = null, sriovNetSupport: Output<String>? = null, state: Output<ImageStateEnumValueArgs>? = null, stateReason: Output<StateReasonArgs>? = null, tags: Output<List<TagArgs>>? = null, tpmSupport: Output<TpmSupportValuesEnumValueArgs>? = null, usageOperation: Output<String>? = null, virtualizationType: Output<VirtualizationTypeEnumValueArgs>? = null)

Properties

Link copied to clipboard

The architecture of the image.

Link copied to clipboard

Any block device mapping entries.

Link copied to clipboard

The boot mode of the image. For more information, see Boot modes in the Amazon EC2 User Guide.

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

The date and time the image was created.

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

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

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

Indicates whether deregistration protection is enabled for the AMI.

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

The description of the AMI that was provided during image creation.

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

Specifies whether enhanced networking with ENA is enabled.

Link copied to clipboard

The hypervisor type of the image. Only xen is supported. ovm is not supported.

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

The ID of the AMI.

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

The location of the AMI.

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

The owner alias (amazon | aws-marketplace).

Link copied to clipboard

The type of image.

Link copied to clipboard

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

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

The kernel associated with the image, if any. Only applicable for machine images.

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

The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.

lastLaunchedTime data is available starting April 2017.

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

The name of the AMI that was provided during image creation.

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

The ID of the Amazon Web Services account that owns the image.

Link copied to clipboard

This value is set to windows for Windows AMIs; otherwise, it is blank.

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

The platform details associated with the billing code of the AMI. For more information, see Understand AMI billing information in the Amazon EC2 User Guide.

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

Any product codes associated with the AMI.

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

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

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

The RAM disk associated with the image, if any. Only applicable for machine images.

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 type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

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

The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage.

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<ImageStateEnumValueArgs>? = null

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

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

The reason for the state change.

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

Any tags assigned to the image.

Link copied to clipboard

If the image 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 operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price List API. You can view these fields on the Instances or AMIs pages in the Amazon EC2 console, or in the responses that are returned by the DescribeImages command in the Amazon EC2 API, or the describe-images command in the CLI.

Link copied to clipboard

The type of virtualization of the AMI.

Functions

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