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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LaunchPermissionModifications 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 a launch permission modification.

Returned by:

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:

#removeArray<Types::LaunchPermission>

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

Returns:

  • (Array<Types::LaunchPermission>)

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