CmdID

CmdID / aws / aws cloudfront

aws cloudfront list-distribution-tenants-by-customization

Lists distribution tenants by the customization that you specify. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list distribution tenants by customization

The following list-distribution-tenants-by-customization example lists distribution tenants that use the specified web ACL.

aws cloudfront list-distribution-tenants-by-customization --web-acl-arn arn:aws:wafv2:us-east-1:123456789012:global/webacl/CreatedByCloudFront-0273cd2f/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--web-acl-arnFilter by the ARN of the associated WAF web ACL.
Its output, shortened
{
    "DistributionTenantList": [
        {
            "Id": "dt_2wjDZi3hD1ivOXf6rpZJOSNE1AB",
            "DistributionId": "E1XNX8R2GOAABC",
            "Name": "example-tenant-2",
            "Arn": "arn:aws:cloudfront::123456789012:distribution-tenant/dt_2wjDZi3hD1ivOXf6rpZJOSNE1AB",
            "Domains": [
                {
                    "Domain": "example.com",
                    "Status": "inactive"
                }
            ],
            "ConnectionGroupId": "cg_2wjDWTBKTlRB87cAaUQFaakABC",
            "Customizations": {
                "WebAcl": {
                    "Action": "override",
                    "Arn": "arn:aws:wafv2:us-east-1:123456789012:global/webacl/CreatedByCloudFront-0273cd2f/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
                },
                "GeoRestrictions": {
                    "RestrictionType": "whitelist",
                    "Locations": [
                        "AL"
                    ]
                }
            },
            "CreatedTime": "2025-05-06T15:42:28.542000+00:00",
            "LastModifiedTime": "2025-05-06T16:14:08.710000+00:00",
            "ETag": "E1F83G8C2ARABC",
            "Enabled": true,
… 4 more lines

For more information, see Distribution tenant customizations in the Amazon CloudFront Developer Guide.

Options

4 in the AWS CLI reference
--certificate-arnFilter by the ARN of the associated ACM certificate.
--markerThe marker for the next set of results.
--max-itemsThe maximum number of distribution tenants to return by the specified customization.
--web-acl-arnFilter by the ARN of the associated WAF web ACL.