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,
    },
  ],
  s3_export_configuration: {
    role_name: "NonEmptyString", # required
    disk_image_format: "VMDK", # required, accepts VMDK, RAW, VHD
    s3_bucket: "NonEmptyString", # required
    s3_prefix: "NonEmptyString",
  },
  fast_launch_configurations: [
    {
      enabled: false, # required
      snapshot_configuration: {
        target_resource_count: 1,
      },
      max_parallel_launches: 1,
      launch_template: {
        launch_template_id: "LaunchTemplateId",
        launch_template_name: "NonEmptyString",
        launch_template_version: "NonEmptyString",
      },
      account_id: "AccountId",
    },
  ],
}

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.



2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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

#container_distribution_configurationTypes::ContainerDistributionConfiguration

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



2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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

#fast_launch_configurationsArray<Types::FastLaunchConfiguration>

The Windows faster-launching configurations to use for AMI distribution.

Returns:



2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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

#launch_template_configurationsArray<Types::LaunchTemplateConfiguration>

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



2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

class Distribution < Struct.new(
  :region,
  :ami_distribution_configuration,
  :container_distribution_configuration,
  :license_configuration_arns,
  :launch_template_configurations,
  :s3_export_configuration,
  :fast_launch_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>)


2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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

#regionString

The target Region.

Returns:

  • (String)


2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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

#s3_export_configurationTypes::S3ExportConfiguration

Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.



2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 2226

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