OriginRequestPolicyArgs constructor

const OriginRequestPolicyArgs({
  1. Input<String?>? comment,
  2. required Input<OriginRequestPolicyCookiesConfig> cookiesConfig,
  3. required Input<OriginRequestPolicyHeadersConfig> headersConfig,
  4. Input<String?>? name,
  5. required Input<OriginRequestPolicyQueryStringsConfig> queryStringsConfig,
})

Creates a new OriginRequestPolicyArgs. comment Comment to describe the origin request policy. cookiesConfig 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. headersConfig 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. name Unique name to identify the origin request policy. queryStringsConfig 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.

Implementation

const OriginRequestPolicyArgs({
  this.comment,
  required this.cookiesConfig,
  required this.headersConfig,
  this.name,
  required this.queryStringsConfig,
});