Class: Aws::Imagebuilder::Types::LaunchPermissionConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

Note:

When making an API call, you may pass LaunchPermissionConfiguration data as a hash:

{
  user_ids: ["AccountId"],
  user_groups: ["NonEmptyString"],
  organization_arns: ["OrganizationArn"],
  organizational_unit_arns: ["OrganizationalUnitArn"],
}

Describes the configuration for a launch permission. The launch permission modification request is sent to the Amazon EC2 ModifyImageAttribute API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public, set the launch permission authorized accounts to all. See the examples for making an AMI public at Amazon EC2 ModifyImageAttribute.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#organization_arnsArray<String>

The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.

Returns:

  • (Array<String>)


4318
4319
4320
4321
4322
4323
4324
4325
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4318

class LaunchPermissionConfiguration < Struct.new(
  :user_ids,
  :user_groups,
  :organization_arns,
  :organizational_unit_arns)
  SENSITIVE = []
  include Aws::Structure
end

#organizational_unit_arnsArray<String>

The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.

Returns:

  • (Array<String>)


4318
4319
4320
4321
4322
4323
4324
4325
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4318

class LaunchPermissionConfiguration < Struct.new(
  :user_ids,
  :user_groups,
  :organization_arns,
  :organizational_unit_arns)
  SENSITIVE = []
  include Aws::Structure
end

#user_groupsArray<String>

The name of the group.

Returns:

  • (Array<String>)


4318
4319
4320
4321
4322
4323
4324
4325
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4318

class LaunchPermissionConfiguration < Struct.new(
  :user_ids,
  :user_groups,
  :organization_arns,
  :organizational_unit_arns)
  SENSITIVE = []
  include Aws::Structure
end

#user_idsArray<String>

The Amazon Web Services account ID.

Returns:

  • (Array<String>)


4318
4319
4320
4321
4322
4323
4324
4325
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4318

class LaunchPermissionConfiguration < Struct.new(
  :user_ids,
  :user_groups,
  :organization_arns,
  :organizational_unit_arns)
  SENSITIVE = []
  include Aws::Structure
end