Class ComputeFirewallPolicyRuleConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getAction

        public final String getAction()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#action ComputeFirewallPolicyRule#action}

        Specified by:
        getAction in interface ComputeFirewallPolicyRuleConfig
      • getDirection

        public final String getDirection()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#direction ComputeFirewallPolicyRule#direction}

        Specified by:
        getDirection in interface ComputeFirewallPolicyRuleConfig
      • getFirewallPolicy

        public final String getFirewallPolicy()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        The firewall policy of the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#firewall_policy ComputeFirewallPolicyRule#firewall_policy}

        Specified by:
        getFirewallPolicy in interface ComputeFirewallPolicyRuleConfig
      • getPriority

        public final Number getPriority()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#priority ComputeFirewallPolicyRule#priority}

        Specified by:
        getPriority in interface ComputeFirewallPolicyRuleConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        An optional description for this resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#description ComputeFirewallPolicyRule#description}

        Specified by:
        getDescription in interface ComputeFirewallPolicyRuleConfig
      • getDisabled

        public final Object getDisabled()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#disabled ComputeFirewallPolicyRule#disabled}

        Specified by:
        getDisabled in interface ComputeFirewallPolicyRuleConfig
      • getEnableLogging

        public final Object getEnableLogging()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#enable_logging ComputeFirewallPolicyRule#enable_logging}

        Specified by:
        getEnableLogging in interface ComputeFirewallPolicyRuleConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#id ComputeFirewallPolicyRule#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:
        getId in interface ComputeFirewallPolicyRuleConfig
      • getSecurityProfileGroup

        public final String getSecurityProfileGroup()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#security_profile_group ComputeFirewallPolicyRule#security_profile_group}

        Specified by:
        getSecurityProfileGroup in interface ComputeFirewallPolicyRuleConfig
      • getTargetResources

        public final List<String> getTargetResources()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        A list of network resource URLs to which this rule applies.

        This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_firewall_policy_rule#target_resources ComputeFirewallPolicyRule#target_resources}

        Specified by:
        getTargetResources in interface ComputeFirewallPolicyRuleConfig
      • getTargetServiceAccounts

        public final List<String> getTargetServiceAccounts()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#target_service_accounts ComputeFirewallPolicyRule#target_service_accounts}

        Specified by:
        getTargetServiceAccounts in interface ComputeFirewallPolicyRuleConfig
      • getTlsInspect

        public final Object getTlsInspect()
        Description copied from interface: ComputeFirewallPolicyRuleConfig
        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_firewall_policy_rule#tls_inspect ComputeFirewallPolicyRule#tls_inspect}

        Specified by:
        getTlsInspect in interface ComputeFirewallPolicyRuleConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object