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


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

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

#user_idString

The AWS account ID to be added or removed.

Returns:

  • (String)


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

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