Skip to content

Update Distribution Configuration

imagebuilder_update_distribution_configuration R Documentation

Updates a new distribution configuration

Description

Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

Usage

imagebuilder_update_distribution_configuration(
  distributionConfigurationArn, description, distributions, clientToken)

Arguments

distributionConfigurationArn

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

description

The description of the distribution configuration.

distributions

[required] The distributions of the distribution configuration.

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.

Value

A list with the following syntax:

list(
  requestId = "string",
  clientToken = "string",
  distributionConfigurationArn = "string"
)

Request syntax

svc$update_distribution_configuration(
  distributionConfigurationArn = "string",
  description = "string",
  distributions = list(
    list(
      region = "string",
      amiDistributionConfiguration = list(
        name = "string",
        description = "string",
        targetAccountIds = list(
          "string"
        ),
        amiTags = list(
          "string"
        ),
        kmsKeyId = "string",
        launchPermission = list(
          userIds = list(
            "string"
          ),
          userGroups = list(
            "string"
          ),
          organizationArns = list(
            "string"
          ),
          organizationalUnitArns = list(
            "string"
          )
        )
      ),
      containerDistributionConfiguration = list(
        description = "string",
        containerTags = list(
          "string"
        ),
        targetRepository = list(
          service = "ECR",
          repositoryName = "string"
        )
      ),
      licenseConfigurationArns = list(
        "string"
      ),
      launchTemplateConfigurations = list(
        list(
          launchTemplateId = "string",
          accountId = "string",
          setDefaultVersion = TRUE|FALSE
        )
      ),
      s3ExportConfiguration = list(
        roleName = "string",
        diskImageFormat = "VMDK"|"RAW"|"VHD",
        s3Bucket = "string",
        s3Prefix = "string"
      ),
      fastLaunchConfigurations = list(
        list(
          enabled = TRUE|FALSE,
          snapshotConfiguration = list(
            targetResourceCount = 123
          ),
          maxParallelLaunches = 123,
          launchTemplate = list(
            launchTemplateId = "string",
            launchTemplateName = "string",
            launchTemplateVersion = "string"
          ),
          accountId = "string"
        )
      )
    )
  ),
  clientToken = "string"
)