You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::CreateVolumePermissionModifications
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateVolumePermissionModifications
- Defined in:
- (unknown)
Overview
Note:
When passing CreateVolumePermissionModifications as input to an Aws::Client method, you can use a vanilla Hash:
{
add: [
{
group: "all", # accepts all
user_id: "String",
},
],
remove: [
{
group: "all", # accepts all
user_id: "String",
},
],
}
Describes modifications to the list of create volume permissions for a volume.
Returned by:
Instance Attribute Summary collapse
-
#add ⇒ Array<Types::CreateVolumePermission>
Adds the specified AWS account ID or group to the list.
-
#remove ⇒ Array<Types::CreateVolumePermission>
Removes the specified AWS account ID or group from the list.
Instance Attribute Details
#add ⇒ Array<Types::CreateVolumePermission>
Adds the specified AWS account ID or group to the list.
#remove ⇒ Array<Types::CreateVolumePermission>
Removes the specified AWS account ID or group from the list.