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

Returned by:

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:

#removeArray<Types::CreateVolumePermission>

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

Returns: