Class: Aws::Imagebuilder::Types::Distribution

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

{
  region: "NonEmptyString", # required
  ami_distribution_configuration: {
    name: "AmiNameString",
    description: "NonEmptyString",
    target_account_ids: ["AccountId"],
    ami_tags: {
      "TagKey" => "TagValue",
    },
    kms_key_id: "NonEmptyString",
    launch_permission: {
      user_ids: ["AccountId"],
      user_groups: ["NonEmptyString"],
      organization_arns: ["OrganizationArn"],
      organizational_unit_arns: ["OrganizationalUnitArn"],
    },
  },
  container_distribution_configuration: {
    description: "NonEmptyString",
    container_tags: ["NonEmptyString"],
    target_repository: { # required
      service: "ECR", # required, accepts ECR
      repository_name: "NonEmptyString", # required
    },
  },
  license_configuration_arns: ["LicenseConfigurationArn"],
  launch_template_configurations: [
    {
      launch_template_id: "LaunchTemplateId", # required
      account_id: "AccountId",
      set_default_version: false,
    },
  ],
}

Defines the settings for a specific Region.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ami_distribution_configurationTypes::AmiDistributionConfiguration

The specific AMI settings; for example, launch permissions or AMI tags.



2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2146

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#container_distribution_configurationTypes::ContainerDistributionConfiguration

Container distribution settings for encryption, licensing, and sharing in a specific Region.



2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2146

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#launch_template_configurationsArray<Types::LaunchTemplateConfiguration>

A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.



2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2146

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#license_configuration_arnsArray<String>

The License Manager Configuration to associate with the AMI in the specified Region.

Returns:

  • (Array<String>)


2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2146

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The target Region.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2146

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations)
  SENSITIVE = []
  include Aws::Structure
end