import { _Aliases, _UnmarshalledAliases } from "./_Aliases"; import { _Origins, _UnmarshalledOrigins } from "./_Origins"; import { _OriginGroups, _UnmarshalledOriginGroups } from "./_OriginGroups"; import { _DefaultCacheBehavior, _UnmarshalledDefaultCacheBehavior } from "./_DefaultCacheBehavior"; import { _CacheBehaviors, _UnmarshalledCacheBehaviors } from "./_CacheBehaviors"; import { _CustomErrorResponses, _UnmarshalledCustomErrorResponses } from "./_CustomErrorResponses"; import { _ViewerCertificate, _UnmarshalledViewerCertificate } from "./_ViewerCertificate"; import { _Restrictions, _UnmarshalledRestrictions } from "./_Restrictions"; import { _AliasICPRecordal, _UnmarshalledAliasICPRecordal } from "./_AliasICPRecordal"; /** *

A summary of the information about a CloudFront distribution.

*/ export interface _DistributionSummary { /** *

The identifier for the distribution. For example: EDFDVBD632BHDS5.

*/ Id: string; /** *

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

*/ ARN: string; /** *

The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

*/ Status: string; /** *

The date and time the distribution was last modified.

*/ LastModifiedTime: Date | string | number; /** *

The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

*/ DomainName: string; /** *

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

*/ Aliases: _Aliases; /** *

A complex type that contains information about origins for this distribution.

*/ Origins: _Origins; /** *

A complex type that contains information about origin groups for this distribution.

*/ OriginGroups?: _OriginGroups; /** *

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

*/ DefaultCacheBehavior: _DefaultCacheBehavior; /** *

A complex type that contains zero or more CacheBehavior elements.

*/ CacheBehaviors: _CacheBehaviors; /** *

A complex type that contains zero or more CustomErrorResponses elements.

*/ CustomErrorResponses: _CustomErrorResponses; /** *

The comment originally specified when this distribution was created.

*/ Comment: string; /** *

A complex type that contains information about price class for this streaming distribution.

*/ PriceClass: "PriceClass_100" | "PriceClass_200" | "PriceClass_All" | string; /** *

Whether the distribution is enabled to accept user requests for content.

*/ Enabled: boolean; /** *

A complex type that specifies whether you want viewers to use HTTP or HTTPS to request your objects, whether you're using an alternate domain name with HTTPS, and if so, if you're using AWS Certificate Manager (ACM) or a third-party certificate authority.

*/ ViewerCertificate: _ViewerCertificate; /** *

A complex type that identifies ways in which you want to restrict distribution of your content.

*/ Restrictions: _Restrictions; /** *

The Web ACL Id (if any) associated with the distribution.

*/ WebACLId: string; /** *

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

*/ HttpVersion: "http1.1" | "http2" | string; /** *

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

*/ IsIPV6Enabled: boolean; /** *

AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.

*/ AliasICPRecordals?: Array<_AliasICPRecordal> | Iterable<_AliasICPRecordal>; } export interface _UnmarshalledDistributionSummary extends _DistributionSummary { /** *

The date and time the distribution was last modified.

*/ LastModifiedTime: Date; /** *

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

*/ Aliases: _UnmarshalledAliases; /** *

A complex type that contains information about origins for this distribution.

*/ Origins: _UnmarshalledOrigins; /** *

A complex type that contains information about origin groups for this distribution.

*/ OriginGroups?: _UnmarshalledOriginGroups; /** *

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

*/ DefaultCacheBehavior: _UnmarshalledDefaultCacheBehavior; /** *

A complex type that contains zero or more CacheBehavior elements.

*/ CacheBehaviors: _UnmarshalledCacheBehaviors; /** *

A complex type that contains zero or more CustomErrorResponses elements.

*/ CustomErrorResponses: _UnmarshalledCustomErrorResponses; /** *

A complex type that specifies whether you want viewers to use HTTP or HTTPS to request your objects, whether you're using an alternate domain name with HTTPS, and if so, if you're using AWS Certificate Manager (ACM) or a third-party certificate authority.

*/ ViewerCertificate: _UnmarshalledViewerCertificate; /** *

A complex type that identifies ways in which you want to restrict distribution of your content.

*/ Restrictions: _UnmarshalledRestrictions; /** *

AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.

*/ AliasICPRecordals?: Array<_UnmarshalledAliasICPRecordal>; }