CfnDistributionTenantProps

class aws_cdk.aws_cloudfront.CfnDistributionTenantProps(*, distribution_id, domains, name, connection_group_id=None, customizations=None, enabled=None, managed_certificate_request=None, parameters=None, tags=None)

Bases: object

Properties for defining a CfnDistributionTenant.

Parameters:
  • distribution_id (str) – The ID of the multi-tenant distribution.

  • domains (Sequence[str]) – The domains associated with the distribution tenant.

  • name (str) – The name of the distribution tenant.

  • connection_group_id (Optional[str]) – The ID of the connection group for the distribution tenant. If you don’t specify a connection group, CloudFront uses the default connection group.

  • customizations (Union[IResolvable, CustomizationsProperty, Dict[str, Any], None]) – 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.

  • enabled (Union[bool, IResolvable, None]) – Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won’t serve traffic.

  • managed_certificate_request (Union[IResolvable, ManagedCertificateRequestProperty, Dict[str, Any], None]) – An object that represents the request for the Amazon CloudFront managed ACM certificate.

  • parameters (Union[IResolvable, Sequence[Union[IResolvable, ParameterProperty, Dict[str, Any]]], None]) – 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.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

cfn_distribution_tenant_props = cloudfront.CfnDistributionTenantProps(
    distribution_id="distributionId",
    domains=["domains"],
    name="name",

    # the properties below are optional
    connection_group_id="connectionGroupId",
    customizations=cloudfront.CfnDistributionTenant.CustomizationsProperty(
        certificate=cloudfront.CfnDistributionTenant.CertificateProperty(
            arn="arn"
        ),
        geo_restrictions=cloudfront.CfnDistributionTenant.GeoRestrictionCustomizationProperty(
            locations=["locations"],
            restriction_type="restrictionType"
        ),
        web_acl=cloudfront.CfnDistributionTenant.WebAclCustomizationProperty(
            action="action",
            arn="arn"
        )
    ),
    enabled=False,
    managed_certificate_request=cloudfront.CfnDistributionTenant.ManagedCertificateRequestProperty(
        certificate_transparency_logging_preference="certificateTransparencyLoggingPreference",
        primary_domain_name="primaryDomainName",
        validation_token_host="validationTokenHost"
    ),
    parameters=[cloudfront.CfnDistributionTenant.ParameterProperty(
        name="name",
        value="value"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

connection_group_id

The ID of the connection group for the distribution tenant.

If you don’t specify a connection group, CloudFront uses the default connection group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-connectiongroupid

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-customizations

distribution_id

The ID of the multi-tenant distribution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-distributionid

domains

The domains associated with the distribution tenant.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-domains

enabled

Indicates whether the distribution tenant is in an enabled state.

If disabled, the distribution tenant won’t serve traffic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-enabled

managed_certificate_request

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-managedcertificaterequest

name

The name of the distribution tenant.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-name

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-parameters

tags

A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html#cfn-cloudfront-distributiontenant-tags