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 list of create volume permissions for a volume.

Instance Attribute Summary collapse

Instance Attribute Details

#addArray<Types::CreateVolumePermission>

Adds the specified AWS account ID or group to the list.

Returns:



6843
6844
6845
6846
6847
# File 'lib/aws-sdk-ec2/types.rb', line 6843

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

#removeArray<Types::CreateVolumePermission>

Removes the specified AWS account ID or group from the list.

Returns:



6843
6844
6845
6846
6847
# File 'lib/aws-sdk-ec2/types.rb', line 6843

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