1. Packages
  2. AWS Native
  3. API Docs
  4. cloudfront
  5. getResponseHeadersPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.cloudfront.getResponseHeadersPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    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

    ResponseHeadersPolicyRemoveHeader

    Header string
    Header string
    header String
    header string
    header str
    header String

    ResponseHeadersPolicyRemoveHeadersConfig

    ResponseHeadersPolicySecurityHeadersConfig

    ResponseHeadersPolicyServerTimingHeadersConfig

    Enabled bool
    SamplingRate float64
    enabled Boolean
    samplingRate Double
    enabled boolean
    samplingRate number
    enabled Boolean
    samplingRate Number

    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
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi