Table of Contents

Namespace Amazon.CDK.AWS.CloudFront

Classes

AddBehaviorOptions

Options for adding a new behavior to a Distribution.

AliasConfiguration

(deprecated) Configuration for custom domain names.

AllowedMethods

The HTTP methods that the Behavior will accept requests on.

Behavior

A CloudFront behavior wrapper.

BehaviorOptions

Options for creating a new behavior.

CacheCookieBehavior

Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.

CacheHeaderBehavior

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.

CachePolicy

A Cache Policy configuration.

CachePolicyProps

Properties for creating a Cache Policy.

CacheQueryStringBehavior

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.

CachedMethods

The HTTP methods that the Behavior will cache requests on.

CfnCachePolicy

A CloudFormation AWS::CloudFront::CachePolicy.

CfnCachePolicy.CachePolicyConfigProperty

A cache policy configuration.

CfnCachePolicy.CookiesConfigProperty

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.

CfnCachePolicy.HeadersConfigProperty

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.

CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty

This object determines the values that CloudFront includes in the cache key.

CfnCachePolicy.QueryStringsConfigProperty

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.

CfnCachePolicyProps

Properties for defining a CfnCachePolicy.

CfnCloudFrontOriginAccessIdentity

A CloudFormation AWS::CloudFront::CloudFrontOriginAccessIdentity.

CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty

Origin access identity configuration.

CfnCloudFrontOriginAccessIdentityProps

Properties for defining a CfnCloudFrontOriginAccessIdentity.

CfnContinuousDeploymentPolicy

A CloudFormation AWS::CloudFront::ContinuousDeploymentPolicy.

CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty

Contains the configuration for a continuous deployment policy.

CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty

Session stickiness provides the ability to define multiple requests from a single viewer as a single session.

CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty

Determines which HTTP requests are sent to the staging distribution.

CfnContinuousDeploymentPolicy.SingleWeightConfigProperty

This configuration determines the percentage of HTTP requests that are sent to the staging distribution.

CfnContinuousDeploymentPolicy.TrafficConfigProperty

The traffic configuration of your continuous deployment.

CfnContinuousDeploymentPolicyProps

Properties for defining a CfnContinuousDeploymentPolicy.

CfnDistribution

A CloudFormation AWS::CloudFront::Distribution.

CfnDistribution.CacheBehaviorProperty

A complex type that describes how CloudFront processes requests.

CfnDistribution.CookiesProperty

This field is deprecated.

CfnDistribution.CustomErrorResponseProperty

A complex type that controls:.

CfnDistribution.CustomOriginConfigProperty

A custom origin.

CfnDistribution.DefaultCacheBehaviorProperty

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.

CfnDistribution.DistributionConfigProperty

A distribution configuration.

CfnDistribution.ForwardedValuesProperty

This field is deprecated.

CfnDistribution.FunctionAssociationProperty

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

CfnDistribution.GeoRestrictionProperty

A complex type that controls the countries in which your content is distributed.

CfnDistribution.LambdaFunctionAssociationProperty

A complex type that contains a Lambda@Edge function association.

CfnDistribution.LegacyCustomOriginProperty
CfnDistribution.LegacyS3OriginProperty
CfnDistribution.LoggingProperty

A complex type that controls whether access logs are written for the distribution.

CfnDistribution.OriginCustomHeaderProperty

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

CfnDistribution.OriginGroupFailoverCriteriaProperty

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.

CfnDistribution.OriginGroupMemberProperty

An origin in an origin group.

CfnDistribution.OriginGroupMembersProperty

A complex data type for the origins included in an origin group.

CfnDistribution.OriginGroupProperty

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify.

CfnDistribution.OriginGroupsProperty

A complex data type for the origin groups specified for a distribution.

CfnDistribution.OriginProperty

An origin.

CfnDistribution.OriginShieldProperty

CloudFront Origin Shield.

CfnDistribution.RestrictionsProperty

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

CfnDistribution.S3OriginConfigProperty

A complex type that contains information about the Amazon S3 origin.

CfnDistribution.StatusCodesProperty

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.

CfnDistribution.ViewerCertificateProperty

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

CfnDistributionProps

Properties for defining a CfnDistribution.

CfnFunction

A CloudFormation AWS::CloudFront::Function.

CfnFunction.FunctionConfigProperty

Contains configuration information about a CloudFront function.

CfnFunction.FunctionMetadataProperty

Contains metadata about a CloudFront function.

CfnFunctionProps

Properties for defining a CfnFunction.

CfnKeyGroup

A CloudFormation AWS::CloudFront::KeyGroup.

