Class ComputeSecurityPolicyRuleAConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRuleAConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeSecurityPolicyRuleAConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeSecurityPolicyRuleAConfig
@Stability(Stable) @Internal public static final class ComputeSecurityPolicyRuleAConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeSecurityPolicyRuleAConfig
An implementation forComputeSecurityPolicyRuleAConfig
-
-
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_security_policy_rule.ComputeSecurityPolicyRuleAConfig
ComputeSecurityPolicyRuleAConfig.Builder, ComputeSecurityPolicyRuleAConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeSecurityPolicyRuleAConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeSecurityPolicyRuleAConfig.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)StringgetAction()The Action to perform when the rule is matched.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()An optional description of this resource.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#id ComputeSecurityPolicyRuleA#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ComputeSecurityPolicyRuleMatchAgetMatch()match block.ComputeSecurityPolicyRulePreconfiguredWafConfiggetPreconfiguredWafConfig()preconfigured_waf_config block.ObjectgetPreview()If set to true, the specified action is not enforced.NumbergetPriority()An integer indicating the priority of a rule in the list.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#project ComputeSecurityPolicyRuleA#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ComputeSecurityPolicyRuleRateLimitOptionsAgetRateLimitOptions()rate_limit_options block.StringgetSecurityPolicy()The name of the security policy this rule belongs to.ComputeSecurityPolicyRuleTimeoutsgetTimeouts()timeouts block.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(ComputeSecurityPolicyRuleAConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeSecurityPolicyRuleAConfig.Builder.
-
-
Method Detail
-
getAction
public final String getAction()
Description copied from interface:ComputeSecurityPolicyRuleAConfigThe Action to perform when the rule is matched. The following are the valid actions:.* allow: allow access to target. * deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUS are 403, 404, and 502. * rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rateLimitOptions to be set. * redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. * throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rateLimitOptions to be set for this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#action ComputeSecurityPolicyRuleA#action}
- Specified by:
getActionin interfaceComputeSecurityPolicyRuleAConfig
-
getPriority
public final Number getPriority()
Description copied from interface:ComputeSecurityPolicyRuleAConfigAn integer indicating the priority of a rule in the list.The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#priority ComputeSecurityPolicyRuleA#priority}
- Specified by:
getPriorityin interfaceComputeSecurityPolicyRuleAConfig
-
getSecurityPolicy
public final String getSecurityPolicy()
Description copied from interface:ComputeSecurityPolicyRuleAConfigThe name of the security policy this rule belongs to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#security_policy ComputeSecurityPolicyRuleA#security_policy}
- Specified by:
getSecurityPolicyin interfaceComputeSecurityPolicyRuleAConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeSecurityPolicyRuleAConfigAn optional description of this resource. Provide this property when you create the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#description ComputeSecurityPolicyRuleA#description}
- Specified by:
getDescriptionin interfaceComputeSecurityPolicyRuleAConfig
-
getId
public final String getId()
Description copied from interface:ComputeSecurityPolicyRuleAConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#id ComputeSecurityPolicyRuleA#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceComputeSecurityPolicyRuleAConfig
-
getMatch
public final ComputeSecurityPolicyRuleMatchA getMatch()
Description copied from interface:ComputeSecurityPolicyRuleAConfigmatch block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#match ComputeSecurityPolicyRuleA#match}
- Specified by:
getMatchin interfaceComputeSecurityPolicyRuleAConfig
-
getPreconfiguredWafConfig
public final ComputeSecurityPolicyRulePreconfiguredWafConfig getPreconfiguredWafConfig()
Description copied from interface:ComputeSecurityPolicyRuleAConfigpreconfigured_waf_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#preconfigured_waf_config ComputeSecurityPolicyRuleA#preconfigured_waf_config}
- Specified by:
getPreconfiguredWafConfigin interfaceComputeSecurityPolicyRuleAConfig
-
getPreview
public final Object getPreview()
Description copied from interface:ComputeSecurityPolicyRuleAConfigIf set to true, the specified action is not enforced.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#preview ComputeSecurityPolicyRuleA#preview}
- Specified by:
getPreviewin interfaceComputeSecurityPolicyRuleAConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeSecurityPolicyRuleAConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#project ComputeSecurityPolicyRuleA#project}.- Specified by:
getProjectin interfaceComputeSecurityPolicyRuleAConfig
-
getRateLimitOptions
public final ComputeSecurityPolicyRuleRateLimitOptionsA getRateLimitOptions()
Description copied from interface:ComputeSecurityPolicyRuleAConfigrate_limit_options block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#rate_limit_options ComputeSecurityPolicyRuleA#rate_limit_options}
- Specified by:
getRateLimitOptionsin interfaceComputeSecurityPolicyRuleAConfig
-
getTimeouts
public final ComputeSecurityPolicyRuleTimeouts getTimeouts()
Description copied from interface:ComputeSecurityPolicyRuleAConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#timeouts ComputeSecurityPolicyRuleA#timeouts}
- Specified by:
getTimeoutsin interfaceComputeSecurityPolicyRuleAConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-