@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.263Z") @Stability(value=Experimental) public interface AddBehaviorOptions extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
AddBehaviorOptions.Builder
A builder for
AddBehaviorOptions |
static class |
AddBehaviorOptions.Jsii$Proxy
An implementation for
AddBehaviorOptions |
Modifier and Type | Method and Description |
---|---|
static AddBehaviorOptions.Builder |
builder() |
default AllowedMethods |
getAllowedMethods()
(experimental) HTTP methods to allow for this behavior.
|
default CachedMethods |
getCachedMethods()
(experimental) HTTP methods to cache for this behavior.
|
default ICachePolicy |
getCachePolicy()
(experimental) The cache policy for this behavior.
|
default Boolean |
getCompress()
(experimental) Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
default List<EdgeLambda> |
getEdgeLambdas()
(experimental) The Lambda@Edge functions to invoke before serving the contents.
|
default List<FunctionAssociation> |
getFunctionAssociations()
(experimental) The CloudFront functions to invoke before serving the contents.
|
default IOriginRequestPolicy |
getOriginRequestPolicy()
(experimental) The origin request policy for this behavior.
|
default Boolean |
getSmoothStreaming()
(experimental) Set this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.
|
default List<IKeyGroup> |
getTrustedKeyGroups()
(experimental) A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.
|
default ViewerProtocolPolicy |
getViewerProtocolPolicy()
(experimental) The protocol that viewers can use to access the files controlled by this behavior.
|
@Stability(value=Experimental) @Nullable default AllowedMethods getAllowedMethods()
Default: AllowedMethods.ALLOW_GET_HEAD
@Stability(value=Experimental) @Nullable default CachedMethods getCachedMethods()
Default: CachedMethods.CACHE_GET_HEAD
@Stability(value=Experimental) @Nullable default ICachePolicy getCachePolicy()
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
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html.
@Stability(value=Experimental) @Nullable default Boolean getCompress()
See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types for file types CloudFront will compress.
Default: true
@Stability(value=Experimental) @Nullable default List<EdgeLambda> getEdgeLambdas()
Default: - no Lambda functions will be invoked
https://aws.amazon.com/lambda/edge
@Stability(value=Experimental) @Nullable default List<FunctionAssociation> getFunctionAssociations()
Default: - no functions will be invoked
@Stability(value=Experimental) @Nullable default IOriginRequestPolicy getOriginRequestPolicy()
The origin request policy determines which values (e.g., headers, cookies) are included in requests that CloudFront sends to the origin.
Default: - none
@Stability(value=Experimental) @Nullable default Boolean getSmoothStreaming()
Default: false
@Stability(value=Experimental) @Nullable default List<IKeyGroup> getTrustedKeyGroups()
Default: - no KeyGroups are associated with cache behavior
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
@Stability(value=Experimental) @Nullable default ViewerProtocolPolicy getViewerProtocolPolicy()
Default: ViewerProtocolPolicy.ALLOW_ALL
@Stability(value=Experimental) static AddBehaviorOptions.Builder builder()
AddBehaviorOptions.Builder
of AddBehaviorOptions
Copyright © 2021. All rights reserved.