Package-level declarations
Types
Builder for CachePolicyConfigArgs.
Builder for CachePolicyCookiesConfigArgs.
Builder for CachePolicyHeadersConfigArgs.
Builder for CachePolicyQueryStringsConfigArgs.
This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.
This configuration determines the percentage of HTTP requests that are sent to the staging distribution.
A complex type that describes how CloudFront processes requests. You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide. If you don't want to specify any cache behaviors, include only an empty `CacheBehaviors`
element. Don't include an empty `CacheBehavior`
element because this is invalid. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty `CacheBehaviors`
element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.
Builder for DistributionCacheBehaviorArgs.
A distribution configuration.
Builder for DistributionConfigArgs.
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide. If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide. A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
Builder for DistributionCookiesArgs.
A complex type that controls:
A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.
Builder for DistributionCustomOriginConfigArgs.
A complex type that describes the default cache behavior if you don't specify a `CacheBehavior`
element or if request URLs don't match any of the values of `PathPattern`
in `CacheBehavior`
elements. You must create exactly one default cache behavior.
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide. If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide. A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
Builder for DistributionForwardedValuesArgs.
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
A complex type that controls the countries in which your content is distributed. CF determines the location of your users using `MaxMind`
GeoIP databases. To disable geo restriction, remove the Restrictions property from your stack template.
Builder for DistributionGeoRestrictionArgs.
A complex type that contains a Lambda@Edge function association.
Builder for DistributionLegacyCustomOriginArgs.
Builder for DistributionLegacyS3OriginArgs.
A complex type that controls whether access logs are written for the distribution.
Builder for DistributionLoggingArgs.
An origin. An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:
Builder for DistributionOriginArgs.
A complex type that contains `HeaderName`
and `HeaderValue`
elements, if any, for this distribution.
Builder for DistributionOriginCustomHeaderArgs.
An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.
Builder for DistributionOriginGroupArgs.
A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.
An origin in an origin group.
Builder for DistributionOriginGroupMemberArgs.
A complex data type for the origins included in an origin group.
Builder for DistributionOriginGroupMembersArgs.
A complex data type for the origin groups specified for a distribution.
Builder for DistributionOriginGroupsArgs.
CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.
Builder for DistributionOriginShieldArgs.
A complex type that identifies ways in which you want to restrict distribution of your content.
Builder for DistributionRestrictionsArgs.
A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin or an S3 bucket that is configured as a website endpoint, use the `CustomOriginConfig`
element instead.
Builder for DistributionS3OriginConfigArgs.
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.
Builder for DistributionStatusCodesArgs.
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers. If the distribution doesn't use `Aliases`
(also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as `d111111abcdef8.cloudfront.net`
—set `CloudFrontDefaultCertificate`
to `true`
and leave all other fields empty. If the distribution uses `Aliases`
(alternate domain names or CNAMEs), use the fields in this type to specify the following settings:
Builder for DistributionViewerCertificateArgs.
Builder for FunctionConfigArgs.
Builder for FunctionMetadataArgs.
Builder for GetCachePolicyPlainArgs.
Builder for GetDistributionPlainArgs.
Builder for GetFunctionPlainArgs.
Builder for GetKeyGroupPlainArgs.
Builder for GetKeyValueStorePlainArgs.
Builder for GetMonitoringSubscriptionPlainArgs.
Builder for GetOriginAccessControlPlainArgs.
Builder for GetOriginRequestPolicyPlainArgs.
Builder for GetPublicKeyPlainArgs.
Builder for GetRealtimeLogConfigPlainArgs.
Builder for GetResponseHeadersPolicyPlainArgs.
Builder for KeyGroupConfigArgs.
Builder for KeyValueStoreImportSourceArgs.
Builder for MonitoringSubscriptionArgs.
Builder for OriginAccessControlConfigArgs.
Builder for OriginRequestPolicyConfigArgs.
Builder for PublicKeyConfigArgs.
Builder for RealtimeLogConfigEndPointArgs.
Builder for ResponseHeadersPolicyConfigArgs.