CfnKeyGroup.KeyGroupConfigProperty

A key group configuration.

CfnKeyGroupProps

Properties for defining a CfnKeyGroup.

CfnMonitoringSubscription

A CloudFormation AWS::CloudFront::MonitoringSubscription.

CfnMonitoringSubscription.MonitoringSubscriptionProperty

A monitoring subscription.

CfnMonitoringSubscription.RealtimeMetricsSubscriptionConfigProperty

A subscription configuration for additional CloudWatch metrics.

CfnMonitoringSubscriptionProps

Properties for defining a CfnMonitoringSubscription.

CfnOriginAccessControl

A CloudFormation AWS::CloudFront::OriginAccessControl.

CfnOriginAccessControl.OriginAccessControlConfigProperty

Creates a new origin access control in CloudFront.

CfnOriginAccessControlProps

Properties for defining a CfnOriginAccessControl.

CfnOriginRequestPolicy

A CloudFormation AWS::CloudFront::OriginRequestPolicy.

CfnOriginRequestPolicy.CookiesConfigProperty

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.

CfnOriginRequestPolicy.HeadersConfigProperty

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

CfnOriginRequestPolicy.OriginRequestPolicyConfigProperty

An origin request policy configuration.

CfnOriginRequestPolicy.QueryStringsConfigProperty

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.

CfnOriginRequestPolicyProps

Properties for defining a CfnOriginRequestPolicy.

CfnPublicKey

A CloudFormation AWS::CloudFront::PublicKey.

CfnPublicKey.PublicKeyConfigProperty

Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

CfnPublicKeyProps

Properties for defining a CfnPublicKey.

CfnRealtimeLogConfig

A CloudFormation AWS::CloudFront::RealtimeLogConfig.

CfnRealtimeLogConfig.EndPointProperty

Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

CfnRealtimeLogConfig.KinesisStreamConfigProperty

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

CfnRealtimeLogConfigProps

Properties for defining a CfnRealtimeLogConfig.

CfnResponseHeadersPolicy

A CloudFormation AWS::CloudFront::ResponseHeadersPolicy.

CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

CfnResponseHeadersPolicy.AccessControlAllowMethodsProperty

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

CfnResponseHeadersPolicy.AccessControlAllowOriginsProperty

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

CfnResponseHeadersPolicy.AccessControlExposeHeadersProperty

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

CfnResponseHeadersPolicy.ContentSecurityPolicyProperty

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

CfnResponseHeadersPolicy.ContentTypeOptionsProperty

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff .

CfnResponseHeadersPolicy.CorsConfigProperty

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

CfnResponseHeadersPolicy.CustomHeaderProperty

An HTTP response header name and its value.

CfnResponseHeadersPolicy.CustomHeadersConfigProperty

A list of HTTP response header names and their values.

CfnResponseHeadersPolicy.FrameOptionsProperty

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

CfnResponseHeadersPolicy.ReferrerPolicyProperty

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

CfnResponseHeadersPolicy.RemoveHeaderProperty

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.

CfnResponseHeadersPolicy.RemoveHeadersConfigProperty

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.

CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty

A response headers policy configuration.

CfnResponseHeadersPolicy.SecurityHeadersConfigProperty

A configuration for a set of security-related HTTP response headers.

CfnResponseHeadersPolicy.ServerTimingHeadersConfigProperty

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

CfnResponseHeadersPolicy.StrictTransportSecurityProperty

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

CfnResponseHeadersPolicy.XSSProtectionProperty

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

CfnResponseHeadersPolicyProps

Properties for defining a CfnResponseHeadersPolicy.

CfnStreamingDistribution

A CloudFormation AWS::CloudFront::StreamingDistribution.

CfnStreamingDistribution.LoggingProperty

A complex type that controls whether access logs are written for the streaming distribution.

CfnStreamingDistribution.S3OriginProperty

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

CfnStreamingDistribution.StreamingDistributionConfigProperty

The RTMP distribution's configuration information.

CfnStreamingDistribution.TrustedSignersProperty

A list of AWS accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

CfnStreamingDistributionProps

Properties for defining a CfnStreamingDistribution.

CloudFrontWebDistribution

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.

CloudFrontWebDistributionAttributes

Attributes used to import a Distribution.

CloudFrontWebDistributionProps
CustomOriginConfig

A custom origin configuration.

Distribution

A CloudFront distribution with associated origin(s) and caching behavior(s).

DistributionAttributes

Attributes used to import a Distribution.

DistributionProps

Properties for a Distribution.

EdgeLambda

Represents a Lambda function version and event type when using Lambda@Edge.

ErrorResponse

Options for configuring custom error responses.

