RegionSecurityPolicyArgs class
The set of arguments for RegionSecurityPolicy. The set of arguments for RegionSecurityPolicy.
Constructors
-
RegionSecurityPolicyArgs({Input<
RegionSecurityPolicyAdvancedOptionsConfig?> ? advancedOptionsConfig, Input<RegionSecurityPolicyDdosProtectionConfig?> ? ddosProtectionConfig, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? name, Input<String?> ? project, Input<String?> ? region, Input<List< ? rules, Input<RegionSecurityPolicyRule> ?>String?> ? type, Input<List< ? userDefinedFields})RegionSecurityPolicyUserDefinedField> ?> -
Creates a new RegionSecurityPolicyArgs.
advancedOptionsConfigAdvanced Options Config of this security policy.ddosProtectionConfigConfiguration for Google Cloud Armor DDOS Proctection Config.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource. Provide this property when you create the resource.nameName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.projectThe ID of the project in which the resource belongs.regionThe Region in which the created Region Security Policy should reside.rulesThe 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.typeThe type indicates the intended use of the security policy.userDefinedFieldsDefinitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.const -
RegionSecurityPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
advancedOptionsConfig
→ Input<
RegionSecurityPolicyAdvancedOptionsConfig?> ? -
Advanced Options Config of this security policy.
Structure is documented below.
final
-
ddosProtectionConfig
→ Input<
RegionSecurityPolicyDdosProtectionConfig?> ? -
Configuration for Google Cloud Armor DDOS Proctection Config.
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 resource. Provide this property when you create the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
The Region in which the created Region Security Policy should reside.
If it is not provided, the provider region is used.
final
-
rules
→ Input<
List< ?RegionSecurityPolicyRule> ?> -
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.
final
-
userDefinedFields
→ Input<
List< ?RegionSecurityPolicyUserDefinedField> ?> -
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits.
Rules may then specify matching values for these fields.
Structure is documented below.
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