Interface ComputeSecurityPolicyRule

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ComputeSecurityPolicyRule.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.956Z")
    @Stability(Stable)
    public interface ComputeSecurityPolicyRule
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getAction

        @Stability(Stable)
        @NotNull
        String getAction()
        Action to take when match matches the request.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#action ComputeSecurityPolicy#action}

      • getMatch

        @Stability(Stable)
        @NotNull
        ComputeSecurityPolicyRuleMatch getMatch()
        match block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#match ComputeSecurityPolicy#match}

      • getPriority

        @Stability(Stable)
        @NotNull
        Number getPriority()
        An unique positive integer indicating the priority of evaluation for a rule.

        Rules are evaluated from highest priority (lowest numerically) to lowest priority (highest numerically) in order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#priority ComputeSecurityPolicy#priority}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        An optional description of this rule. Max size is 64.

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

      • getHeaderAction

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyRuleHeaderAction getHeaderAction()
        header_action block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#header_action ComputeSecurityPolicy#header_action}

      • getPreview

        @Stability(Stable)
        @Nullable
        default Object getPreview()
        When set to true, the action specified above is not enforced.

        Stackdriver logs for requests that trigger a preview action are annotated as such. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#preview ComputeSecurityPolicy#preview}

      • getRateLimitOptions

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyRuleRateLimitOptions getRateLimitOptions()
        rate_limit_options block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#rate_limit_options ComputeSecurityPolicy#rate_limit_options}

      • getRedirectOptions

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyRuleRedirectOptions getRedirectOptions()
        redirect_options block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#redirect_options ComputeSecurityPolicy#redirect_options}