Class: Aws::Imagebuilder::Types::CreateDistributionConfigurationRequest

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

{
  name: "ResourceName", # required
  description: "NonEmptyString",
  distributions: [ # required
    {
      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,
        },
      ],
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
  client_token: "ClientToken", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The idempotency token of the distribution configuration.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1255

class CreateDistributionConfigurationRequest < Struct.new(
  :name,
  :description,
  :distributions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the distribution configuration.

Returns:

  • (String)


1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1255

class CreateDistributionConfigurationRequest < Struct.new(
  :name,
  :description,
  :distributions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#distributionsArray<Types::Distribution>

The distributions of the distribution configuration.

Returns:



1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1255

class CreateDistributionConfigurationRequest < Struct.new(
  :name,
  :description,
  :distributions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the distribution configuration.

Returns:

  • (String)


1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1255

class CreateDistributionConfigurationRequest < Struct.new(
  :name,
  :description,
  :distributions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags of the distribution configuration.

Returns:

  • (Hash<String,String>)


1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 1255

class CreateDistributionConfigurationRequest < Struct.new(
  :name,
  :description,
  :distributions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end