DistributionCacheBehaviorSettings class

Constructors

DistributionCacheBehaviorSettings({Input<String?>? allowedHttpMethods, Input<String?>? cachedHttpMethods, Input<int?>? defaultTtl, Input<DistributionCacheBehaviorSettingsForwardedCookies?>? forwardedCookies, Input<DistributionCacheBehaviorSettingsForwardedHeaders?>? forwardedHeaders, Input<DistributionCacheBehaviorSettingsForwardedQueryStrings?>? forwardedQueryStrings, Input<int?>? maximumTtl, Input<int?>? minimumTtl})
Creates a new DistributionCacheBehaviorSettings. allowedHttpMethods HTTP methods that are processed and forwarded to the distribution's origin. cachedHttpMethods HTTP method responses that are cached by your distribution. defaultTtl Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated. forwardedCookies Cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. See below. forwardedHeaders Headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. See below. forwardedQueryStrings Query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. See below. maximumTtl Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated. minimumTtl Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.
const
DistributionCacheBehaviorSettings.fromMap(Map<String, dynamic> map)
factory

Properties

allowedHttpMethods → Input<String?>?
HTTP methods that are processed and forwarded to the distribution's origin.
final
cachedHttpMethods → Input<String?>?
HTTP method responses that are cached by your distribution.
final
defaultTtl → Input<int?>?
Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.
final
forwardedCookies → Input<DistributionCacheBehaviorSettingsForwardedCookies?>?
Cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. See below.
final
forwardedHeaders → Input<DistributionCacheBehaviorSettingsForwardedHeaders?>?
Headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. See below.
final
forwardedQueryStrings → Input<DistributionCacheBehaviorSettingsForwardedQueryStrings?>?
Query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. See below.
final
hashCode → int
The hash code for this object.
no setterinherited
maximumTtl → Input<int?>?
Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.
final
minimumTtl → Input<int?>?
Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.
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