| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IResponseHeadersPolicy.Jsii$Default
Internal default implementation for
IResponseHeadersPolicy. |
| Modifier and Type | Class and Description |
|---|---|
static class |
IResponseHeadersPolicy.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
class |
ResponseHeadersPolicy
A Response Headers Policy configuration.
|
| Modifier and Type | Field and Description |
|---|---|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS
Use this managed policy to allow simple CORS requests from any origin.
|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS_AND_SECURITY_HEADERS
Use this managed policy to allow simple CORS requests from any origin and add a set of security headers to all responses that CloudFront sends to viewers.
|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS_WITH_PREFLIGHT
Use this managed policy to allow CORS requests from any origin, including preflight requests.
|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS_WITH_PREFLIGHT_AND_SECURITY_HEADERS
Use this managed policy to allow CORS requests from any origin, including preflight requests, and add a set of security headers to all responses that CloudFront sends to viewers.
|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.SECURITY_HEADERS
Use this managed policy to add a set of security headers to all responses that CloudFront sends to viewers.
|
| Modifier and Type | Method and Description |
|---|---|
static IResponseHeadersPolicy |
ResponseHeadersPolicy.fromResponseHeadersPolicyId(software.constructs.Construct scope,
String id,
String responseHeadersPolicyId)
Import an existing Response Headers Policy from its ID.
|
IResponseHeadersPolicy |
BehaviorOptions.Jsii$Proxy.getResponseHeadersPolicy() |
default IResponseHeadersPolicy |
AddBehaviorOptions.getResponseHeadersPolicy()
The response headers policy for this behavior.
|
IResponseHeadersPolicy |
AddBehaviorOptions.Jsii$Proxy.getResponseHeadersPolicy() |
| Modifier and Type | Method and Description |
|---|---|
BehaviorOptions.Builder |
BehaviorOptions.Builder.responseHeadersPolicy(IResponseHeadersPolicy responseHeadersPolicy)
Sets the value of
AddBehaviorOptions.getResponseHeadersPolicy() |
AddBehaviorOptions.Builder |
AddBehaviorOptions.Builder.responseHeadersPolicy(IResponseHeadersPolicy responseHeadersPolicy)
Sets the value of
AddBehaviorOptions.getResponseHeadersPolicy() |
Copyright © 2022. All rights reserved.