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

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

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



15900
15901
15902
15903
15904
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15900

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:



15900
15901
15902
15903
15904
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15900

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