import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class OriginRequestPolicyConfig { Comment ? : Value < string > ; CookiesConfig ! : CookiesConfig ; HeadersConfig ! : HeadersConfig ; Name ! : Value < string > ; QueryStringsConfig ! : QueryStringsConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CookiesConfig { CookieBehavior ! : Value < string > ; Cookies ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class QueryStringsConfig { QueryStringBehavior ! : Value < string > ; QueryStrings ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class HeadersConfig { HeaderBehavior ! : Value < string > ; Headers ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface OriginRequestPolicyProperties { OriginRequestPolicyConfig : OriginRequestPolicyConfig ; } export default class OriginRequestPolicy extends ResourceBase < OriginRequestPolicyProperties > { static OriginRequestPolicyConfig = OriginRequestPolicyConfig ; static CookiesConfig = CookiesConfig ; static QueryStringsConfig = QueryStringsConfig ; static HeadersConfig = HeadersConfig ; constructor ( properties ) { super ( 'AWS::CloudFront::OriginRequestPolicy' , properties ) ; } }