Class ResponseHeadersPolicyProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
ResponseHeadersPolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResponseHeadersPolicyProps
@Stability(Stable)
@Internal
public static final class ResponseHeadersPolicyProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResponseHeadersPolicyProps
An implementation for
ResponseHeadersPolicyProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps
ResponseHeadersPolicyProps.Builder, ResponseHeadersPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theResponseHeadersPolicyProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringA comment to describe the response headers policy.A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).A configuration for a set of custom HTTP response headers.A list of HTTP response headers that CloudFront removes from HTTP responses that it sends to viewers.final StringA unique name to identify the response headers policy.A configuration for a set of security-related HTTP response headers.final NumberThe percentage of responses that you want CloudFront to add the Server-Timing header to.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theResponseHeadersPolicyProps.Builder.
-
-
Method Details
-
getComment
Description copied from interface:ResponseHeadersPolicyPropsA comment to describe the response headers policy.Default: - no comment
- Specified by:
getCommentin interfaceResponseHeadersPolicyProps
-
getCorsBehavior
Description copied from interface:ResponseHeadersPolicyPropsA configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).Default: - no cors behavior
- Specified by:
getCorsBehaviorin interfaceResponseHeadersPolicyProps
-
getCustomHeadersBehavior
Description copied from interface:ResponseHeadersPolicyPropsA configuration for a set of custom HTTP response headers.Default: - no custom headers behavior
- Specified by:
getCustomHeadersBehaviorin interfaceResponseHeadersPolicyProps
-
getRemoveHeaders
Description copied from interface:ResponseHeadersPolicyPropsA list of HTTP response headers that CloudFront removes from HTTP responses that it sends to viewers.Default: - no headers are removed
- Specified by:
getRemoveHeadersin interfaceResponseHeadersPolicyProps
-
getResponseHeadersPolicyName
Description copied from interface:ResponseHeadersPolicyPropsA unique name to identify the response headers policy.Default: - generated from the `id`
- Specified by:
getResponseHeadersPolicyNamein interfaceResponseHeadersPolicyProps
-
getSecurityHeadersBehavior
Description copied from interface:ResponseHeadersPolicyPropsA configuration for a set of security-related HTTP response headers.Default: - no security headers behavior
- Specified by:
getSecurityHeadersBehaviorin interfaceResponseHeadersPolicyProps
-
getServerTimingSamplingRate
Description copied from interface:ResponseHeadersPolicyPropsThe percentage of responses that you want CloudFront to add the Server-Timing header to.Default: - no Server-Timing header is added to HTTP responses
- Specified by:
getServerTimingSamplingRatein interfaceResponseHeadersPolicyProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-