Class: Aws::EC2::Types::LaunchPermissionModifications

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 LaunchPermissionModifications data as a hash:

{
  add: [
    {
      group: "all", # accepts all
      user_id: "String",
    },
  ],
  remove: [
    {
      group: "all", # accepts all
      user_id: "String",
    },
  ],
}

Describes a launch permission modification.

Instance Attribute Summary collapse

Instance Attribute Details

#addArray<Types::LaunchPermission>

The AWS account ID to add to the list of launch permissions for the AMI.

Returns:



23403
23404
23405
23406
23407
# File 'lib/aws-sdk-ec2/types.rb', line 23403

class LaunchPermissionModifications < Struct.new(
  :add,
  :remove)
  include Aws::Structure
end

#removeArray<Types::LaunchPermission>

The AWS account ID to remove from the list of launch permissions for the AMI.

Returns:



23403
23404
23405
23406
23407
# File 'lib/aws-sdk-ec2/types.rb', line 23403

class LaunchPermissionModifications < Struct.new(
  :add,
  :remove)
  include Aws::Structure
end