Class ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionUrlMapDefaultRouteActionCorsPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionUrlMapDefaultRouteActionCorsPolicy
@Stability(Stable) @Internal public static final class ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionUrlMapDefaultRouteActionCorsPolicy
An implementation forComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
-
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_region_url_map.ComputeRegionUrlMapDefaultRouteActionCorsPolicy
ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Builder, ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionUrlMapDefaultRouteActionCorsPolicy.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 regualar 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, the setting 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(ComputeRegionUrlMapDefaultRouteActionCorsPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionUrlMapDefaultRouteActionCorsPolicy.Builder.
-
-
Method Detail
-
getAllowCredentials
public final Object getAllowCredentials()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicyIn 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#allow_credentials ComputeRegionUrlMap#allow_credentials}
- Specified by:
getAllowCredentialsin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getAllowHeaders
public final List<String> getAllowHeaders()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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_region_url_map#allow_headers ComputeRegionUrlMap#allow_headers}
- Specified by:
getAllowHeadersin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getAllowMethods
public final List<String> getAllowMethods()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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_region_url_map#allow_methods ComputeRegionUrlMap#allow_methods}
- Specified by:
getAllowMethodsin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getAllowOriginRegexes
public final List<String> getAllowOriginRegexes()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#allow_origin_regexes ComputeRegionUrlMap#allow_origin_regexes}
- Specified by:
getAllowOriginRegexesin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getAllowOrigins
public final List<String> getAllowOrigins()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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_region_url_map#allow_origins ComputeRegionUrlMap#allow_origins}
- Specified by:
getAllowOriginsin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getDisabled
public final Object getDisabled()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicyIf true, the setting specifies the CORS policy is disabled.The default value of 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_region_url_map#disabled ComputeRegionUrlMap#disabled}
- Specified by:
getDisabledin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getExposeHeaders
public final List<String> getExposeHeaders()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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_region_url_map#expose_headers ComputeRegionUrlMap#expose_headers}
- Specified by:
getExposeHeadersin interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
getMaxAge
public final Number getMaxAge()
Description copied from interface:ComputeRegionUrlMapDefaultRouteActionCorsPolicySpecifies 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_region_url_map#max_age ComputeRegionUrlMap#max_age}
- Specified by:
getMaxAgein interfaceComputeRegionUrlMapDefaultRouteActionCorsPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-