FileCodeOptions

Options when reading the function's code from an external file.

Function

A CloudFront Function.

FunctionAssociation

Represents a CloudFront function and event type when using CF Functions.

FunctionAttributes

Attributes of an existing CloudFront Function to import it.

FunctionCode

Represents the function's source code.

FunctionProps

Properties for creating a CloudFront Function.

GeoRestriction

Controls the countries in which content is distributed.

KeyGroup

A Key Group configuration.

KeyGroupProps

Properties for creating a Public Key.

LambdaFunctionAssociation
LoggingConfiguration

Logging configuration for incoming requests.

OriginAccessIdentity

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.

OriginAccessIdentityProps

Properties of CloudFront OriginAccessIdentity.

OriginBase

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.

OriginBindConfig

The struct returned from {@link IOrigin.bind}.

OriginBindOptions

Options passed to Origin.bind().

OriginFailoverConfig

The failover configuration used for Origin Groups, returned in {@link OriginBindConfig.failoverConfig}.

OriginOptions

Options to define an Origin.

OriginProps

Properties to define an Origin.

OriginRequestCookieBehavior

Determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

OriginRequestHeaderBehavior

Determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

OriginRequestPolicy

A Origin Request Policy configuration.

OriginRequestPolicyProps

Properties for creating a Origin Request Policy.

OriginRequestQueryStringBehavior

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.

PublicKey

A Public Key Configuration.

PublicKeyProps

Properties for creating a Public Key.

ResponseCustomHeader

An HTTP response header name and its value.

ResponseCustomHeadersBehavior

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.

ResponseHeadersContentSecurityPolicy

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

ResponseHeadersContentTypeOptions

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

ResponseHeadersCorsBehavior

Configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

ResponseHeadersFrameOptions

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.

ResponseHeadersPolicy

A Response Headers Policy configuration.

ResponseHeadersPolicyProps

Properties for creating a Response Headers Policy.

ResponseHeadersReferrerPolicy

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.

ResponseHeadersStrictTransportSecurity

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.

ResponseHeadersXSSProtection

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.

ResponseSecurityHeadersBehavior

Configuration for a set of security-related HTTP response headers.

S3OriginConfig

S3 origin configuration for CloudFront.

SourceConfiguration

A source configuration is a wrapper for CloudFront origins and behaviors.

ViewerCertificate

Viewer certificate configuration class.

ViewerCertificateOptions

Interfaces

CfnCachePolicy.ICachePolicyConfigProperty

A cache policy configuration.

CfnCachePolicy.ICookiesConfigProperty

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.

CfnCachePolicy.IHeadersConfigProperty

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.

CfnCachePolicy.IParametersInCacheKeyAndForwardedToOriginProperty

This object determines the values that CloudFront includes in the cache key.

CfnCachePolicy.IQueryStringsConfigProperty

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.

CfnCloudFrontOriginAccessIdentity.ICloudFrontOriginAccessIdentityConfigProperty

Origin access identity configuration.

CfnContinuousDeploymentPolicy.IContinuousDeploymentPolicyConfigProperty

Contains the configuration for a continuous deployment policy.

CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty

Session stickiness provides the ability to define multiple requests from a single viewer as a single session.

CfnContinuousDeploymentPolicy.ISingleHeaderConfigProperty

Determines which HTTP requests are sent to the staging distribution.

CfnContinuousDeploymentPolicy.ISingleWeightConfigProperty

This configuration determines the percentage of HTTP requests that are sent to the staging distribution.

CfnContinuousDeploymentPolicy.ITrafficConfigProperty

The traffic configuration of your continuous deployment.

CfnDistribution.ICacheBehaviorProperty

A complex type that describes how CloudFront processes requests.

CfnDistribution.ICookiesProperty

This field is deprecated.

CfnDistribution.ICustomErrorResponseProperty

A complex type that controls:.

CfnDistribution.ICustomOriginConfigProperty

A custom origin.

CfnDistribution.IDefaultCacheBehaviorProperty

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.

CfnDistribution.IDistributionConfigProperty

A distribution configuration.

CfnDistribution.IForwardedValuesProperty

This field is deprecated.

CfnDistribution.IFunctionAssociationProperty

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

CfnDistribution.IGeoRestrictionProperty

A complex type that controls the countries in which your content is distributed.

CfnDistribution.ILambdaFunctionAssociationProperty

A complex type that contains a Lambda@Edge function association.

CfnDistribution.ILegacyCustomOriginProperty
CfnDistribution.ILegacyS3OriginProperty
CfnDistribution.ILoggingProperty

A complex type that controls whether access logs are written for the distribution.

