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.
For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide.
Snapshots with AWS Marketplace product codes cannot be made public.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ModifySnapshotAttributeRequest : AmazonEC2Request IRequestEvents
The ModifySnapshotAttributeRequest type exposes the following members
Name | Description | |
---|---|---|
ModifySnapshotAttributeRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
ModifySnapshotAttributeRequest(string, SnapshotAttributeName, OperationType) | Instantiates ModifySnapshotAttributeRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
Attribute | Amazon.EC2.SnapshotAttributeName |
Gets and sets the property Attribute.
The snapshot attribute to modify. Only volume creation permissions may be modified at the customer level. |
|
CreateVolumePermission | Amazon.EC2.Model.CreateVolumePermissionModifications |
Gets and sets the property CreateVolumePermission.
A JSON representation of the snapshot attribute modification. |
|
GroupNames | System.Collections.Generic.List<System.String> |
Gets and sets the property GroupNames.
The group to modify for the snapshot. |
|
OperationType | Amazon.EC2.OperationType |
Gets and sets the property OperationType.
The type of operation to perform to the attribute. |
|
SnapshotId | System.String |
Gets and sets the property SnapshotId.
The ID of the snapshot. |
|
UserIds | System.Collections.Generic.List<System.String> |
Gets and sets the property UserIds.
The account ID to modify for the snapshot. |
.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