OriginRequestPolicyArgs class
The set of arguments for OriginRequestPolicy. The set of arguments for OriginRequestPolicy.
Constructors
-
OriginRequestPolicyArgs({Input<
String?> ? comment, required Input<OriginRequestPolicyCookiesConfig> cookiesConfig, required Input<OriginRequestPolicyHeadersConfig> headersConfig, Input<String?> ? name, required Input<OriginRequestPolicyQueryStringsConfig> queryStringsConfig}) -
Creates a new OriginRequestPolicyArgs.
commentComment to describe the origin request policy.cookiesConfigObject that determines whether any cookies in viewer requests (and if so, which cookies) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Cookies Config for more information.headersConfigObject that determines whether any HTTP headers (and if so, which headers) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Headers Config for more information.nameUnique name to identify the origin request policy.queryStringsConfigObject that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.const -
OriginRequestPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
comment
→ Input<
String?> ? -
Comment to describe the origin request policy.
final
-
Object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Cookies Config for more information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headersConfig
→ Input<
OriginRequestPolicyHeadersConfig> -
Object that determines whether any HTTP headers (and if so, which headers) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Headers Config for more information.
final
-
name
→ Input<
String?> ? -
Unique name to identify the origin request policy.
final
-
queryStringsConfig
→ Input<
OriginRequestPolicyQueryStringsConfig> -
Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config 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