Class ComputeUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeUrlMapDefaultRouteActionCorsPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeUrlMapDefaultRouteActionCorsPolicy
@Stability(Stable) @Internal public static final class ComputeUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeUrlMapDefaultRouteActionCorsPolicy
An implementation forComputeUrlMapDefaultRouteActionCorsPolicy
-
-
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.ComputeUrlMapDefaultRouteActionCorsPolicy
ComputeUrlMapDefaultRouteActionCorsPolicy.Builder, ComputeUrlMapDefaultRouteActionCorsPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeUrlMapDefaultRouteActionCorsPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeUrlMapDefaultRouteActionCorsPolicy.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(ComputeUrlMapDefaultRouteActionCorsPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeUrlMapDefaultRouteActionCorsPolicy.Builder.
-
-
Method Detail
-
getAllowCredentials
public final Object getAllowCredentials()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicyIn 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getAllowHeaders
public final List<String> getAllowHeaders()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getAllowMethods
public final List<String> getAllowMethods()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getAllowOriginRegexes
public final List<String> getAllowOriginRegexes()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getAllowOrigins
public final List<String> getAllowOrigins()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getDisabled
public final Object getDisabled()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicyIf 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getExposeHeaders
public final List<String> getExposeHeaders()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
getMaxAge
public final Number getMaxAge()
Description copied from interface:ComputeUrlMapDefaultRouteActionCorsPolicySpecifies 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 interfaceComputeUrlMapDefaultRouteActionCorsPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-