Create Distribution Configuration
imagebuilder_create_distribution_configuration | R Documentation |
Creates a new distribution configuration¶
Description¶
Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
Usage¶
Arguments¶
name
[required] The name of the distribution configuration.
description
The description of the distribution configuration.
distributions
[required] The distributions of the distribution configuration.
tags
The tags 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:
Request syntax¶
svc$create_distribution_configuration(
name = "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"
)
)
)
),
tags = list(
"string"
),
clientToken = "string"
)