Interface ComputeRegionNetworkFirewallPolicyRuleConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeRegionNetworkFirewallPolicyRuleConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.799Z") @Stability(Stable) public interface ComputeRegionNetworkFirewallPolicyRuleConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRegionNetworkFirewallPolicyRuleConfig.BuilderA builder forComputeRegionNetworkFirewallPolicyRuleConfigstatic classComputeRegionNetworkFirewallPolicyRuleConfig.Jsii$ProxyAn implementation forComputeRegionNetworkFirewallPolicyRuleConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRegionNetworkFirewallPolicyRuleConfig.Builderbuilder()StringgetAction()The Action to perform when the client connection triggers the rule.default StringgetDescription()An optional description for this resource.StringgetDirection()The direction in which this rule applies.default ObjectgetDisabled()Denotes whether the firewall policy rule is disabled.default ObjectgetEnableLogging()Denotes whether to enable logging for a particular rule.StringgetFirewallPolicy()The firewall policy of the resource.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#id ComputeRegionNetworkFirewallPolicyRule#id}.ComputeRegionNetworkFirewallPolicyRuleMatchgetMatch()match block.NumbergetPriority()An integer indicating the priority of a rule in the list.default StringgetProject()The project for the resource.default StringgetRegion()The location of this resource.default StringgetRuleName()An optional name for the rule.default StringgetSecurityProfileGroup()A fully-qualified URL of a SecurityProfileGroup resource.default ObjectgetTargetSecureTags()target_secure_tags block.default List<String>getTargetServiceAccounts()A list of service accounts indicating the sets of instances that are applied with this rule.default ComputeRegionNetworkFirewallPolicyRuleTimeoutsgetTimeouts()timeouts block.default ObjectgetTlsInspect()Boolean flag indicating if the traffic should be TLS decrypted.
-
-
-
Method Detail
-
getAction
@Stability(Stable) @NotNull String getAction()
The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#action ComputeRegionNetworkFirewallPolicyRule#action}
-
getDirection
@Stability(Stable) @NotNull String getDirection()
The direction in which this rule applies. Possible values: INGRESS, EGRESS.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#direction ComputeRegionNetworkFirewallPolicyRule#direction}
-
getFirewallPolicy
@Stability(Stable) @NotNull String getFirewallPolicy()
The firewall policy of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#firewall_policy ComputeRegionNetworkFirewallPolicyRule#firewall_policy}
-
getMatch
@Stability(Stable) @NotNull ComputeRegionNetworkFirewallPolicyRuleMatch getMatch()
match block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#match ComputeRegionNetworkFirewallPolicyRule#match}
-
getPriority
@Stability(Stable) @NotNull Number getPriority()
An 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 prority. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#priority ComputeRegionNetworkFirewallPolicyRule#priority}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description for this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#description ComputeRegionNetworkFirewallPolicyRule#description}
-
getDisabled
@Stability(Stable) @Nullable default Object getDisabled()
Denotes whether the firewall policy rule is disabled.When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#disabled ComputeRegionNetworkFirewallPolicyRule#disabled}
-
getEnableLogging
@Stability(Stable) @Nullable default Object getEnableLogging()
Denotes whether to enable logging for a particular rule.If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#enable_logging ComputeRegionNetworkFirewallPolicyRule#enable_logging}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#id ComputeRegionNetworkFirewallPolicyRule#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.
-
getProject
@Stability(Stable) @Nullable default String getProject()
The project for the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#project ComputeRegionNetworkFirewallPolicyRule#project}
-
getRegion
@Stability(Stable) @Nullable default String getRegion()
The location of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#region ComputeRegionNetworkFirewallPolicyRule#region}
-
getRuleName
@Stability(Stable) @Nullable default String getRuleName()
An optional name for the rule. This field is not a unique identifier and can be updated.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#rule_name ComputeRegionNetworkFirewallPolicyRule#rule_name}
-
getSecurityProfileGroup
@Stability(Stable) @Nullable default String getSecurityProfileGroup()
A fully-qualified URL of a SecurityProfileGroup resource.Example: https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group. It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#security_profile_group ComputeRegionNetworkFirewallPolicyRule#security_profile_group}
-
getTargetSecureTags
@Stability(Stable) @Nullable default Object getTargetSecureTags()
target_secure_tags block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#target_secure_tags ComputeRegionNetworkFirewallPolicyRule#target_secure_tags}
-
getTargetServiceAccounts
@Stability(Stable) @Nullable default List<String> getTargetServiceAccounts()
A list of service accounts indicating the sets of instances that are applied with this rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#target_service_accounts ComputeRegionNetworkFirewallPolicyRule#target_service_accounts}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeRegionNetworkFirewallPolicyRuleTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#timeouts ComputeRegionNetworkFirewallPolicyRule#timeouts}
-
getTlsInspect
@Stability(Stable) @Nullable default Object getTlsInspect()
Boolean flag indicating if the traffic should be TLS decrypted.It can be set only if action = 'apply_security_profile_group' and cannot be set for other actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_network_firewall_policy_rule#tls_inspect ComputeRegionNetworkFirewallPolicyRule#tls_inspect}
-
builder
@Stability(Stable) static ComputeRegionNetworkFirewallPolicyRuleConfig.Builder builder()
-
-