You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDistributionConfigurationRequest as input to an Aws::Client method, you can use a vanilla 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"],
        },
      },
      license_configuration_arns: ["LicenseConfigurationArn"],
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
  client_token: "ClientToken", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The idempotency token of the distribution configuration.

Returns:

  • (String)

    The idempotency token of the distribution configuration.

#descriptionString

The description of the distribution configuration.

Returns:

  • (String)

    The description of the distribution configuration.

#distributionsArray<Types::Distribution>

The distributions of the distribution configuration.

Returns:

#nameString

The name of the distribution configuration.

Returns:

  • (String)

    The name of the distribution configuration.

#tagsHash<String,String>

The tags of the distribution configuration.

Returns:

  • (Hash<String,String>)

    The tags of the distribution configuration.