AWS Native

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

OriginRequestPolicy

Resource Type definition for AWS::CloudFront::OriginRequestPolicy

Create a OriginRequestPolicy Resource

new OriginRequestPolicy(name: string, args: OriginRequestPolicyArgs, opts?: CustomResourceOptions);
@overload
def OriginRequestPolicy(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        origin_request_policy_config: Optional[OriginRequestPolicyConfigArgs] = None)
@overload
def OriginRequestPolicy(resource_name: str,
                        args: OriginRequestPolicyArgs,
                        opts: Optional[ResourceOptions] = None)
func NewOriginRequestPolicy(ctx *Context, name string, args OriginRequestPolicyArgs, opts ...ResourceOption) (*OriginRequestPolicy, error)
public OriginRequestPolicy(string name, OriginRequestPolicyArgs args, CustomResourceOptions? opts = null)
public OriginRequestPolicy(String name, OriginRequestPolicyArgs args)
public OriginRequestPolicy(String name, OriginRequestPolicyArgs args, CustomResourceOptions options)
type: aws-native:cloudfront:OriginRequestPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args OriginRequestPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args OriginRequestPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args OriginRequestPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OriginRequestPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args OriginRequestPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OriginRequestPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The OriginRequestPolicy resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the OriginRequestPolicy resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

LastModifiedTime string
Id string

The provider-assigned unique ID for this managed resource.

LastModifiedTime string
id String

The provider-assigned unique ID for this managed resource.

lastModifiedTime String
id string

The provider-assigned unique ID for this managed resource.

lastModifiedTime string
id str

The provider-assigned unique ID for this managed resource.

last_modified_time str
id String

The provider-assigned unique ID for this managed resource.

lastModifiedTime String

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