Container for the parameters to the ModifyImageAttribute operation.
The ModifyImageAttribute operation modifies an attribute of an AMI.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class ModifyImageAttributeRequest : AmazonWebServiceRequest IRequestEvents
The ModifyImageAttributeRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
ModifyImageAttributeRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
Attribute |
The name of the AMI attribute you want to modify. Available attributes: |
![]() |
Description | String value |
![]() |
ImageId | The ID of the AMI whose attribute you want to modify. |
![]() |
LaunchPermission | |
![]() |
OperationType |
The type of operation being requested. Available operation types: |
![]() |
ProductCodes | The list of product codes being added to or removed from the specified AMI. Only valid when the productCodes attribute is being modified. |
![]() |
UserGroups |
The user group being added to or removed from the list of user groups with launch permissions for this AMI. Only valid when the
launchPermission attribute is being modified. Available user groups: |
![]() |
UserIds | The AWS user ID being added to or removed from the list of users with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified. |
![]() |
Value | The value of the attribute being modified. Only valid when the description attribute is being modified. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8