AWS Native

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

getResponseHeadersPolicy

Resource Type definition for AWS::CloudFront::ResponseHeadersPolicy

Using getResponseHeadersPolicy

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 getResponseHeadersPolicy(args: GetResponseHeadersPolicyArgs, opts?: InvokeOptions): Promise<GetResponseHeadersPolicyResult>
function getResponseHeadersPolicyOutput(args: GetResponseHeadersPolicyOutputArgs, opts?: InvokeOptions): Output<GetResponseHeadersPolicyResult>
def get_response_headers_policy(id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetResponseHeadersPolicyResult
def get_response_headers_policy_output(id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetResponseHeadersPolicyResult]
func LookupResponseHeadersPolicy(ctx *Context, args *LookupResponseHeadersPolicyArgs, opts ...InvokeOption) (*LookupResponseHeadersPolicyResult, error)
func LookupResponseHeadersPolicyOutput(ctx *Context, args *LookupResponseHeadersPolicyOutputArgs, opts ...InvokeOption) LookupResponseHeadersPolicyResultOutput

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

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

The following arguments are supported:

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

getResponseHeadersPolicy Result

The following output properties are available:

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