GetCachePolicyResult class
Result data returned by getCachePolicy.
Constructors
-
GetCachePolicyResult({String? arn, String? comment, int? defaultTtl, String? etag, String? id, int? maxTtl, int? minTtl, String? name, List<
GetCachePolicyParametersInCacheKeyAndForwardedToOrigin> ? parametersInCacheKeyAndForwardedToOrigins}) -
Creates a new GetCachePolicyResult.
arnThe cache policy ARN.commentComment to describe the cache policy.defaultTtlDefault amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.etagCurrent version of the cache policy.idOptional.maxTtlMaximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.minTtlMinimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.nameOptional.parametersInCacheKeyAndForwardedToOriginsThe HTTP headers, cookies, and URL query strings to include in the cache key. See Parameters In Cache Key And Forwarded To Origin for more information.const -
GetCachePolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- arn → String?
-
The cache policy ARN.
final
- comment → String?
-
Comment to describe the cache policy.
final
- defaultTtl → int?
-
Default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
final
- etag → String?
-
Current version of the cache policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- maxTtl → int?
-
Maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
final
- minTtl → int?
-
Minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
final
- name → String?
-
final
-
parametersInCacheKeyAndForwardedToOrigins
→ List<
GetCachePolicyParametersInCacheKeyAndForwardedToOrigin> ? -
The HTTP headers, cookies, and URL query strings to include in the cache key. See Parameters In Cache Key And Forwarded To Origin for more information.
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