Class CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lightsail.CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDistribution.CacheBehaviorPerPathProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnDistribution.CacheBehaviorPerPathProperty
@Stability(Stable)
@Internal
public static final class CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnDistribution.CacheBehaviorPerPathProperty
An implementation for
CfnDistribution.CacheBehaviorPerPathProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnDistribution.CacheBehaviorPerPathProperty
CfnDistribution.CacheBehaviorPerPathProperty.Builder, CfnDistribution.CacheBehaviorPerPathProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDistribution.CacheBehaviorPerPathProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnDistribution.CacheBehaviorPerPathProperty.Builder
.
-
-
Method Details
-
getBehavior
Description copied from interface:CfnDistribution.CacheBehaviorPerPathProperty
The cache behavior for the specified path.You 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.
- Specified by:
getBehavior
in interfaceCfnDistribution.CacheBehaviorPerPathProperty
-
getPath
Description copied from interface:CfnDistribution.CacheBehaviorPerPathProperty
The path to a directory or file to cache, or not cache.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:
- Specify the following to cache all files in the document root of an Apache web server running on a instance.
var/www/html/
- Specify the following file to cache only the index page in the document root of an Apache web server.
var/www/html/index.html
- Specify the following to cache only the .html files in the document root of an Apache web server.
var/www/html/*.html
- Specify the following to cache only the .jpg, .png, and .gif files in the images sub-directory of the document root of an Apache web server.
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/
- Specified by:
getPath
in interfaceCfnDistribution.CacheBehaviorPerPathProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-