environment | January 15, 2026

update-distribution — AWS CLI 2.15.34 Command Reference

{ "CallerReference": "string", "Aliases": { "Quantity": integer, "Items": ["string", ...] }, "DefaultRootObject": "string", "Origins": { "Quantity": integer, "Items": [ { "Id": "string", "DomainName": "string", "OriginPath": "string", "CustomHeaders": { "Quantity": integer, "Items": [ { "HeaderName": "string", "HeaderValue": "string" } ... ] }, "S3OriginConfig": { "OriginAccessIdentity": "string" }, "CustomOriginConfig": { "HTTPPort": integer, "HTTPSPort": integer, "OriginProtocolPolicy": "http-only"|"match-viewer"|"https-only", "OriginSslProtocols": { "Quantity": integer, "Items": ["SSLv3"|"TLSv1"|"TLSv1.1"|"TLSv1.2", ...] }, "OriginReadTimeout": integer, "OriginKeepaliveTimeout": integer }, "ConnectionAttempts": integer, "ConnectionTimeout": integer, "OriginShield": { "Enabled": true|false, "OriginShieldRegion": "string" }, "OriginAccessControlId": "string" } ... ] }, "OriginGroups": { "Quantity": integer, "Items": [ { "Id": "string", "FailoverCriteria": { "StatusCodes": { "Quantity": integer, "Items": [integer, ...] } }, "Members": { "Quantity": integer, "Items": [ { "OriginId": "string" } ... ] } } ... ] }, "DefaultCacheBehavior": { "TargetOriginId": "string", "TrustedSigners": { "Enabled": true|false, "Quantity": integer, "Items": ["string", ...] }, "TrustedKeyGroups": { "Enabled": true|false, "Quantity": integer, "Items": ["string", ...] }, "ViewerProtocolPolicy": "allow-all"|"https-only"|"redirect-to-https", "AllowedMethods": { "Quantity": integer, "Items": ["GET"|"HEAD"|"POST"|"PUT"|"PATCH"|"OPTIONS"|"DELETE", ...], "CachedMethods": { "Quantity": integer, "Items": ["GET"|"HEAD"|"POST"|"PUT"|"PATCH"|"OPTIONS"|"DELETE", ...] } }, "SmoothStreaming": true|false, "Compress": true|false, "LambdaFunctionAssociations": { "Quantity": integer, "Items": [ { "LambdaFunctionARN": "string", "EventType": "viewer-request"|"viewer-response"|"origin-request"|"origin-response", "IncludeBody": true|false } ... ] }, "FunctionAssociations": { "Quantity": integer, "Items": [ { "FunctionARN": "string", "EventType": "viewer-request"|"viewer-response"|"origin-request"|"origin-response" } ... ] }, "FieldLevelEncryptionId": "string", "RealtimeLogConfigArn": "string", "CachePolicyId": "string", "OriginRequestPolicyId": "string", "ResponseHeadersPolicyId": "string", "ForwardedValues": { "QueryString": true|false, "Cookies": { "Forward": "none"|"whitelist"|"all", "WhitelistedNames": { "Quantity": integer, "Items": ["string", ...] } }, "Headers": { "Quantity": integer, "Items": ["string", ...] }, "QueryStringCacheKeys": { "Quantity": integer, "Items": ["string", ...] } }, "MinTTL": long, "DefaultTTL": long, "MaxTTL": long }, "CacheBehaviors": { "Quantity": integer, "Items": [ { "PathPattern": "string", "TargetOriginId": "string", "TrustedSigners": { "Enabled": true|false, "Quantity": integer, "Items": ["string", ...] }, "TrustedKeyGroups": { "Enabled": true|false, "Quantity": integer, "Items": ["string", ...] }, "ViewerProtocolPolicy": "allow-all"|"https-only"|"redirect-to-https", "AllowedMethods": { "Quantity": integer, "Items": ["GET"|"HEAD"|"POST"|"PUT"|"PATCH"|"OPTIONS"|"DELETE", ...], "CachedMethods": { "Quantity": integer, "Items": ["GET"|"HEAD"|"POST"|"PUT"|"PATCH"|"OPTIONS"|"DELETE", ...] } }, "SmoothStreaming": true|false, "Compress": true|false, "LambdaFunctionAssociations": { "Quantity": integer, "Items": [ { "LambdaFunctionARN": "string", "EventType": "viewer-request"|"viewer-response"|"origin-request"|"origin-response", "IncludeBody": true|false } ... ] }, "FunctionAssociations": { "Quantity": integer, "Items": [ { "FunctionARN": "string", "EventType": "viewer-request"|"viewer-response"|"origin-request"|"origin-response" } ... ] }, "FieldLevelEncryptionId": "string", "RealtimeLogConfigArn": "string", "CachePolicyId": "string", "OriginRequestPolicyId": "string", "ResponseHeadersPolicyId": "string", "ForwardedValues": { "QueryString": true|false, "Cookies": { "Forward": "none"|"whitelist"|"all", "WhitelistedNames": { "Quantity": integer, "Items": ["string", ...] } }, "Headers": { "Quantity": integer, "Items": ["string", ...] }, "QueryStringCacheKeys": { "Quantity": integer, "Items": ["string", ...] } }, "MinTTL": long, "DefaultTTL": long, "MaxTTL": long } ... ] }, "CustomErrorResponses": { "Quantity": integer, "Items": [ { "ErrorCode": integer, "ResponsePagePath": "string", "ResponseCode": "string", "ErrorCachingMinTTL": long } ... ] }, "Comment": "string", "Logging": { "Enabled": true|false, "IncludeCookies": true|false, "Bucket": "string", "Prefix": "string" }, "PriceClass": "PriceClass_100"|"PriceClass_200"|"PriceClass_All", "Enabled": true|false, "ViewerCertificate": { "CloudFrontDefaultCertificate": true|false, "IAMCertificateId": "string", "ACMCertificateArn": "string", "SSLSupportMethod": "sni-only"|"vip"|"static-ip", "MinimumProtocolVersion": "SSLv3"|"TLSv1"|"TLSv1_2016"|"TLSv1.1_2016"|"TLSv1.2_2018"|"TLSv1.2_2019"|"TLSv1.2_2021", "Certificate": "string", "CertificateSource": "cloudfront"|"iam"|"acm" }, "Restrictions": { "GeoRestriction": { "RestrictionType": "blacklist"|"whitelist"|"none", "Quantity": integer, "Items": ["string", ...] } }, "WebACLId": "string", "HttpVersion": "http1.1"|"http2"|"http3"|"http2and3", "IsIPV6Enabled": true|false, "ContinuousDeploymentPolicyId": "string", "Staging": true|false}