@Stability(value=Stable) @Internal public static final class CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.CacheBehaviorPerPathProperty
CfnDistribution.CacheBehaviorPerPathPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnDistribution.CacheBehaviorPerPathProperty.Builder, CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDistribution.CacheBehaviorPerPathProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDistribution.CacheBehaviorPerPathProperty.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) |
String |
getBehavior()
The cache behavior for the specified path.
|
String |
getPath()
The path to a directory or file to cache, or not cache.
|
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(CfnDistribution.CacheBehaviorPerPathProperty.Builder builder)
CfnDistribution.CacheBehaviorPerPathProperty.Builder.public final String getBehavior()
CfnDistribution.CacheBehaviorPerPathPropertyYou can specify one of the following per-path cache behaviors:
cache - This behavior caches the specified path.dont-cache - This behavior doesn't cache the specified path.getBehavior in interface CfnDistribution.CacheBehaviorPerPathPropertypublic final String getPath()
CfnDistribution.CacheBehaviorPerPathProperty
Use an asterisk symbol to specify wildcard directories ( path/to/assets/* ), and file types ( *.html , *jpg , *js ). Directories and file paths are case-sensitive.
Examples:
var/www/html/
var/www/html/index.html
var/www/html/*.html
var/www/html/images/*.jpg
var/www/html/images/*.png
var/www/html/images/*.gif
Specify the following to cache all files in the images subdirectory of the document root of an Apache web server.
var/www/html/images/
getPath in interface CfnDistribution.CacheBehaviorPerPathProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.