CfnDistribution.IOriginCustomHeaderProperty

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

CfnDistribution.IOriginGroupFailoverCriteriaProperty

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.

CfnDistribution.IOriginGroupMemberProperty

An origin in an origin group.

CfnDistribution.IOriginGroupMembersProperty

A complex data type for the origins included in an origin group.

CfnDistribution.IOriginGroupProperty

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify.

CfnDistribution.IOriginGroupsProperty

A complex data type for the origin groups specified for a distribution.

CfnDistribution.IOriginProperty

An origin.

CfnDistribution.IOriginShieldProperty

CloudFront Origin Shield.

CfnDistribution.IRestrictionsProperty

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

CfnDistribution.IS3OriginConfigProperty

A complex type that contains information about the Amazon S3 origin.

CfnDistribution.IStatusCodesProperty

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.

CfnDistribution.IViewerCertificateProperty

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

CfnFunction.IFunctionConfigProperty

Contains configuration information about a CloudFront function.

CfnFunction.IFunctionMetadataProperty

Contains metadata about a CloudFront function.

CfnKeyGroup.IKeyGroupConfigProperty

A key group configuration.

CfnMonitoringSubscription.IMonitoringSubscriptionProperty

A monitoring subscription.

CfnMonitoringSubscription.IRealtimeMetricsSubscriptionConfigProperty

A subscription configuration for additional CloudWatch metrics.

CfnOriginAccessControl.IOriginAccessControlConfigProperty

Creates a new origin access control in CloudFront.

CfnOriginRequestPolicy.ICookiesConfigProperty

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.

CfnOriginRequestPolicy.IHeadersConfigProperty

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

CfnOriginRequestPolicy.IOriginRequestPolicyConfigProperty

An origin request policy configuration.

CfnOriginRequestPolicy.IQueryStringsConfigProperty

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.

CfnPublicKey.IPublicKeyConfigProperty

Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

CfnRealtimeLogConfig.IEndPointProperty

Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

CfnRealtimeLogConfig.IKinesisStreamConfigProperty

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

CfnResponseHeadersPolicy.IAccessControlAllowHeadersProperty

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

CfnResponseHeadersPolicy.IAccessControlAllowMethodsProperty

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

CfnResponseHeadersPolicy.IAccessControlAllowOriginsProperty

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

CfnResponseHeadersPolicy.IAccessControlExposeHeadersProperty

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

CfnResponseHeadersPolicy.IContentSecurityPolicyProperty

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

CfnResponseHeadersPolicy.IContentTypeOptionsProperty

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff .

CfnResponseHeadersPolicy.ICorsConfigProperty

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

CfnResponseHeadersPolicy.ICustomHeaderProperty

An HTTP response header name and its value.

CfnResponseHeadersPolicy.ICustomHeadersConfigProperty

A list of HTTP response header names and their values.

CfnResponseHeadersPolicy.IFrameOptionsProperty

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

CfnResponseHeadersPolicy.IReferrerPolicyProperty

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

CfnResponseHeadersPolicy.IRemoveHeaderProperty

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.

CfnResponseHeadersPolicy.IRemoveHeadersConfigProperty

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.

CfnResponseHeadersPolicy.IResponseHeadersPolicyConfigProperty

A response headers policy configuration.

CfnResponseHeadersPolicy.ISecurityHeadersConfigProperty

A configuration for a set of security-related HTTP response headers.

CfnResponseHeadersPolicy.IServerTimingHeadersConfigProperty

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

CfnResponseHeadersPolicy.IStrictTransportSecurityProperty

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

CfnResponseHeadersPolicy.IXSSProtectionProperty

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

CfnStreamingDistribution.ILoggingProperty

A complex type that controls whether access logs are written for the streaming distribution.

CfnStreamingDistribution.IS3OriginProperty

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

CfnStreamingDistribution.IStreamingDistributionConfigProperty

The RTMP distribution's configuration information.

CfnStreamingDistribution.ITrustedSignersProperty

A list of AWS accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

IAddBehaviorOptions

Options for adding a new behavior to a Distribution.

IAliasConfiguration

(deprecated) Configuration for custom domain names.

IBehavior

A CloudFront behavior wrapper.

IBehaviorOptions

Options for creating a new behavior.

ICachePolicy

Represents a Cache Policy.

ICachePolicyProps

Properties for creating a Cache Policy.

ICfnCachePolicyProps

Properties for defining a CfnCachePolicy.

ICfnCloudFrontOriginAccessIdentityProps

Properties for defining a CfnCloudFrontOriginAccessIdentity.

ICfnContinuousDeploymentPolicyProps

