Class ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
@Stability(Stable) @Internal public static final class ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
An implementation forComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Builder, ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetAllowCredentials()In response to a preflight request, setting this to true indicates that the actual request can include user credentials.List<String>getAllowHeaders()Specifies the content for the Access-Control-Allow-Headers header.List<String>getAllowMethods()Specifies the content for the Access-Control-Allow-Methods header.List<String>getAllowOriginRegexes()Specifies the regular expression patterns that match allowed origins.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.List<String>getExposeHeaders()Specifies the content for the Access-Control-Expose-Headers header.NumbergetMaxAge()Specifies how long results of a preflight request can be cached in seconds.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy.Builder.
-
-
Method Detail
-
getAllowCredentials
public final Object getAllowCredentials()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicyIn 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:
getAllowCredentialsin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getAllowHeaders
public final List<String> getAllowHeaders()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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}
- Specified by:
getAllowHeadersin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getAllowMethods
public final List<String> getAllowMethods()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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}
- Specified by:
getAllowMethodsin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getAllowOriginRegexes
public final List<String> getAllowOriginRegexes()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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:
getAllowOriginRegexesin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getAllowOrigins
public final List<String> getAllowOrigins()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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:
getAllowOriginsin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getDisabled
public final Object getDisabled()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicyIf 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:
getDisabledin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getExposeHeaders
public final List<String> getExposeHeaders()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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}
- Specified by:
getExposeHeadersin interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
getMaxAge
public final Number getMaxAge()
Description copied from interface:ComputeUrlMapPathMatcherDefaultRouteActionCorsPolicySpecifies 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:
getMaxAgein interfaceComputeUrlMapPathMatcherDefaultRouteActionCorsPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-