Interface ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:19.079Z") @Stability(Stable) public interface ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy.BuilderA builder forComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicystatic classComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy.Jsii$ProxyAn implementation forComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy.Builderbuilder()default ObjectgetAllowCredentials()In response to a preflight request, setting this to true indicates that the actual request can include user credentials.default List<String>getAllowHeaders()Specifies the content for the Access-Control-Allow-Headers header.default List<String>getAllowMethods()Specifies the content for the Access-Control-Allow-Methods header.default List<String>getAllowOriginRegexes()Specifies the regular expression patterns that match allowed origins.default List<String>getAllowOrigins()Specifies the list of origins that will be allowed to do CORS requests.ObjectgetDisabled()If true, specifies the CORS policy is disabled.default List<String>getExposeHeaders()Specifies the content for the Access-Control-Expose-Headers header.default NumbergetMaxAge()Specifies how long the results of a preflight request can be cached.
-
-
-
Method Detail
-
getDisabled
@Stability(Stable) @NotNull Object getDisabled()
If true, specifies the CORS policy is disabled.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#disabled ComputeUrlMap#disabled}
-
getAllowCredentials
@Stability(Stable) @Nullable default Object getAllowCredentials()
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. Defaults to false. 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}
-
getAllowHeaders
@Stability(Stable) @Nullable default List<String> getAllowHeaders()
Specifies the content for the Access-Control-Allow-Headers header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#allow_headers ComputeUrlMap#allow_headers}
-
getAllowMethods
@Stability(Stable) @Nullable default List<String> getAllowMethods()
Specifies the content for the Access-Control-Allow-Methods header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#allow_methods ComputeUrlMap#allow_methods}
-
getAllowOriginRegexes
@Stability(Stable) @Nullable default List<String> getAllowOriginRegexes()
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 allow_origins or allow_origin_regex. 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}
-
getAllowOrigins
@Stability(Stable) @Nullable default List<String> getAllowOrigins()
Specifies the list of origins that will be allowed to do CORS requests.An origin is allowed if it matches either allow_origins or allow_origin_regex. 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}
-
getExposeHeaders
@Stability(Stable) @Nullable default List<String> getExposeHeaders()
Specifies the content for the Access-Control-Expose-Headers header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#expose_headers ComputeUrlMap#expose_headers}
-
getMaxAge
@Stability(Stable) @Nullable default Number getMaxAge()
Specifies how long the results of a preflight request can be cached.This translates to the content for 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}
-
builder
@Stability(Stable) static ComputeUrlMapPathMatcherPathRuleRouteActionCorsPolicy.Builder builder()
-
-