#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Image
Implementations
The architecture of the image.
The architecture of the image.
The date and time the image was created.
The date and time the image was created.
The ID of the AMI.
The location of the AMI.
The location of the AMI.
The type of image.
The type of image.
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.
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.
The kernel associated with the image, if any. Only applicable for machine images.
The kernel associated with the image, if any. Only applicable for machine images.
The ID of the Amazon Web Services account that owns the image.
The ID of the Amazon Web Services account that owns the image.
This value is set to windows
for Windows AMIs; otherwise, it is blank.
This value is set to windows
for Windows AMIs; otherwise, it is blank.
The platform details associated with the billing code of the AMI. For more information, see Understanding AMI billing in the Amazon Elastic Compute Cloud User Guide.
The platform details associated with the billing code of the AMI. For more information, see Understanding AMI billing in the Amazon Elastic Compute Cloud User Guide.
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.
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.
Appends an item to product_codes
.
To override the contents of this collection use set_product_codes
.
Any product codes associated with the AMI.
Any product codes associated with the AMI.
The RAM disk associated with the image, if any. Only applicable for machine images.
The RAM disk associated with the image, if any. Only applicable for machine images.
The current state of the AMI. If the state is available
, the image is successfully registered and can be used to launch an instance.
The current state of the AMI. If the state is available
, the image is successfully registered and can be used to launch an instance.
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
Any block device mapping entries.
Any block device mapping entries.
The description of the AMI that was provided during image creation.
The description of the AMI that was provided during image creation.
Specifies whether enhanced networking with ENA is enabled.
Specifies whether enhanced networking with ENA is enabled.
The hypervisor type of the image.
The hypervisor type of the image.
The Amazon Web Services account alias (for example, amazon
, self
) or the Amazon Web Services account ID of the AMI owner.
The Amazon Web Services account alias (for example, amazon
, self
) or the Amazon Web Services account ID of the AMI owner.
The name of the AMI that was provided during image creation.
The name of the AMI that was provided during image creation.
The device name of the root device volume (for example, /dev/sda1
).
The device name of the root device volume (for example, /dev/sda1
).
The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
The reason for the state change.
The reason for the state change.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the image.
Any tags assigned to the image.
The type of virtualization of the AMI.
The type of virtualization of the AMI.
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
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.
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more