Class ComputeNetworkFirewallPolicyRule

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.613Z")
    @Stability(Stable)
    public class ComputeNetworkFirewallPolicyRule
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule google_compute_network_firewall_policy_rule}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • ComputeNetworkFirewallPolicyRule

        protected ComputeNetworkFirewallPolicyRule​(software.amazon.jsii.JsiiObjectRef objRef)
      • ComputeNetworkFirewallPolicyRule

        protected ComputeNetworkFirewallPolicyRule​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ComputeNetworkFirewallPolicyRule

        @Stability(Stable)
        public ComputeNetworkFirewallPolicyRule​(@NotNull
                                                software.constructs.Construct scope,
                                                @NotNull
                                                String id,
                                                @NotNull
                                                ComputeNetworkFirewallPolicyRuleConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network_firewall_policy_rule google_compute_network_firewall_policy_rule} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a ComputeNetworkFirewallPolicyRule resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeNetworkFirewallPolicyRule to import. This parameter is required.
        importFromId - The id of the existing ComputeNetworkFirewallPolicyRule that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the ComputeNetworkFirewallPolicyRule to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a ComputeNetworkFirewallPolicyRule resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeNetworkFirewallPolicyRule to import. This parameter is required.
        importFromId - The id of the existing ComputeNetworkFirewallPolicyRule that should be imported. This parameter is required.
      • putTargetSecureTags

        @Stability(Stable)
        public void putTargetSecureTags​(@NotNull
                                        Object value)
        Parameters:
        value - This parameter is required.
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetDisabled

        @Stability(Stable)
        public void resetDisabled()
      • resetEnableLogging

        @Stability(Stable)
        public void resetEnableLogging()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetRuleName

        @Stability(Stable)
        public void resetRuleName()
      • resetSecurityProfileGroup

        @Stability(Stable)
        public void resetSecurityProfileGroup()
      • resetTargetSecureTags

        @Stability(Stable)
        public void resetTargetSecureTags()
      • resetTargetServiceAccounts

        @Stability(Stable)
        public void resetTargetServiceAccounts()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • resetTlsInspect

        @Stability(Stable)
        public void resetTlsInspect()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getKind

        @Stability(Stable)
        @NotNull
        public String getKind()
      • getRuleTupleCount

        @Stability(Stable)
        @NotNull
        public Number getRuleTupleCount()
      • getActionInput

        @Stability(Stable)
        @Nullable
        public String getActionInput()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getDirectionInput

        @Stability(Stable)
        @Nullable
        public String getDirectionInput()
      • getDisabledInput

        @Stability(Stable)
        @Nullable
        public Object getDisabledInput()
      • getEnableLoggingInput

        @Stability(Stable)
        @Nullable
        public Object getEnableLoggingInput()
      • getFirewallPolicyInput

        @Stability(Stable)
        @Nullable
        public String getFirewallPolicyInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getPriorityInput

        @Stability(Stable)
        @Nullable
        public Number getPriorityInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getRuleNameInput

        @Stability(Stable)
        @Nullable
        public String getRuleNameInput()
      • getSecurityProfileGroupInput

        @Stability(Stable)
        @Nullable
        public String getSecurityProfileGroupInput()
      • getTargetSecureTagsInput

        @Stability(Stable)
        @Nullable
        public Object getTargetSecureTagsInput()
      • getTargetServiceAccountsInput

        @Stability(Stable)
        @Nullable
        public List<String> getTargetServiceAccountsInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getTlsInspectInput

        @Stability(Stable)
        @Nullable
        public Object getTlsInspectInput()
      • getAction

        @Stability(Stable)
        @NotNull
        public String getAction()
      • setAction

        @Stability(Stable)
        public void setAction​(@NotNull
                              String value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getDirection

        @Stability(Stable)
        @NotNull
        public String getDirection()
      • setDirection

        @Stability(Stable)
        public void setDirection​(@NotNull
                                 String value)
      • getDisabled

        @Stability(Stable)
        @NotNull
        public Object getDisabled()
      • setDisabled

        @Stability(Stable)
        public void setDisabled​(@NotNull
                                Boolean value)
      • setDisabled

        @Stability(Stable)
        public void setDisabled​(@NotNull
                                com.hashicorp.cdktf.IResolvable value)
      • getEnableLogging

        @Stability(Stable)
        @NotNull
        public Object getEnableLogging()
      • setEnableLogging

        @Stability(Stable)
        public void setEnableLogging​(@NotNull
                                     Boolean value)
      • setEnableLogging

        @Stability(Stable)
        public void setEnableLogging​(@NotNull
                                     com.hashicorp.cdktf.IResolvable value)
      • getFirewallPolicy

        @Stability(Stable)
        @NotNull
        public String getFirewallPolicy()
      • setFirewallPolicy

        @Stability(Stable)
        public void setFirewallPolicy​(@NotNull
                                      String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getPriority

        @Stability(Stable)
        @NotNull
        public Number getPriority()
      • setPriority

        @Stability(Stable)
        public void setPriority​(@NotNull
                                Number value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getRuleName

        @Stability(Stable)
        @NotNull
        public String getRuleName()
      • setRuleName

        @Stability(Stable)
        public void setRuleName​(@NotNull
                                String value)
      • getSecurityProfileGroup

        @Stability(Stable)
        @NotNull
        public String getSecurityProfileGroup()
      • setSecurityProfileGroup

        @Stability(Stable)
        public void setSecurityProfileGroup​(@NotNull
                                            String value)
      • getTargetServiceAccounts

        @Stability(Stable)
        @NotNull
        public List<String> getTargetServiceAccounts()
      • setTargetServiceAccounts

        @Stability(Stable)
        public void setTargetServiceAccounts​(@NotNull
                                             List<String> value)
      • getTlsInspect

        @Stability(Stable)
        @NotNull
        public Object getTlsInspect()
      • setTlsInspect

        @Stability(Stable)
        public void setTlsInspect​(@NotNull
                                  Boolean value)
      • setTlsInspect

        @Stability(Stable)
        public void setTlsInspect​(@NotNull
                                  com.hashicorp.cdktf.IResolvable value)