update_distribution - Boto3 1.34.87 documentation

May 2024 ยท 3 minute read
{ 'Distribution': { 'Id': 'string', 'ARN': 'string', 'Status': 'string', 'LastModifiedTime': datetime(2015, 1, 1), 'InProgressInvalidationBatches': 123, 'DomainName': 'string', 'ActiveTrustedSigners': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ { 'AwsAccountNumber': 'string', 'KeyPairIds': { 'Quantity': 123, 'Items': [ 'string', ] } }, ] }, 'ActiveTrustedKeyGroups': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ { 'KeyGroupId': 'string', 'KeyPairIds': { 'Quantity': 123, 'Items': [ 'string', ] } }, ] }, 'DistributionConfig': { 'CallerReference': 'string', 'Aliases': { 'Quantity': 123, 'Items': [ 'string', ] }, 'DefaultRootObject': 'string', 'Origins': { 'Quantity': 123, 'Items': [ { 'Id': 'string', 'DomainName': 'string', 'OriginPath': 'string', 'CustomHeaders': { 'Quantity': 123, 'Items': [ { 'HeaderName': 'string', 'HeaderValue': 'string' }, ] }, 'S3OriginConfig': { 'OriginAccessIdentity': 'string' }, 'CustomOriginConfig': { 'HTTPPort': 123, 'HTTPSPort': 123, 'OriginProtocolPolicy': 'http-only'|'match-viewer'|'https-only', 'OriginSslProtocols': { 'Quantity': 123, 'Items': [ 'SSLv3'|'TLSv1'|'TLSv1.1'|'TLSv1.2', ] }, 'OriginReadTimeout': 123, 'OriginKeepaliveTimeout': 123 }, 'ConnectionAttempts': 123, 'ConnectionTimeout': 123, 'OriginShield': { 'Enabled': True|False, 'OriginShieldRegion': 'string' }, 'OriginAccessControlId': 'string' }, ] }, 'OriginGroups': { 'Quantity': 123, 'Items': [ { 'Id': 'string', 'FailoverCriteria': { 'StatusCodes': { 'Quantity': 123, 'Items': [ 123, ] } }, 'Members': { 'Quantity': 123, 'Items': [ { 'OriginId': 'string' }, ] } }, ] }, 'DefaultCacheBehavior': { 'TargetOriginId': 'string', 'TrustedSigners': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ 'string', ] }, 'TrustedKeyGroups': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ 'string', ] }, 'ViewerProtocolPolicy': 'allow-all'|'https-only'|'redirect-to-https', 'AllowedMethods': { 'Quantity': 123, 'Items': [ 'GET'|'HEAD'|'POST'|'PUT'|'PATCH'|'OPTIONS'|'DELETE', ], 'CachedMethods': { 'Quantity': 123, 'Items': [ 'GET'|'HEAD'|'POST'|'PUT'|'PATCH'|'OPTIONS'|'DELETE', ] } }, 'SmoothStreaming': True|False, 'Compress': True|False, 'LambdaFunctionAssociations': { 'Quantity': 123, 'Items': [ { 'LambdaFunctionARN': 'string', 'EventType': 'viewer-request'|'viewer-response'|'origin-request'|'origin-response', 'IncludeBody': True|False }, ] }, 'FunctionAssociations': { 'Quantity': 123, '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': 123, 'Items': [ 'string', ] } }, 'Headers': { 'Quantity': 123, 'Items': [ 'string', ] }, 'QueryStringCacheKeys': { 'Quantity': 123, 'Items': [ 'string', ] } }, 'MinTTL': 123, 'DefaultTTL': 123, 'MaxTTL': 123 }, 'CacheBehaviors': { 'Quantity': 123, 'Items': [ { 'PathPattern': 'string', 'TargetOriginId': 'string', 'TrustedSigners': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ 'string', ] }, 'TrustedKeyGroups': { 'Enabled': True|False, 'Quantity': 123, 'Items': [ 'string', ] }, 'ViewerProtocolPolicy': 'allow-all'|'https-only'|'redirect-to-https', 'AllowedMethods': { 'Quantity': 123, 'Items': [ 'GET'|'HEAD'|'POST'|'PUT'|'PATCH'|'OPTIONS'|'DELETE', ], 'CachedMethods': { 'Quantity': 123, 'Items': [ 'GET'|'HEAD'|'POST'|'PUT'|'PATCH'|'OPTIONS'|'DELETE', ] } }, 'SmoothStreaming': True|False, 'Compress': True|False, 'LambdaFunctionAssociations': { 'Quantity': 123, 'Items': [ { 'LambdaFunctionARN': 'string', 'EventType': 'viewer-request'|'viewer-response'|'origin-request'|'origin-response', 'IncludeBody': True|False }, ] }, 'FunctionAssociations': { 'Quantity': 123, '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': 123, 'Items': [ 'string', ] } }, 'Headers': { 'Quantity': 123, 'Items': [ 'string', ] }, 'QueryStringCacheKeys': { 'Quantity': 123, 'Items': [ 'string', ] } }, 'MinTTL': 123, 'DefaultTTL': 123, 'MaxTTL': 123 }, ] }, 'CustomErrorResponses': { 'Quantity': 123, 'Items': [ { 'ErrorCode': 123, 'ResponsePagePath': 'string', 'ResponseCode': 'string', 'ErrorCachingMinTTL': 123 }, ] }, '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': 123, 'Items': [ 'string', ] } }, 'WebACLId': 'string', 'HttpVersion': 'http1.1'|'http2'|'http3'|'http2and3', 'IsIPV6Enabled': True|False, 'ContinuousDeploymentPolicyId': 'string', 'Staging': True|False }, 'AliasICPRecordals': [ { 'CNAME': 'string', 'ICPRecordalStatus': 'APPROVED'|'SUSPENDED'|'PENDING' }, ] }, 'ETag': 'string' } 

ncG1vNJzZmian6m8dHrAppizp56WxLR6wqikaK5hZLGwr9SmnKeskam2sLqOmqeiZ5yWwaa%2F02ipnp6Vp7Kvr8Roqp6qpp6wpr%2BOnKOorZSbv7C602iapaGVo8Fwwc%2BdmK2dj5m2tMDRopmurJmku2%2B006aj