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

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 CreateVolumePermission data as a 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.

Returns:

  • (String)


6759
6760
6761
6762
6763
# File 'lib/aws-sdk-ec2/types.rb', line 6759

class CreateVolumePermission < Struct.new(
  :group,
  :user_id)
  include Aws::Structure
end

#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)


6759
6760
6761
6762
6763
# File 'lib/aws-sdk-ec2/types.rb', line 6759

class CreateVolumePermission < Struct.new(
  :group,
  :user_id)
  include Aws::Structure
end