AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getOriginRequestPolicy

Resource Type definition for AWS::CloudFront::OriginRequestPolicy

Using getOriginRequestPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOriginRequestPolicy(args: GetOriginRequestPolicyArgs, opts?: InvokeOptions): Promise<GetOriginRequestPolicyResult>
function getOriginRequestPolicyOutput(args: GetOriginRequestPolicyOutputArgs, opts?: InvokeOptions): Output<GetOriginRequestPolicyResult>
def get_origin_request_policy(id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetOriginRequestPolicyResult
def get_origin_request_policy_output(id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetOriginRequestPolicyResult]
func LookupOriginRequestPolicy(ctx *Context, args *LookupOriginRequestPolicyArgs, opts ...InvokeOption) (*LookupOriginRequestPolicyResult, error)
func LookupOriginRequestPolicyOutput(ctx *Context, args *LookupOriginRequestPolicyOutputArgs, opts ...InvokeOption) LookupOriginRequestPolicyResultOutput

> Note: This function is named LookupOriginRequestPolicy in the Go SDK.

public static class GetOriginRequestPolicy 
{
    public static Task<GetOriginRequestPolicyResult> InvokeAsync(GetOriginRequestPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetOriginRequestPolicyResult> Invoke(GetOriginRequestPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOriginRequestPolicyResult> getOriginRequestPolicy(GetOriginRequestPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:cloudfront:getOriginRequestPolicy
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Id string
Id string
id String
id string
id str
id String

getOriginRequestPolicy Result

The following output properties are available:

Supporting Types

OriginRequestPolicyConfig

OriginRequestPolicyCookiesConfig

CookieBehavior string
Cookies List<string>
CookieBehavior string
Cookies []string
cookieBehavior String
cookies List<String>
cookieBehavior string
cookies string[]
cookie_behavior str
cookies Sequence[str]
cookieBehavior String
cookies List<String>

OriginRequestPolicyHeadersConfig

HeaderBehavior string
Headers List<string>
HeaderBehavior string
Headers []string
headerBehavior String
headers List<String>
headerBehavior string
headers string[]
header_behavior str
headers Sequence[str]
headerBehavior String
headers List<String>

OriginRequestPolicyQueryStringsConfig

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0