Uses of Interface
software.amazon.awscdk.services.cloudfront.IOriginRequestPolicy
-
Uses of IOriginRequestPolicy in software.amazon.awscdk.services.cloudfront
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIOriginRequestPolicy
.Modifier and TypeClassDescriptionstatic final class
A proxy class which represents a concrete javascript instance of this type.class
A Origin Request Policy configuration.Modifier and TypeFieldDescriptionstatic final IOriginRequestPolicy
OriginRequestPolicy.ALL_VIEWER
This policy includes all values (query strings, headers, and cookies) in the viewer request.static final IOriginRequestPolicy
OriginRequestPolicy.ALL_VIEWER_AND_CLOUDFRONT_2022
This policy includes all values (headers, cookies, and query strings) in the viewer request, and all CloudFront headers that were released through June 2022 (CloudFront headers released after June 2022 are not included).static final IOriginRequestPolicy
OriginRequestPolicy.ALL_VIEWER_EXCEPT_HOST_HEADER
This policy includes all values (query strings, and cookies) except the header in the viewer request.static final IOriginRequestPolicy
OriginRequestPolicy.CORS_CUSTOM_ORIGIN
This policy includes the header that enables cross-origin resource sharing (CORS) requests when the origin is a custom origin.static final IOriginRequestPolicy
OriginRequestPolicy.CORS_S3_ORIGIN
This policy includes the headers that enable cross-origin resource sharing (CORS) requests when the origin is an Amazon S3 bucket.static final IOriginRequestPolicy
OriginRequestPolicy.ELEMENTAL_MEDIA_TAILOR
This policy is designed for use with an origin that is an AWS Elemental MediaTailor endpoint.static final IOriginRequestPolicy
OriginRequestPolicy.USER_AGENT_REFERER_HEADERS
This policy includes only the User-Agent and Referer headers.Modifier and TypeMethodDescriptionstatic IOriginRequestPolicy
OriginRequestPolicy.fromOriginRequestPolicyId
(software.constructs.Construct scope, String id, String originRequestPolicyId) Imports a Origin Request Policy from its id.default IOriginRequestPolicy
AddBehaviorOptions.getOriginRequestPolicy()
The origin request policy for this behavior.final IOriginRequestPolicy
AddBehaviorOptions.Jsii$Proxy.getOriginRequestPolicy()
final IOriginRequestPolicy
BehaviorOptions.Jsii$Proxy.getOriginRequestPolicy()
Modifier and TypeMethodDescriptionAddBehaviorOptions.Builder.originRequestPolicy
(IOriginRequestPolicy originRequestPolicy) Sets the value ofAddBehaviorOptions.getOriginRequestPolicy()
BehaviorOptions.Builder.originRequestPolicy
(IOriginRequestPolicy originRequestPolicy) Sets the value ofAddBehaviorOptions.getOriginRequestPolicy()