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

Instance Attribute Summary collapse

Instance Attribute Details

#groupString

The group to be added or removed. The possible value is all.

Returns:

  • (String)


6807
6808
6809
6810
6811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6807

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

#user_idString

The AWS account ID to be added or removed.

Returns:

  • (String)


6807
6808
6809
6810
6811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6807

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