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.
AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ModifyImageAttributeRequest : AmazonEC2Request IRequestEvents
The ModifyImageAttributeRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ModifyImageAttributeRequest() | Empty constructor used to set properties independently even when a simple constructor is available |
![]() |
ModifyImageAttributeRequest(string, string) | Instantiates ModifyImageAttributeRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
![]() |
Attribute | System.String |
Gets and sets the property Attribute.
The name of the attribute to modify. |
![]() |
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. |
![]() |
LaunchPermission | Amazon.EC2.Model.LaunchPermissionModifications |
Gets and sets the property LaunchPermission.
A launch permission modification. |
![]() |
OperationType | Amazon.EC2.OperationType |
Gets and sets the property OperationType.
The operation type. |
![]() |
ProductCodes | System.Collections.Generic.List<System.String> |
Gets and sets the property ProductCodes.
One or more product codes. After you add a product code to an AMI, it can't be removed.
This is only valid when modifying the |
![]() |
UserGroups | System.Collections.Generic.List<System.String> |
Gets and sets the property UserGroups.
One or more user groups. This is only valid when modifying the |
![]() |
UserIds | System.Collections.Generic.List<System.String> |
Gets and sets the property UserIds.
One or more AWS account IDs. This is only valid when modifying the |
![]() |
Value | System.String |
Gets and sets the property Value.
The value of the attribute being modified. This is only valid when modifying the |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8