Uses of Package
software.amazon.awscdk.services.cloudfront
Package
Description
Amazon CloudFront Construct Library
CloudFront Origins for the CDK CloudFront Library
Route53 Alias Record Targets for the CDK Route53 Library
AWS S3 Deployment Construct Library
-
ClassDescriptionOptions for adding a new behavior to a Distribution.A builder for
AddBehaviorOptions
The HTTP methods that the Behavior will accept requests on.An import source from a local file.A fluent builder forAssetImportSource
.A CloudFront behavior wrapper.A builder forBehavior
Options for creating a new behavior.A builder forBehaviorOptions
Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.The HTTP methods that the Behavior will cache requests on.Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.A Cache Policy configuration.A fluent builder forCachePolicy
.Properties for creating a Cache Policy.A builder forCachePolicyProps
Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.A cache policy.A fluent builder forCfnCachePolicy
.A cache policy configuration.A builder forCfnCachePolicy.CachePolicyConfigProperty
An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.A builder forCfnCachePolicy.CookiesConfigProperty
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.A builder forCfnCachePolicy.HeadersConfigProperty
This object determines the values that CloudFront includes in the cache key.An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.A builder forCfnCachePolicy.QueryStringsConfigProperty
Properties for defining aCfnCachePolicy
.A builder forCfnCachePolicyProps
The request to create a new origin access identity (OAI).A fluent builder forCfnCloudFrontOriginAccessIdentity
.Origin access identity configuration.Properties for defining aCfnCloudFrontOriginAccessIdentity
.A builder forCfnCloudFrontOriginAccessIdentityProps
Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.A fluent builder forCfnContinuousDeploymentPolicy
.Contains the configuration for a continuous deployment policy.Session stickiness provides the ability to define multiple requests from a single viewer as a single session.Determines which HTTP requests are sent to the staging distribution.A builder forCfnContinuousDeploymentPolicy.SingleHeaderConfigProperty
Example:This configuration determines the percentage of HTTP requests that are sent to the staging distribution.A builder forCfnContinuousDeploymentPolicy.SingleWeightConfigProperty
Example:The traffic configuration of your continuous deployment.A builder forCfnContinuousDeploymentPolicy.TrafficConfigProperty
Properties for defining aCfnContinuousDeploymentPolicy
.A builder forCfnContinuousDeploymentPolicyProps
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.A fluent builder forCfnDistribution
.A complex type that describes how CloudFront processes requests.A builder forCfnDistribution.CacheBehaviorProperty
This field is deprecated.A builder forCfnDistribution.CookiesProperty
A complex type that controls:.A builder forCfnDistribution.CustomErrorResponseProperty
A custom origin.A builder forCfnDistribution.CustomOriginConfigProperty
A complex type that describes the default cache behavior if you don't specify aCacheBehavior
element or if request URLs don't match any of the values ofPathPattern
inCacheBehavior
elements.A builder forCfnDistribution.DefaultCacheBehaviorProperty
A distribution configuration.A builder forCfnDistribution.DistributionConfigProperty
This field is deprecated.A builder forCfnDistribution.ForwardedValuesProperty
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.A builder forCfnDistribution.FunctionAssociationProperty
A complex type that controls the countries in which your content is distributed.A builder forCfnDistribution.GeoRestrictionProperty
A complex type that contains a Lambda@Edge function association.A builder forCfnDistribution.LambdaFunctionAssociationProperty
Example:A builder forCfnDistribution.LegacyCustomOriginProperty
Example:A builder forCfnDistribution.LegacyS3OriginProperty
A complex type that controls whether access logs are written for the distribution.A builder forCfnDistribution.LoggingProperty
A complex type that containsHeaderName
andHeaderValue
elements, if any, for this distribution.A builder forCfnDistribution.OriginCustomHeaderProperty
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.A builder forCfnDistribution.OriginGroupFailoverCriteriaProperty
An origin in an origin group.A builder forCfnDistribution.OriginGroupMemberProperty
A complex data type for the origins included in an origin group.A builder forCfnDistribution.OriginGroupMembersProperty
An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify.A builder forCfnDistribution.OriginGroupProperty
A complex data type for the origin groups specified for a distribution.A builder forCfnDistribution.OriginGroupsProperty
An origin.A builder forCfnDistribution.OriginProperty
CloudFront Origin Shield.A builder forCfnDistribution.OriginShieldProperty
A complex type that identifies ways in which you want to restrict distribution of your content.A builder forCfnDistribution.RestrictionsProperty
A complex type that contains information about the Amazon S3 origin.A builder forCfnDistribution.S3OriginConfigProperty
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.A builder forCfnDistribution.StatusCodesProperty
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.A builder forCfnDistribution.ViewerCertificateProperty
Properties for defining aCfnDistribution
.A builder forCfnDistributionProps
Creates a CloudFront function.A fluent builder forCfnFunction
.Contains configuration information about a CloudFront function.A builder forCfnFunction.FunctionConfigProperty
Contains metadata about a CloudFront function.A builder forCfnFunction.FunctionMetadataProperty
The key value store association.A builder forCfnFunction.KeyValueStoreAssociationProperty
Properties for defining aCfnFunction
.A builder forCfnFunctionProps
A key group.A fluent builder forCfnKeyGroup
.A key group configuration.A builder forCfnKeyGroup.KeyGroupConfigProperty
Properties for defining aCfnKeyGroup
.A builder forCfnKeyGroupProps
The key value store.A fluent builder forCfnKeyValueStore
.The import source for the key value store.A builder forCfnKeyValueStore.ImportSourceProperty
Properties for defining aCfnKeyValueStore
.A builder forCfnKeyValueStoreProps
A monitoring subscription.A fluent builder forCfnMonitoringSubscription
.A monitoring subscription.A builder forCfnMonitoringSubscription.MonitoringSubscriptionProperty
A subscription configuration for additional CloudWatch metrics.Properties for defining aCfnMonitoringSubscription
.A builder forCfnMonitoringSubscriptionProps
Creates a new origin access control in CloudFront.A fluent builder forCfnOriginAccessControl
.Creates a new origin access control in CloudFront.A builder forCfnOriginAccessControl.OriginAccessControlConfigProperty
Properties for defining aCfnOriginAccessControl
.A builder forCfnOriginAccessControlProps
An origin request policy.A fluent builder forCfnOriginRequestPolicy
.An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.A builder forCfnOriginRequestPolicy.CookiesConfigProperty
An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.A builder forCfnOriginRequestPolicy.HeadersConfigProperty
An origin request policy configuration.A builder forCfnOriginRequestPolicy.OriginRequestPolicyConfigProperty
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.A builder forCfnOriginRequestPolicy.QueryStringsConfigProperty
Properties for defining aCfnOriginRequestPolicy
.A builder forCfnOriginRequestPolicyProps
A public key that you can use with signed URLs and signed cookies , or with field-level encryption .A fluent builder forCfnPublicKey
.Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .A builder forCfnPublicKey.PublicKeyConfigProperty
Properties for defining aCfnPublicKey
.A builder forCfnPublicKeyProps
A real-time log configuration.A fluent builder forCfnRealtimeLogConfig
.Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.A builder forCfnRealtimeLogConfig.EndPointProperty
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.A builder forCfnRealtimeLogConfig.KinesisStreamConfigProperty
Properties for defining aCfnRealtimeLogConfig
.A builder forCfnRealtimeLogConfigProps
A response headers policy.A list of HTTP header names that CloudFront includes as values for theAccess-Control-Allow-Headers
HTTP response header.A list of HTTP methods that CloudFront includes as values for theAccess-Control-Allow-Methods
HTTP response header.A list of origins (domain names) that CloudFront can use as the value for theAccess-Control-Allow-Origin
HTTP response header.A list of HTTP headers that CloudFront includes as values for theAccess-Control-Expose-Headers
HTTP response header.A fluent builder forCfnResponseHeadersPolicy
.The policy directives and their values that CloudFront includes as values for theContent-Security-Policy
HTTP response header.A builder forCfnResponseHeadersPolicy.ContentSecurityPolicyProperty
Determines whether CloudFront includes theX-Content-Type-Options
HTTP response header with its value set tonosniff
.A builder forCfnResponseHeadersPolicy.ContentTypeOptionsProperty
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).A builder forCfnResponseHeadersPolicy.CorsConfigProperty
An HTTP response header name and its value.A builder forCfnResponseHeadersPolicy.CustomHeaderProperty
A list of HTTP response header names and their values.A builder forCfnResponseHeadersPolicy.CustomHeadersConfigProperty
Determines whether CloudFront includes theX-Frame-Options
HTTP response header and the header's value.A builder forCfnResponseHeadersPolicy.FrameOptionsProperty
Determines whether CloudFront includes theReferrer-Policy
HTTP response header and the header's value.A builder forCfnResponseHeadersPolicy.ReferrerPolicyProperty
The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.A builder forCfnResponseHeadersPolicy.RemoveHeaderProperty
A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.A builder forCfnResponseHeadersPolicy.RemoveHeadersConfigProperty
A response headers policy configuration.A configuration for a set of security-related HTTP response headers.A builder forCfnResponseHeadersPolicy.SecurityHeadersConfigProperty
A configuration for enabling theServer-Timing
header in HTTP responses sent from CloudFront.Determines whether CloudFront includes theStrict-Transport-Security
HTTP response header and the header's value.A builder forCfnResponseHeadersPolicy.StrictTransportSecurityProperty
Determines whether CloudFront includes theX-XSS-Protection
HTTP response header and the header's value.A builder forCfnResponseHeadersPolicy.XSSProtectionProperty
Properties for defining aCfnResponseHeadersPolicy
.A builder forCfnResponseHeadersPolicyProps
This resource is deprecated.A fluent builder forCfnStreamingDistribution
.A complex type that controls whether access logs are written for the streaming distribution.A builder forCfnStreamingDistribution.LoggingProperty
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.A builder forCfnStreamingDistribution.S3OriginProperty
The RTMP distribution's configuration information.A list of AWS accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.A builder forCfnStreamingDistribution.TrustedSignersProperty
Properties for defining aCfnStreamingDistribution
.A builder forCfnStreamingDistributionProps
Enums for the methods CloudFront can cache.An enum for the supported methods to a CloudFront distribution.Amazon CloudFront is a global content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to your viewers with low latency and high transfer speeds.A fluent builder forCloudFrontWebDistribution
.Attributes used to import a Distribution.A builder forCloudFrontWebDistributionAttributes
Example:A builder forCloudFrontWebDistributionProps
A custom origin configuration.A builder forCustomOriginConfig
A CloudFront distribution with associated origin(s) and caching behavior(s).A fluent builder forDistribution
.Attributes used to import a Distribution.A builder forDistributionAttributes
Properties for a Distribution.A builder forDistributionProps
Represents a Lambda function version and event type when using Lambda@Edge.A builder forEdgeLambda
Represents the endpoints available for targetting within a realtime log config resource.Options for configuring custom error responses.A builder forErrorResponse
HTTP status code to failover to second origin.Options when reading the function's code from an external file.A builder forFileCodeOptions
A CloudFront Function.A fluent builder forFunction
.Represents a CloudFront function and event type when using CF Functions.A builder forFunctionAssociation
Attributes of an existing CloudFront Function to import it.A builder forFunctionAttributes
Represents the function's source code.The type of events that a CloudFront function can be invoked in response to.Properties for creating a CloudFront Function.A builder forFunctionProps
The function's runtime environment version.Controls the countries in which content is distributed.Enum representing possible values of the X-Frame-Options HTTP response header.Enum representing possible values of the Referrer-Policy HTTP response header.Maximum HTTP version to support.Represents a Cache Policy.Internal default implementation forICachePolicy
.Interface for CloudFront distributions.Internal default implementation forIDistribution
.Represents a CloudFront Function.Internal default implementation forIFunction
.Represents a Key Group.Internal default implementation forIKeyGroup
.A CloudFront Key Value Store.Internal default implementation forIKeyValueStore
.The data to be imported to the key value store.Represents the concept of a CloudFront Origin.Internal default implementation forIOrigin
.Interface for CloudFront OriginAccessIdentity.Internal default implementation forIOriginAccessIdentity
.Represents a Origin Request Policy.Internal default implementation forIOriginRequestPolicy
.Represents a Public Key.Internal default implementation forIPublicKey
.Represents Realtime Log Configuration.Internal default implementation forIRealtimeLogConfig
.Represents a response headers policy.Internal default implementation forIResponseHeadersPolicy
.A Key Group configuration.A fluent builder forKeyGroup
.Properties for creating a Public Key.A builder forKeyGroupProps
A CloudFront Key Value Store.A fluent builder forKeyValueStore
.The properties to create a Key Value Store.A builder forKeyValueStoreProps
The type of events that a Lambda@Edge function can be invoked in response to.Example:A builder forLambdaFunctionAssociation
Logging configuration for incoming requests.A builder forLoggingConfiguration
An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content.A fluent builder forOriginAccessIdentity
.Properties of CloudFront OriginAccessIdentity.A builder forOriginAccessIdentityProps
The struct returned fromIOrigin.bind
.A builder forOriginBindConfig
Options passed to Origin.bind().A builder forOriginBindOptions
The failover configuration used for Origin Groups, returned inOriginBindConfig.failoverConfig
.A builder forOriginFailoverConfig
Options to define an Origin.A builder forOriginOptions
Properties to define an Origin.A builder forOriginProps
Defines what protocols CloudFront will use to connect to an origin.Determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.Determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.A Origin Request Policy configuration.A fluent builder forOriginRequestPolicy
.Properties for creating a Origin Request Policy.A builder forOriginRequestPolicyProps
Determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.The price class determines how many edge locations CloudFront will use for your distribution.A Public Key Configuration.A fluent builder forPublicKey
.Properties for creating a Public Key.A builder forPublicKeyProps
A Realtime Log Config configuration.A fluent builder forRealtimeLogConfig
.Properties for defining a RealtimeLogConfig resource.A builder forRealtimeLogConfigProps
An HTTP response header name and its value.A builder forResponseCustomHeader
Configuration for a set of HTTP response headers that are sent for requests that match a cache behavior that’s associated with this response headers policy.A builder forResponseCustomHeadersBehavior
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.A builder forResponseHeadersContentSecurityPolicy
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.A builder forResponseHeadersContentTypeOptions
Configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).A builder forResponseHeadersCorsBehavior
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.A builder forResponseHeadersFrameOptions
A Response Headers Policy configuration.A fluent builder forResponseHeadersPolicy
.Properties for creating a Response Headers Policy.A builder forResponseHeadersPolicyProps
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.A builder forResponseHeadersReferrerPolicy
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.A builder forResponseHeadersStrictTransportSecurity
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.A builder forResponseHeadersXSSProtection
Configuration for a set of security-related HTTP response headers.A builder forResponseSecurityHeadersBehavior
S3 origin configuration for CloudFront.A builder forS3OriginConfig
The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.A source configuration is a wrapper for CloudFront origins and behaviors.A builder forSourceConfiguration
The SSL method CloudFront will use for your distribution.Viewer certificate configuration class.Example:A builder forViewerCertificateOptions
How HTTPs should be handled with your distribution. -
ClassDescriptionA custom origin.Represents the concept of a CloudFront Origin.Interface for CloudFront OriginAccessIdentity.Represents a distribution origin, that describes the Amazon S3 bucket, HTTP server (for example, a web server), Amazon MediaStore, or other server from which CloudFront gets your files.The struct returned from
IOrigin.bind
.Options passed to Origin.bind().Options to define an Origin.Properties to define an Origin.Defines what protocols CloudFront will use to connect to an origin. -
-