You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateVolumePermissionModifications as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#addArray<Types::CreateVolumePermission>

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

Returns:

#removeArray<Types::CreateVolumePermission>

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

Returns: