Class RegionUrlMapDefaultRouteActionCorsPolicyArgs


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

      • allowCredentials

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> allowCredentials()
        Returns:
        In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
      • allowHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowHeaders()
        Returns:
        Specifies the content for the Access-Control-Allow-Headers header.
      • allowMethods

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowMethods()
        Returns:
        Specifies the content for the Access-Control-Allow-Methods header.
      • allowOriginRegexes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowOriginRegexes()
        Returns:
        Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
      • allowOrigins

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowOrigins()
        Returns:
        Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
      • exposeHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> exposeHeaders()
        Returns:
        Specifies the content for the Access-Control-Expose-Headers header.
      • maxAge

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAge()
        Returns:
        Specifies how long results of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.