Class: Aws::EC2::Types::CreateVolumePermissionModifications
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateVolumePermissionModifications
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass CreateVolumePermissionModifications data as a hash:
{
add: [
{
group: "all", # accepts all
user_id: "String",
},
],
remove: [
{
group: "all", # accepts all
user_id: "String",
},
],
}
Describes modifications to the permissions for a volume.
Instance Attribute Summary collapse
-
#add ⇒ Array<Types::CreateVolumePermission>
Adds a specific AWS account ID or group to a volume’s list of create volume permissions.
-
#remove ⇒ Array<Types::CreateVolumePermission>
Removes a specific AWS account ID or group from a volume’s list of create volume permissions.
Instance Attribute Details
#add ⇒ Array<Types::CreateVolumePermission>
Adds a specific AWS account ID or group to a volume’s list of create volume permissions.
3859 3860 3861 3862 3863 |
# File 'lib/aws-sdk-ec2/types.rb', line 3859 class CreateVolumePermissionModifications < Struct.new( :add, :remove) include Aws::Structure end |
#remove ⇒ Array<Types::CreateVolumePermission>
Removes a specific AWS account ID or group from a volume’s list of create volume permissions.
3859 3860 3861 3862 3863 |
# File 'lib/aws-sdk-ec2/types.rb', line 3859 class CreateVolumePermissionModifications < Struct.new( :add, :remove) include Aws::Structure end |