AwsCloudfrontOriginRequestPolicyArgs
interface AwsCloudfrontOriginRequestPolicyArgs extends Omit<aws.cloudfront.OriginRequestPolicyArgs, 'name'> {
comment?: Input<string | undefined>;
cookiesConfig: Input<OriginRequestPolicyCookiesConfig>;
headersConfig: Input<OriginRequestPolicyHeadersConfig>;
name: string;
queryStringsConfig: Input<OriginRequestPolicyQueryStringsConfig>;
}Origin request policy capability inputs.
Example
`const policy: AwsCloudfrontOriginRequestPolicyArgs = { name: 'websiteOrigin', cookiesConfig: { cookieBehavior: 'none' }, headersConfig: { headerBehavior: 'none' }, queryStringsConfig: { queryStringBehavior: 'none' } };`Hierarchy
OriginRequestPolicyArgs, "name">AwsCloudfrontOriginRequestPolicyArgs
Properties
comment: Input<string | undefined>
Inherited from comment
Comment to describe the origin request policy.
cookiesConfig: Input<OriginRequestPolicyCookiesConfig>
Inherited from 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: Input<OriginRequestPolicyHeadersConfig>
Inherited from 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: string
Camel-case naming purpose.
queryStringsConfig: Input<OriginRequestPolicyQueryStringsConfig>
Inherited from 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.