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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


3797
3798
3799
3800
3801
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3797

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)


3797
3798
3799
3800
3801
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3797

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