AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes an image attribute.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ImageAttribute
The ImageAttribute type exposes the following members
Name | Description | |
---|---|---|
![]() |
ImageAttribute() |
Name | Type | Description | |
---|---|---|---|
![]() |
BlockDeviceMappings | System.Collections.Generic.List<Amazon.EC2.Model.BlockDeviceMapping> |
Gets and sets the property BlockDeviceMappings. The block device mapping entries. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
BootMode | System.String |
Gets and sets the property BootMode. The boot mode. |
![]() |
DeregistrationProtection | System.String |
Gets and sets the property DeregistrationProtection. Indicates whether deregistration protection is enabled for the AMI. |
![]() |
Description | System.String |
Gets and sets the property Description. A description for the AMI. |
![]() |
ImageId | System.String |
Gets and sets the property ImageId. The ID of the AMI. |
![]() |
ImdsSupport | System.String |
Gets and sets the property ImdsSupport.
If |
![]() |
KernelId | System.String |
Gets and sets the property KernelId. The kernel ID. |
![]() |
LastLaunchedTime | System.String |
Gets and sets the property LastLaunchedTime. 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.
|
![]() |
LaunchPermissions | System.Collections.Generic.List<Amazon.EC2.Model.LaunchPermission> |
Gets and sets the property LaunchPermissions. The launch permissions. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
ProductCodes | System.Collections.Generic.List<Amazon.EC2.Model.ProductCode> |
Gets and sets the property ProductCodes. The product codes. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
RamdiskId | System.String |
Gets and sets the property RamdiskId. The RAM disk ID. |
![]() |
SriovNetSupport | System.String |
Gets and sets the property SriovNetSupport. Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
![]() |
TpmSupport | System.String |
Gets and sets the property TpmSupport.
If the image is configured for NitroTPM support, the value is |
![]() |
UefiData | System.String |
Gets and sets the property UefiData. Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot for Amazon EC2 instances in the Amazon EC2 User Guide. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer