Interface ComputeSecurityPolicyConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    ComputeSecurityPolicyConfig.Jsii$Proxy

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

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        The name of the security policy.

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

      • getAdaptiveProtectionConfig

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyAdaptiveProtectionConfig getAdaptiveProtectionConfig()
        adaptive_protection_config block.

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

      • getAdvancedOptionsConfig

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyAdvancedOptionsConfig getAdvancedOptionsConfig()
        advanced_options_config block.

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

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        An optional description of this security policy. Max size is 2048.

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

      • 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_security_policy#id ComputeSecurityPolicy#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 in which the resource belongs. If it is not provided, the provider project is used.

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

      • getRecaptchaOptionsConfig

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyRecaptchaOptionsConfig getRecaptchaOptionsConfig()
        recaptcha_options_config block.

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

      • getRule

        @Stability(Stable)
        @Nullable
        default Object getRule()
        rule block.

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

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default ComputeSecurityPolicyTimeouts getTimeouts()
        timeouts block.

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

      • getType

        @Stability(Stable)
        @Nullable
        default String getType()
        The type indicates the intended use of the security policy.

        CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}