Class ComputeUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy

    • Method Detail

      • getAllowCredentials

        public final Object getAllowCredentials()
        Description copied from interface: ComputeUrlMapDefaultRouteActionCorsPolicy
        In response to a preflight request, setting this to true indicates that the actual request can include user credentials.

        This translates to the Access-Control-Allow-Credentials header. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#allow_credentials ComputeUrlMap#allow_credentials}

        Specified by:
        getAllowCredentials in interface ComputeUrlMapDefaultRouteActionCorsPolicy
      • getAllowOriginRegexes

        public final List<String> getAllowOriginRegexes()
        Description copied from interface: ComputeUrlMapDefaultRouteActionCorsPolicy
        Specifies the regular 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#allow_origin_regexes ComputeUrlMap#allow_origin_regexes}

        Specified by:
        getAllowOriginRegexes in interface ComputeUrlMapDefaultRouteActionCorsPolicy
      • getAllowOrigins

        public final List<String> getAllowOrigins()
        Description copied from interface: ComputeUrlMapDefaultRouteActionCorsPolicy
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#allow_origins ComputeUrlMap#allow_origins}

        Specified by:
        getAllowOrigins in interface ComputeUrlMapDefaultRouteActionCorsPolicy
      • getDisabled

        public final Object getDisabled()
        Description copied from interface: ComputeUrlMapDefaultRouteActionCorsPolicy
        If true, specifies the CORS policy is disabled.

        The default value is false, which indicates that the CORS policy is in effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#disabled ComputeUrlMap#disabled}

        Specified by:
        getDisabled in interface ComputeUrlMapDefaultRouteActionCorsPolicy
      • getMaxAge

        public final Number getMaxAge()
        Description copied from interface: ComputeUrlMapDefaultRouteActionCorsPolicy
        Specifies how long results of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#max_age ComputeUrlMap#max_age}

        Specified by:
        getMaxAge in interface ComputeUrlMapDefaultRouteActionCorsPolicy
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object