DistributionCacheBehavior constructor

const DistributionCacheBehavior({
  1. required Input<String> behavior,
  2. required Input<String> path,
})

Creates a new DistributionCacheBehavior. behavior Cache behavior for the specified path. Valid values: cache, dont-cache. path 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.

Implementation

const DistributionCacheBehavior({
  required this.behavior,
  required this.path,
});