Class ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
@Stability(Stable) @Internal public static final class ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
An implementation forComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
-
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.ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Builder, ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.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 the results of a preflight request can be cached.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(ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy.Builder.
-
-
Method Detail
-
getAllowCredentials
public final Object getAllowCredentials()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicyIn 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_region_url_map#allow_credentials ComputeRegionUrlMap#allow_credentials}
- Specified by:
getAllowCredentialsin interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getAllowHeaders
public final List<String> getAllowHeaders()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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 interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getAllowMethods
public final List<String> getAllowMethods()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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 interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getAllowOriginRegexes
public final List<String> getAllowOriginRegexes()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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_region_url_map#allow_origin_regexes ComputeRegionUrlMap#allow_origin_regexes}
- Specified by:
getAllowOriginRegexesin interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getAllowOrigins
public final List<String> getAllowOrigins()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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_region_url_map#allow_origins ComputeRegionUrlMap#allow_origins}
- Specified by:
getAllowOriginsin interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getDisabled
public final Object getDisabled()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicyIf true, specifies the CORS policy is disabled. which indicates that the CORS policy is in effect. Defaults to false.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 interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getExposeHeaders
public final List<String> getExposeHeaders()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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 interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
getMaxAge
public final Number getMaxAge()
Description copied from interface:ComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicySpecifies 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_region_url_map#max_age ComputeRegionUrlMap#max_age}
- Specified by:
getMaxAgein interfaceComputeRegionUrlMapPathMatcherRouteRulesRouteActionCorsPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-