@Stability(value=Experimental) @Internal public static final class BehaviorOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BehaviorOptions
BehaviorOptionssoftware.amazon.jsii.JsiiObject.InitializationModeBehaviorOptions.Builder, BehaviorOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IOrigin origin,
AllowedMethods allowedMethods,
CachedMethods cachedMethods,
ICachePolicy cachePolicy,
Boolean compress,
List<? extends EdgeLambda> edgeLambdas,
List<? extends FunctionAssociation> functionAssociations,
IOriginRequestPolicy originRequestPolicy,
Boolean smoothStreaming,
List<? extends IKeyGroup> trustedKeyGroups,
ViewerProtocolPolicy viewerProtocolPolicy)
Constructor that initializes the object based on literal property values passed by the
BehaviorOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AllowedMethods |
getAllowedMethods()
(experimental) HTTP methods to allow for this behavior.
|
CachedMethods |
getCachedMethods()
(experimental) HTTP methods to cache for this behavior.
|
ICachePolicy |
getCachePolicy()
(experimental) The cache policy for this behavior.
|
Boolean |
getCompress()
(experimental) Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
List<EdgeLambda> |
getEdgeLambdas()
(experimental) The Lambda@Edge functions to invoke before serving the contents.
|
List<FunctionAssociation> |
getFunctionAssociations()
(experimental) The CloudFront functions to invoke before serving the contents.
|
IOrigin |
getOrigin()
(experimental) The origin that you want CloudFront to route requests to when they match this behavior.
|
IOriginRequestPolicy |
getOriginRequestPolicy()
(experimental) The origin request policy for this behavior.
|
Boolean |
getSmoothStreaming()
(experimental) Set this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.
|
List<IKeyGroup> |
getTrustedKeyGroups()
(experimental) A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.
|
ViewerProtocolPolicy |
getViewerProtocolPolicy()
(experimental) The protocol that viewers can use to access the files controlled by this behavior.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IOrigin origin, AllowedMethods allowedMethods, CachedMethods cachedMethods, ICachePolicy cachePolicy, Boolean compress, List<? extends EdgeLambda> edgeLambdas, List<? extends FunctionAssociation> functionAssociations, IOriginRequestPolicy originRequestPolicy, Boolean smoothStreaming, List<? extends IKeyGroup> trustedKeyGroups, ViewerProtocolPolicy viewerProtocolPolicy)
BehaviorOptions.Builder.public final IOrigin getOrigin()
BehaviorOptionsgetOrigin in interface BehaviorOptionspublic final AllowedMethods getAllowedMethods()
AddBehaviorOptionsDefault: AllowedMethods.ALLOW_GET_HEAD
getAllowedMethods in interface AddBehaviorOptionspublic final CachedMethods getCachedMethods()
AddBehaviorOptionsDefault: CachedMethods.CACHE_GET_HEAD
getCachedMethods in interface AddBehaviorOptionspublic final ICachePolicy getCachePolicy()
AddBehaviorOptionsThe 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
getCachePolicy in interface AddBehaviorOptionshttps://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html.public final Boolean getCompress()
AddBehaviorOptionsSee https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types for file types CloudFront will compress.
Default: true
getCompress in interface AddBehaviorOptionspublic final List<EdgeLambda> getEdgeLambdas()
AddBehaviorOptionsDefault: - no Lambda functions will be invoked
getEdgeLambdas in interface AddBehaviorOptionshttps://aws.amazon.com/lambda/edgepublic final List<FunctionAssociation> getFunctionAssociations()
AddBehaviorOptionsDefault: - no functions will be invoked
getFunctionAssociations in interface AddBehaviorOptionspublic final IOriginRequestPolicy getOriginRequestPolicy()
AddBehaviorOptionsThe origin request policy determines which values (e.g., headers, cookies) are included in requests that CloudFront sends to the origin.
Default: - none
getOriginRequestPolicy in interface AddBehaviorOptionspublic final Boolean getSmoothStreaming()
AddBehaviorOptionsDefault: false
getSmoothStreaming in interface AddBehaviorOptionspublic final List<IKeyGroup> getTrustedKeyGroups()
AddBehaviorOptionsDefault: - no KeyGroups are associated with cache behavior
getTrustedKeyGroups in interface AddBehaviorOptionshttps://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.htmlpublic final ViewerProtocolPolicy getViewerProtocolPolicy()
AddBehaviorOptionsDefault: ViewerProtocolPolicy.ALLOW_ALL
getViewerProtocolPolicy in interface AddBehaviorOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.