Properties for defining a CfnContinuousDeploymentPolicy.

ICfnDistributionProps

Properties for defining a CfnDistribution.

ICfnFunctionProps

Properties for defining a CfnFunction.

ICfnKeyGroupProps

Properties for defining a CfnKeyGroup.

ICfnMonitoringSubscriptionProps

Properties for defining a CfnMonitoringSubscription.

ICfnOriginAccessControlProps

Properties for defining a CfnOriginAccessControl.

ICfnOriginRequestPolicyProps

Properties for defining a CfnOriginRequestPolicy.

ICfnPublicKeyProps

Properties for defining a CfnPublicKey.

ICfnRealtimeLogConfigProps

Properties for defining a CfnRealtimeLogConfig.

ICfnResponseHeadersPolicyProps

Properties for defining a CfnResponseHeadersPolicy.

ICfnStreamingDistributionProps

Properties for defining a CfnStreamingDistribution.

ICloudFrontWebDistributionAttributes

Attributes used to import a Distribution.

ICloudFrontWebDistributionProps
ICustomOriginConfig

A custom origin configuration.

IDistribution

Interface for CloudFront distributions.

IDistributionAttributes

Attributes used to import a Distribution.

IDistributionProps

Properties for a Distribution.

IEdgeLambda

Represents a Lambda function version and event type when using Lambda@Edge.

IErrorResponse

Options for configuring custom error responses.

IFileCodeOptions

Options when reading the function's code from an external file.

IFunction

Represents a CloudFront Function.

IFunctionAssociation

Represents a CloudFront function and event type when using CF Functions.

IFunctionAttributes

Attributes of an existing CloudFront Function to import it.

IFunctionProps

Properties for creating a CloudFront Function.

IKeyGroup

Represents a Key Group.

IKeyGroupProps

Properties for creating a Public Key.

ILambdaFunctionAssociation
ILoggingConfiguration

Logging configuration for incoming requests.

IOrigin

Represents the concept of a CloudFront Origin.

IOriginAccessIdentity

Interface for CloudFront OriginAccessIdentity.

IOriginAccessIdentityProps

Properties of CloudFront OriginAccessIdentity.

IOriginBindConfig

The struct returned from {@link IOrigin.bind}.

IOriginBindOptions

Options passed to Origin.bind().

IOriginFailoverConfig

The failover configuration used for Origin Groups, returned in {@link OriginBindConfig.failoverConfig}.

IOriginOptions

Options to define an Origin.

IOriginProps

Properties to define an Origin.

IOriginRequestPolicy

Represents a Origin Request Policy.

IOriginRequestPolicyProps

Properties for creating a Origin Request Policy.

IPublicKey

Represents a Public Key.

IPublicKeyProps

Properties for creating a Public Key.

IResponseCustomHeader

An HTTP response header name and its value.

IResponseCustomHeadersBehavior

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.

IResponseHeadersContentSecurityPolicy

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

IResponseHeadersContentTypeOptions

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

IResponseHeadersCorsBehavior

Configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

IResponseHeadersFrameOptions

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.

IResponseHeadersPolicy

Represents a response headers policy.

IResponseHeadersPolicyProps

Properties for creating a Response Headers Policy.

IResponseHeadersReferrerPolicy

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.

IResponseHeadersStrictTransportSecurity

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.

IResponseHeadersXSSProtection

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.

IResponseSecurityHeadersBehavior

Configuration for a set of security-related HTTP response headers.

IS3OriginConfig

S3 origin configuration for CloudFront.

ISourceConfiguration

A source configuration is a wrapper for CloudFront origins and behaviors.

IViewerCertificateOptions

Enums

CloudFrontAllowedCachedMethods

Enums for the methods CloudFront can cache.

CloudFrontAllowedMethods

An enum for the supported methods to a CloudFront distribution.

FailoverStatusCode

HTTP status code to failover to second origin.

FunctionEventType

The type of events that a CloudFront function can be invoked in response to.

HeadersFrameOption

Enum representing possible values of the X-Frame-Options HTTP response header.

HeadersReferrerPolicy

Enum representing possible values of the Referrer-Policy HTTP response header.

HttpVersion

Maximum HTTP version to support.

LambdaEdgeEventType

The type of events that a Lambda@Edge function can be invoked in response to.

OriginProtocolPolicy

Defines what protocols CloudFront will use to connect to an origin.

OriginSslPolicy
PriceClass

The price class determines how many edge locations CloudFront will use for your distribution.

SSLMethod

The SSL method CloudFront will use for your distribution.

SecurityPolicyProtocol

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections.

ViewerProtocolPolicy

How HTTPs should be handled with your distribution.