DistributionCacheBehavior class
Constructors
-
DistributionCacheBehavior({required Input<
String> behavior, required Input<String> path}) -
Creates a new DistributionCacheBehavior.
behaviorCache behavior for the specified path. Valid values:cache,dont-cache.pathPath 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.const -
DistributionCacheBehavior.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
behavior
→ Input<
String> -
Cache behavior for the specified path. Valid values:
cache,dont-cache.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
path
→ Input<
String> -
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.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited