AWS Native

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

ResponseHeadersPolicy

Resource Type definition for AWS::CloudFront::ResponseHeadersPolicy

Create a ResponseHeadersPolicy Resource

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

name string
The unique name of the resource.
args ResponseHeadersPolicyArgs
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 ResponseHeadersPolicyArgs
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 ResponseHeadersPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResponseHeadersPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResponseHeadersPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ResponseHeadersPolicy 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 ResponseHeadersPolicy resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the ResponseHeadersPolicy 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

ResponseHeadersPolicyAccessControlAllowHeaders

Items List<string>
Items []string
items List<String>
items string[]
items Sequence[str]
items List<String>

ResponseHeadersPolicyAccessControlAllowMethods

Items List<string>
Items []string
items List<String>
items string[]
items Sequence[str]
items List<String>

ResponseHeadersPolicyAccessControlAllowOrigins

Items List<string>
Items []string
items List<String>
items string[]
items Sequence[str]
items List<String>

ResponseHeadersPolicyAccessControlExposeHeaders

Items List<string>
Items []string
items List<String>
items string[]
items Sequence[str]
items List<String>

ResponseHeadersPolicyConfig

ResponseHeadersPolicyContentSecurityPolicy

ResponseHeadersPolicyContentTypeOptions

override Boolean
override boolean
override Boolean

ResponseHeadersPolicyCorsConfig

ResponseHeadersPolicyCustomHeader

Header string
Override bool
Value string
Header string
Override bool
Value string
header String
override Boolean
value String
header string
override boolean
value string
header str
override bool
value str
header String
override Boolean
value String

ResponseHeadersPolicyCustomHeadersConfig

ResponseHeadersPolicyFrameOptions

frameOption String
override Boolean
frameOption string
override boolean
frameOption String
override Boolean

ResponseHeadersPolicyReferrerPolicy

override Boolean
referrerPolicy String
override boolean
referrerPolicy string
override Boolean
referrerPolicy String

ResponseHeadersPolicySecurityHeadersConfig

ResponseHeadersPolicyStrictTransportSecurity

ResponseHeadersPolicyXSSProtection

override Boolean
protection Boolean
modeBlock Boolean
reportUri String
override boolean
protection boolean
modeBlock boolean
reportUri string
override Boolean
protection Boolean
modeBlock Boolean
reportUri String

Package Details

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