SecurityPolicyArgs class

The set of arguments for SecurityPolicy. The set of arguments for SecurityPolicy.

Constructors

SecurityPolicyArgs({Input<SecurityPolicyAdaptiveProtectionConfig?>? adaptiveProtectionConfig, Input<SecurityPolicyAdvancedOptionsConfig?>? advancedOptionsConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? project, Input<SecurityPolicyRecaptchaOptionsConfig?>? recaptchaOptionsConfig, Input<List<SecurityPolicyRule>?>? rules, Input<String?>? type})
Creates a new SecurityPolicyArgs. adaptiveProtectionConfig Configuration for Google Cloud Armor Adaptive Protection. Structure is documented below. advancedOptionsConfig Advanced Configuration Options. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description An optional description of this security policy. Max size is 2048. labels Labels to apply to this address. A list of key->value pairs. name The name of the security policy. project The project in which the resource belongs. If it recaptchaOptionsConfig reCAPTCHA Configuration Options. Structure is documented below. rules The set of rules that belong to this policy. There must always be a default type The type indicates the intended use of the security policy. This field can be set only at resource creation time.
const
SecurityPolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

adaptiveProtectionConfig → Input<SecurityPolicyAdaptiveProtectionConfig?>?
Configuration for Google Cloud Armor Adaptive Protection. Structure is documented below.
final
advancedOptionsConfig → Input<SecurityPolicyAdvancedOptionsConfig?>?
Advanced Configuration Options. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional description of this security policy. Max size is 2048.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Labels to apply to this address. A list of key->value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
name → Input<String?>?
The name of the security policy.
final
project → Input<String?>?
The project in which the resource belongs. If it is not provided, the provider project is used.
final
recaptchaOptionsConfig → Input<SecurityPolicyRecaptchaOptionsConfig?>?
reCAPTCHA Configuration Options. Structure is documented below.
final
rules → Input<List<SecurityPolicyRule>?>?
The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String?>?
The type indicates the intended use of the security policy. This field can be set only at resource creation time.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited