Interface ComputeSecurityPolicyRuleRedirectOptions

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

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

      • getType

        @Stability(Stable)
        @NotNull
        String getType()
        Type of the redirect action.

        Available options: EXTERNAL_302: Must specify the corresponding target field in config. GOOGLE_RECAPTCHA: Cannot specify target field in config. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}

      • getTarget

        @Stability(Stable)
        @Nullable
        default String getTarget()
        Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

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