Skip to contents

DistributeImage distributes existing AMIs to additional regions and accounts without rebuilding the image.

See https://www.paws-r-sdk.com/docs/imagebuilder_distribute_image/ for full documentation.

Usage

imagebuilder_distribute_image(
  sourceImage,
  distributionConfigurationArn,
  executionRole,
  tags = NULL,
  clientToken,
  loggingConfiguration = NULL
)

Arguments

sourceImage

[required] The source image Amazon Resource Name (ARN) to distribute.

distributionConfigurationArn

[required] The Amazon Resource Name (ARN) of the distribution configuration to use.

executionRole

[required] The IAM role to use for the distribution.

tags

The tags to apply to the distributed image.

clientToken

[required] Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

loggingConfiguration

The logging configuration for the distribution.