Create Distribution Tenant
cloudfront_create_distribution_tenant | R Documentation |
Creates a distribution tenant¶
Description¶
Creates a distribution tenant.
Usage¶
cloudfront_create_distribution_tenant(DistributionId, Name, Domains,
Tags, Customizations, Parameters, ConnectionGroupId,
ManagedCertificateRequest, Enabled)
Arguments¶
DistributionId |
[required] The ID of the multi-tenant distribution to use for creating the distribution tenant. |
Name |
[required] The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant. |
Domains |
[required] The domains associated with the distribution tenant. You must specify at least one domain in the request. |
Tags |
|
Customizations |
Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant. |
Parameters |
A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution. |
ConnectionGroupId |
The ID of the connection group to associate with the distribution tenant. |
ManagedCertificateRequest |
The configuration for the CloudFront managed ACM certificate request. |
Enabled |
Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic. |
Value¶
A list with the following syntax:
list(
DistributionTenant = list(
Id = "string",
DistributionId = "string",
Name = "string",
Arn = "string",
Domains = list(
list(
Domain = "string",
Status = "active"|"inactive"
)
),
Tags = list(
Items = list(
list(
Key = "string",
Value = "string"
)
)
),
Customizations = list(
WebAcl = list(
Action = "override"|"disable",
Arn = "string"
),
Certificate = list(
Arn = "string"
),
GeoRestrictions = list(
RestrictionType = "blacklist"|"whitelist"|"none",
Locations = list(
"string"
)
)
),
Parameters = list(
list(
Name = "string",
Value = "string"
)
),
ConnectionGroupId = "string",
CreatedTime = as.POSIXct(
"2015-01-01"
),
LastModifiedTime = as.POSIXct(
"2015-01-01"
),
Enabled = TRUE|FALSE,
Status = "string"
),
ETag = "string"
)
Request syntax¶
svc$create_distribution_tenant(
DistributionId = "string",
Name = "string",
Domains = list(
list(
Domain = "string"
)
),
Tags = list(
Items = list(
list(
Key = "string",
Value = "string"
)
)
),
Customizations = list(
WebAcl = list(
Action = "override"|"disable",
Arn = "string"
),
Certificate = list(
Arn = "string"
),
GeoRestrictions = list(
RestrictionType = "blacklist"|"whitelist"|"none",
Locations = list(
"string"
)
)
),
Parameters = list(
list(
Name = "string",
Value = "string"
)
),
ConnectionGroupId = "string",
ManagedCertificateRequest = list(
ValidationTokenHost = "cloudfront"|"self-hosted",
PrimaryDomainName = "string",
CertificateTransparencyLoggingPreference = "enabled"|"disabled"
),
Enabled = TRUE|FALSE
)