CmdID

CmdID / aws / aws cloudfront

aws cloudfront get-invalidation-for-distribution-tenant

Gets information about a specific invalidation for a distribution tenant. AWS CLI reference

1 example 2 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 get an invalidation for a distribution tenant

The following get-invalidation-for-distribution-tenant example gets information about an invalidation for a distribution tenant.

aws cloudfront get-invalidation-for-distribution-tenant --distribution-tenant-id dt_2wjDZi3hD1ivOXf6rpZJOSNE1AB --id I4CU23QAPKMUDUU06F9OFGFABCIdentify
--distribution-tenant-idThe ID of the distribution tenant.
--idThe ID of the invalidation to retrieve.
Its output
{
    "Invalidation": {
        "Id": "I4CU23QAPKMUDUU06F9OFGFABC",
        "Status": "Completed",
        "CreateTime": "2025-05-06T15:46:12.824000+00:00",
        "InvalidationBatch": {
            "Paths": {
                "Quantity": 2,
                "Items": [
                    "/example/invalidation",
                    "/more/invalidations"
                ]
            },
            "CallerReference": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
        }
    }
}

For more information, see Invalidate files to remove content in the Amazon CloudFront Developer Guide.

Options

2 in the AWS CLI reference
--distribution-tenant-idThe ID of the distribution tenant.
--idThe ID of the invalidation to retrieve.