AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Imagebuilder::Types::AmiDistributionConfiguration

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

Overview

Note:

When passing AmiDistributionConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "AmiNameString",
  description: "NonEmptyString",
  target_account_ids: ["AccountId"],
  ami_tags: {
    "TagKey" => "TagValue",
  },
  kms_key_id: "NonEmptyString",
  launch_permission: {
    user_ids: ["AccountId"],
    user_groups: ["NonEmptyString"],
  },
}

Define and configure the output AMIs of the pipeline.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ami_tagsHash<String,String>

The tags to apply to AMIs distributed to this Region.

Returns:

  • (Hash<String,String>)

    The tags to apply to AMIs distributed to this Region.

#descriptionString

The description of the distribution configuration. Minimum and maximum length are in characters.

Returns:

  • (String)

    The description of the distribution configuration.

#kms_key_idString

The KMS key identifier used to encrypt the distributed image.

Returns:

  • (String)

    The KMS key identifier used to encrypt the distributed image.

#launch_permissionTypes::LaunchPermissionConfiguration

Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.

Returns:

#nameString

The name of the distribution configuration.

Returns:

  • (String)

    The name of the distribution configuration.

#target_account_idsArray<String>

The ID of an account to which you want to distribute an image.

Returns:

  • (Array<String>)

    The ID of an account to which you want to distribute an image.