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.
Information about the AMI.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ImageMetadata
The ImageMetadata type exposes the following members
| Name | Description | |
|---|---|---|
|
ImageMetadata() |
| Name | Type | Description | |
|---|---|---|---|
|
CreationDate | System.String |
Gets and sets the property CreationDate. The date and time the AMI was created. |
|
DeprecationTime | System.String |
Gets and sets the property DeprecationTime. The deprecation date and time of the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. |
|
ImageAllowed | System.Nullable<System.Boolean> |
Gets and sets the property ImageAllowed.
If For more information, see Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs in Amazon EC2 User Guide. |
|
ImageId | System.String |
Gets and sets the property ImageId. The ID of the AMI. |
|
ImageOwnerAlias | System.String |
Gets and sets the property ImageOwnerAlias. The alias of the AMI owner.
Valid values: |
|
ImageWatermarks | System.Collections.Generic.List<Amazon.EC2.Model.ImageWatermark> |
Gets and sets the property ImageWatermarks. The watermarks attached to the AMI. 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. |
|
IsPublic | System.Nullable<System.Boolean> |
Gets and sets the property IsPublic.
Indicates whether the AMI has public launch permissions. A value of |
|
Name | System.String |
Gets and sets the property Name. The name of the AMI. |
|
OwnerId | System.String |
Gets and sets the property OwnerId. The ID of the Amazon Web Services account that owns the AMI. |
|
State | Amazon.EC2.ImageState |
Gets and sets the property State.
The current state of the AMI. If the state is |
.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