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

Class: Aws::EC2::Types::CreateVolumePermission

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

Overview

Note:

When passing CreateVolumePermission as input to an Aws::Client method, you can use a vanilla Hash:

{
  group: "all", # accepts all
  user_id: "String",
}

Describes the user or group to be added or removed from the permissions for a volume.

Instance Attribute Summary collapse

Instance Attribute Details

#groupString

The specific group that is to be added or removed from a volume\'s list of create volume permissions.

Possible values:

  • all

Returns:

  • (String)

    The specific group that is to be added or removed from a volume\'s list of create volume permissions.

#user_idString

The specific AWS account ID that is to be added or removed from a volume\'s list of create volume permissions.

Returns:

  • (String)

    The specific AWS account ID that is to be added or removed from a volume\'s list of create volume permissions.