Class AddBehaviorOptions.Jsii$Proxy
- All Implemented Interfaces:
AddBehaviorOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AddBehaviorOptions
AddBehaviorOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.AddBehaviorOptions
AddBehaviorOptions.Builder, AddBehaviorOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AddBehaviorOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theAddBehaviorOptions.Builder
.protected
Jsii$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.JsonNode
final boolean
final AllowedMethods
HTTP methods to allow for this behavior.final CachedMethods
HTTP methods to cache for this behavior.final ICachePolicy
The cache policy for this behavior.final Boolean
Whether you want CloudFront to automatically compress certain files for this cache behavior.final List<EdgeLambda>
The Lambda@Edge functions to invoke before serving the contents.final List<FunctionAssociation>
The CloudFront functions to invoke before serving the contents.final IOriginRequestPolicy
The origin request policy for this behavior.final IResponseHeadersPolicy
The response headers policy for this behavior.final Boolean
Set this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.final ViewerProtocolPolicy
The protocol that viewers can use to access the files controlled by this behavior.final int
hashCode()
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 theAddBehaviorOptions.Builder
.
-
-
Method Details
-
getAllowedMethods
Description copied from interface:AddBehaviorOptions
HTTP methods to allow for this behavior.Default: AllowedMethods.ALLOW_GET_HEAD
- Specified by:
getAllowedMethods
in interfaceAddBehaviorOptions
-
getCachedMethods
Description copied from interface:AddBehaviorOptions
HTTP methods to cache for this behavior.Default: CachedMethods.CACHE_GET_HEAD
- Specified by:
getCachedMethods
in interfaceAddBehaviorOptions
-
getCachePolicy
Description copied from interface:AddBehaviorOptions
The cache policy for this behavior.The cache policy determines what values are included in the cache key, and the time-to-live (TTL) values for the cache.
Default: CachePolicy.CACHING_OPTIMIZED
- Specified by:
getCachePolicy
in interfaceAddBehaviorOptions
- See Also:
-
getCompress
Description copied from interface:AddBehaviorOptions
Whether you want CloudFront to automatically compress certain files for this cache behavior.See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types for file types CloudFront will compress.
Default: true
- Specified by:
getCompress
in interfaceAddBehaviorOptions
-
getEdgeLambdas
Description copied from interface:AddBehaviorOptions
The Lambda@Edge functions to invoke before serving the contents.Default: - no Lambda functions will be invoked
- Specified by:
getEdgeLambdas
in interfaceAddBehaviorOptions
- See Also:
-
getFunctionAssociations
Description copied from interface:AddBehaviorOptions
The CloudFront functions to invoke before serving the contents.Default: - no functions will be invoked
- Specified by:
getFunctionAssociations
in interfaceAddBehaviorOptions
-
getOriginRequestPolicy
Description copied from interface:AddBehaviorOptions
The origin request policy for this behavior.The origin request policy determines which values (e.g., headers, cookies) are included in requests that CloudFront sends to the origin.
Default: - none
- Specified by:
getOriginRequestPolicy
in interfaceAddBehaviorOptions
-
getResponseHeadersPolicy
Description copied from interface:AddBehaviorOptions
The response headers policy for this behavior.The response headers policy determines which headers are included in responses
Default: - none
- Specified by:
getResponseHeadersPolicy
in interfaceAddBehaviorOptions
-
getSmoothStreaming
Description copied from interface:AddBehaviorOptions
Set this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.Default: false
- Specified by:
getSmoothStreaming
in interfaceAddBehaviorOptions
-
getTrustedKeyGroups
Description copied from interface:AddBehaviorOptions
A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.Default: - no KeyGroups are associated with cache behavior
- Specified by:
getTrustedKeyGroups
in interfaceAddBehaviorOptions
- See Also:
-
getViewerProtocolPolicy
Description copied from interface:AddBehaviorOptions
The protocol that viewers can use to access the files controlled by this behavior.Default: ViewerProtocolPolicy.ALLOW_ALL
- Specified by:
getViewerProtocolPolicy
in interfaceAddBehaviorOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-