import * as core from "@terrascript/core"; export interface QueryStringsArgs extends core.SchemaArgs { items?: core.Array | core.ArrayOut; } export declare class QueryStrings extends core.Schema { items?: core.Array | core.ArrayOut; } export interface QueryStringsConfigArgs extends core.SchemaArgs { queryStringBehavior: string | core.StringOut; queryStrings?: QueryStrings; } export declare class QueryStringsConfig extends core.Schema { queryStringBehavior: string | core.StringOut; queryStrings?: QueryStrings; } export interface CookiesArgs extends core.SchemaArgs { items?: core.Array | core.ArrayOut; } export declare class Cookies extends core.Schema { items?: core.Array | core.ArrayOut; } export interface CookiesConfigArgs extends core.SchemaArgs { cookieBehavior: string | core.StringOut; cookies?: Cookies; } export declare class CookiesConfig extends core.Schema { cookieBehavior: string | core.StringOut; cookies?: Cookies; } export interface HeadersArgs extends core.SchemaArgs { items?: core.Array | core.ArrayOut; } export declare class Headers extends core.Schema { items?: core.Array | core.ArrayOut; } export interface HeadersConfigArgs extends core.SchemaArgs { headerBehavior?: string | core.StringOut; headers?: Headers; } export declare class HeadersConfig extends core.Schema { headerBehavior?: string | core.StringOut; headers?: Headers; } export interface OriginRequestPolicyArgs extends core.ResourceArgs { /** * (Optional) Comment to describe the origin request policy. */ comment?: string | core.StringOut; /** * (Required) 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](#cookies-config) for more information. */ cookiesConfig: CookiesConfig; /** * (Required) Object that determines whether any HTTP headers (and if so, which headers) are included i * n the origin request key and automatically included in requests that CloudFront sends to the origin. * See [Headers Config](#headers-config) for more information. */ headersConfig: HeadersConfig; /** * (Required) Unique name to identify the origin request policy. */ name: string | core.StringOut; /** * (Required) 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 C * loudFront sends to the origin. See [Query String Config](#query-string-config) for more information. */ queryStringsConfig: QueryStringsConfig; } export declare class OriginRequestPolicy extends core.Resource { /** * (Optional) Comment to describe the origin request policy. */ comment?: string | core.StringOut; /** * (Required) 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](#cookies-config) for more information. */ cookiesConfig: CookiesConfig; /** * The current version of the origin request policy. */ etag: string | core.StringOut; /** * (Required) Object that determines whether any HTTP headers (and if so, which headers) are included i * n the origin request key and automatically included in requests that CloudFront sends to the origin. * See [Headers Config](#headers-config) for more information. */ headersConfig: HeadersConfig; /** * The identifier for the origin request policy. */ id: string | core.StringOut; /** * (Required) Unique name to identify the origin request policy. */ name: string | core.StringOut; /** * (Required) 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 C * loudFront sends to the origin. See [Query String Config](#query-string-config) for more information. */ queryStringsConfig: QueryStringsConfig; constructor(name: string, args?: OriginRequestPolicyArgs); getNamespace(): string; } //# sourceMappingURL=origin_request_policy.d.ts.map