Class OriginRequestPolicyArgs


  • public final class OriginRequestPolicyArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • comment

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()
        Returns:
        Comment to describe the origin request policy.
      • cookiesConfig

        public com.pulumi.core.Output<OriginRequestPolicyCookiesConfigArgs> cookiesConfig()
        Returns:
        Object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Cookies Config for more information.
      • headersConfig

        public com.pulumi.core.Output<OriginRequestPolicyHeadersConfigArgs> headersConfig()
        Returns:
        Object that determines whether any HTTP headers (and if so, which headers) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Headers Config for more information.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Unique name to identify the origin request policy.
      • queryStringsConfig

        public com.pulumi.core.Output<OriginRequestPolicyQueryStringsConfigArgs> queryStringsConfig()
        Returns:
        Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.