Class BehaviorOptions.Jsii$Proxy
- All Implemented Interfaces:
AddBehaviorOptions,BehaviorOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BehaviorOptions
BehaviorOptions-
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.BehaviorOptions
BehaviorOptions.Builder, BehaviorOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(BehaviorOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theBehaviorOptions.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 AllowedMethodsHTTP methods to allow for this behavior.final CachedMethodsHTTP methods to cache for this behavior.final ICachePolicyThe cache policy for this behavior.final BooleanWhether 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 IOriginThe origin that you want CloudFront to route requests to when they match this behavior.final IOriginRequestPolicyThe origin request policy for this behavior.final IResponseHeadersPolicyThe response headers policy for this behavior.final BooleanSet 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 ViewerProtocolPolicyThe protocol that viewers can use to access the files controlled by this behavior.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 theBehaviorOptions.Builder.
-
-
Method Details
-
getOrigin
Description copied from interface:BehaviorOptionsThe origin that you want CloudFront to route requests to when they match this behavior.- Specified by:
getOriginin interfaceBehaviorOptions
-
getAllowedMethods
Description copied from interface:AddBehaviorOptionsHTTP methods to allow for this behavior.Default: AllowedMethods.ALLOW_GET_HEAD
- Specified by:
getAllowedMethodsin interfaceAddBehaviorOptions
-
getCachedMethods
Description copied from interface:AddBehaviorOptionsHTTP methods to cache for this behavior.Default: CachedMethods.CACHE_GET_HEAD
- Specified by:
getCachedMethodsin interfaceAddBehaviorOptions
-
getCachePolicy
Description copied from interface:AddBehaviorOptionsThe 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:
getCachePolicyin interfaceAddBehaviorOptions- See Also:
-
getCompress
Description copied from interface:AddBehaviorOptionsWhether 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:
getCompressin interfaceAddBehaviorOptions
-
getEdgeLambdas
Description copied from interface:AddBehaviorOptionsThe Lambda@Edge functions to invoke before serving the contents.Default: - no Lambda functions will be invoked
- Specified by:
getEdgeLambdasin interfaceAddBehaviorOptions- See Also:
-
getFunctionAssociations
Description copied from interface:AddBehaviorOptionsThe CloudFront functions to invoke before serving the contents.Default: - no functions will be invoked
- Specified by:
getFunctionAssociationsin interfaceAddBehaviorOptions
-
getOriginRequestPolicy
Description copied from interface:AddBehaviorOptionsThe 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:
getOriginRequestPolicyin interfaceAddBehaviorOptions
-
getResponseHeadersPolicy
Description copied from interface:AddBehaviorOptionsThe response headers policy for this behavior.The response headers policy determines which headers are included in responses
Default: - none
- Specified by:
getResponseHeadersPolicyin interfaceAddBehaviorOptions
-
getSmoothStreaming
Description copied from interface:AddBehaviorOptionsSet this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.Default: false
- Specified by:
getSmoothStreamingin interfaceAddBehaviorOptions
-
getTrustedKeyGroups
Description copied from interface:AddBehaviorOptionsA 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:
getTrustedKeyGroupsin interfaceAddBehaviorOptions- See Also:
-
getViewerProtocolPolicy
Description copied from interface:AddBehaviorOptionsThe protocol that viewers can use to access the files controlled by this behavior.Default: ViewerProtocolPolicy.ALLOW_ALL
- Specified by:
getViewerProtocolPolicyin interfaceAddBehaviorOptions
-
$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()
-