Class: Aws::Imagebuilder::Types::UpdateDistributionConfigurationRequest

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

{
  distribution_configuration_arn: "DistributionConfigurationArn", # 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,
        },
      ],
    },
  ],
  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)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5486

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

#descriptionString

The description of the distribution configuration.

Returns:

  • (String)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5486

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

#distribution_configuration_arnString

The Amazon Resource Name (ARN) of the distribution configuration that you want to update.

Returns:

  • (String)


5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5486

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

#distributionsArray<Types::Distribution>

The distributions of the distribution configuration.

Returns:



5486
5487
5488
5489
5490
5491
5492
5493
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5486

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