Class: Aws::EC2::Types::CreateVolumePermissionModifications

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#addArray<Types::CreateVolumePermission>

Adds a specific AWS account ID or group to a volume’s list of create volume permissions.

Returns:



6797
6798
6799
6800
6801
# File 'lib/aws-sdk-ec2/types.rb', line 6797

class CreateVolumePermissionModifications < Struct.new(
  :add,
  :remove)
  include Aws::Structure
end

#removeArray<Types::CreateVolumePermission>

Removes a specific AWS account ID or group from a volume’s list of create volume permissions.

Returns:



6797
6798
6799
6800
6801
# File 'lib/aws-sdk-ec2/types.rb', line 6797

class CreateVolumePermissionModifications < Struct.new(
  :add,
  :remove)
  include Aws::Structure
end