CmdID

CmdID / aws / aws cloudfront

aws cloudfront list-distribution-tenants

Lists the distribution tenants in your Amazon Web Services account. AWS CLI reference

1 example 3 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 CloudFront distribution tenants

The following list-distribution-tenants example lists 3 CloudFront distribution tenants in your AWS account by the associated connection group.

aws cloudfront list-distribution-tenants --association-filter ConnectionGroupId=cg_2whCJoXMYCjHcxaLGrkllvyABC --max-items 3Identify
--association-filterFilter by the associated distribution ID or connection group ID.
--max-itemsThe maximum number of distribution tenants to return.
Its output, shortened
{
    "DistributionTenantList": [
        {
            "Id": "dt_2yMvQgam3QkJo2z54FDl91dk1AB",
            "DistributionId": "E1XNX8R2GOAABC",
            "Name": "new-tenant-customizations",
            "Arn": "arn:aws:cloudfront::123456789012:distribution-tenant/dt_2yMvQgam3QkJo2z54FDl91dk1AB",
            "Domains": [
                {
                    "Domain": "example.com",
                    "Status": "active"
                }
            ],
            "ConnectionGroupId": "cg_2whCJoXMYCjHcxaLGrkllvyABC",
            "Customizations": {
                "WebAcl": {
                    "Action": "disable"
                },
                "GeoRestrictions": {
                    "RestrictionType": "whitelist",
                    "Locations": [
                        "DE"
                    ]
                }
            },
            "CreatedTime": "2025-06-11T15:54:02.142000+00:00",
            "LastModifiedTime": "2025-06-11T15:54:02.142000+00:00",
            "ETag": "E23ZP02F085ABC",
            "Enabled": false,
            "Status": "Deployed"
… 48 more lines

For more information, see Understand how multi-tenant distributions work in the Amazon CloudFront Developer Guide.

Options

3 in the AWS CLI reference
--association-filterFilter by the associated distribution ID or connection group ID.
--markerThe marker for the next set of results.
--max-itemsThe maximum number of distribution tenants to return.