public static final class AddBehaviorOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddBehaviorOptions
AddBehaviorOptions
AddBehaviorOptions.Builder, AddBehaviorOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
AllowedMethods |
getAllowedMethods()
HTTP methods to allow for this behavior.
|
CachedMethods |
getCachedMethods()
HTTP methods to cache for this behavior.
|
ICachePolicy |
getCachePolicy()
The cache policy for this behavior.
|
java.lang.Boolean |
getCompress()
Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
java.util.List<EdgeLambda> |
getEdgeLambdas()
The Lambda@Edge functions to invoke before serving the contents.
|
java.util.List<FunctionAssociation> |
getFunctionAssociations()
The CloudFront functions to invoke before serving the contents.
|
IOriginRequestPolicy |
getOriginRequestPolicy()
The origin request policy for this behavior.
|
IResponseHeadersPolicy |
getResponseHeadersPolicy()
The response headers policy for this behavior.
|
java.lang.Boolean |
getSmoothStreaming()
Set this to true to indicate you want to distribute media files in the Microsoft Smooth Streaming format using this behavior.
|
java.util.List<IKeyGroup> |
getTrustedKeyGroups()
A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.
|
ViewerProtocolPolicy |
getViewerProtocolPolicy()
The protocol that viewers can use to access the files controlled by this behavior.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final AllowedMethods getAllowedMethods()
AddBehaviorOptions
Default: AllowedMethods.ALLOW_GET_HEAD
getAllowedMethods
in interface AddBehaviorOptions
public final CachedMethods getCachedMethods()
AddBehaviorOptions
Default: CachedMethods.CACHE_GET_HEAD
getCachedMethods
in interface AddBehaviorOptions
public final ICachePolicy getCachePolicy()
AddBehaviorOptions
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
getCachePolicy
in interface AddBehaviorOptions
public final java.lang.Boolean getCompress()
AddBehaviorOptions
See 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 AddBehaviorOptions
public final java.util.List<EdgeLambda> getEdgeLambdas()
AddBehaviorOptions
Default: - no Lambda functions will be invoked
getEdgeLambdas
in interface AddBehaviorOptions
public final java.util.List<FunctionAssociation> getFunctionAssociations()
AddBehaviorOptions
Default: - no functions will be invoked
getFunctionAssociations
in interface AddBehaviorOptions
public final IOriginRequestPolicy getOriginRequestPolicy()
AddBehaviorOptions
The 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 AddBehaviorOptions
public final IResponseHeadersPolicy getResponseHeadersPolicy()
AddBehaviorOptions
The response headers policy determines which headers are included in responses
Default: - none
getResponseHeadersPolicy
in interface AddBehaviorOptions
public final java.lang.Boolean getSmoothStreaming()
AddBehaviorOptions
Default: false
getSmoothStreaming
in interface AddBehaviorOptions
public final java.util.List<IKeyGroup> getTrustedKeyGroups()
AddBehaviorOptions
Default: - no KeyGroups are associated with cache behavior
getTrustedKeyGroups
in interface AddBehaviorOptions
public final ViewerProtocolPolicy getViewerProtocolPolicy()
AddBehaviorOptions
Default: ViewerProtocolPolicy.ALLOW_ALL
getViewerProtocolPolicy
in interface AddBehaviorOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()