AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CloudFront::DistributionTenant

CfnDistributionTenant

The distribution tenant.

Import

import { CfnDistributionTenant } from 'aws-cdk-lib/aws-cloudfront';

Or use the module namespace:

import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnDistributionTenant

Properties

Configuration passed to the constructor as CfnDistributionTenantProps.

distributionIdRequired
string

The ID of the multi-tenant distribution.

domainsRequired
string[]

The domains associated with the distribution tenant.

nameRequired
string

The name of the distribution tenant.

connectionGroupIdOptional
string

The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.

customizationsOptional
IResolvable | CustomizationsProperty

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 AWS 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.

enabledOptional
boolean | IResolvable

Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.

managedCertificateRequestOptional
IResolvable | ManagedCertificateRequestProperty

An object that represents the request for the Amazon CloudFront managed ACM certificate.

parametersOptional
IResolvable | IResolvable | ParameterProperty[]

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.

tagsOptional
CfnTag[]

A complex type that contains zero or more `Tag` elements.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon CloudFront Cheat Sheet

Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.

Download Free Infographic