Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

SecurityPolicy

Creates a new policy in the specified project using the data included in the request.

Create a SecurityPolicy Resource

new SecurityPolicy(name: string, args?: SecurityPolicyArgs, opts?: CustomResourceOptions);
@overload
def SecurityPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   adaptive_protection_config: Optional[SecurityPolicyAdaptiveProtectionConfigArgs] = None,
                   advanced_options_config: Optional[SecurityPolicyAdvancedOptionsConfigArgs] = None,
                   associations: Optional[Sequence[SecurityPolicyAssociationArgs]] = None,
                   cloud_armor_config: Optional[SecurityPolicyCloudArmorConfigArgs] = None,
                   ddos_protection_config: Optional[SecurityPolicyDdosProtectionConfigArgs] = None,
                   description: Optional[str] = None,
                   display_name: Optional[str] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   recaptcha_options_config: Optional[SecurityPolicyRecaptchaOptionsConfigArgs] = None,
                   request_id: Optional[str] = None,
                   rules: Optional[Sequence[SecurityPolicyRuleArgs]] = None,
                   type: Optional[SecurityPolicyType] = None,
                   validate_only: Optional[bool] = None)
@overload
def SecurityPolicy(resource_name: str,
                   args: Optional[SecurityPolicyArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewSecurityPolicy(ctx *Context, name string, args *SecurityPolicyArgs, opts ...ResourceOption) (*SecurityPolicy, error)
public SecurityPolicy(string name, SecurityPolicyArgs? args = null, CustomResourceOptions? opts = null)
public SecurityPolicy(String name, SecurityPolicyArgs args)
public SecurityPolicy(String name, SecurityPolicyArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:SecurityPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SecurityPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SecurityPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SecurityPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecurityPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SecurityPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SecurityPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The SecurityPolicy resource accepts the following input properties:

AdaptiveProtectionConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdaptiveProtectionConfigArgs
AdvancedOptionsConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdvancedOptionsConfigArgs
Associations List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAssociationArgs>

A list of associations that belong to this policy.

CloudArmorConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyCloudArmorConfigArgs
DdosProtectionConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyDdosProtectionConfigArgs
Description string

An optional description of this resource. Provide this property when you create the resource.

DisplayName string

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

Labels Dictionary<string, string>

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

Name 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]([-a-z0-9]*[a-z0-9])? 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.

Project string
RecaptchaOptionsConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRecaptchaOptionsConfigArgs
RequestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

Rules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleArgs>

A list 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.

Type Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyType

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

ValidateOnly bool

If true, the request will not be committed.

AdaptiveProtectionConfig SecurityPolicyAdaptiveProtectionConfigArgs
AdvancedOptionsConfig SecurityPolicyAdvancedOptionsConfigArgs
Associations []SecurityPolicyAssociationArgs

A list of associations that belong to this policy.

CloudArmorConfig SecurityPolicyCloudArmorConfigArgs
DdosProtectionConfig SecurityPolicyDdosProtectionConfigArgs
Description string

An optional description of this resource. Provide this property when you create the resource.

DisplayName string

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

Labels map[string]string

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

Name 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]([-a-z0-9]*[a-z0-9])? 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.

Project string
RecaptchaOptionsConfig SecurityPolicyRecaptchaOptionsConfigArgs
RequestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

Rules []SecurityPolicyRuleArgs

A list 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.

Type SecurityPolicyType

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

ValidateOnly bool

If true, the request will not be committed.

adaptiveProtectionConfig SecurityPolicyAdaptiveProtectionConfigArgs
advancedOptionsConfig SecurityPolicyAdvancedOptionsConfigArgs
associations List<SecurityPolicyAssociationArgs>

A list of associations that belong to this policy.

cloudArmorConfig SecurityPolicyCloudArmorConfigArgs
ddosProtectionConfig SecurityPolicyDdosProtectionConfigArgs
description String

An optional description of this resource. Provide this property when you create the resource.

displayName String

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

labels Map<String,String>

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

name 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]([-a-z0-9]*[a-z0-9])? 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.

project String
recaptchaOptionsConfig SecurityPolicyRecaptchaOptionsConfigArgs
requestId String

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

rules List<SecurityPolicyRuleArgs>

A list 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.

type SecurityPolicyType

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

validateOnly Boolean

If true, the request will not be committed.

adaptiveProtectionConfig SecurityPolicyAdaptiveProtectionConfigArgs
advancedOptionsConfig SecurityPolicyAdvancedOptionsConfigArgs
associations SecurityPolicyAssociationArgs[]

A list of associations that belong to this policy.

cloudArmorConfig SecurityPolicyCloudArmorConfigArgs
ddosProtectionConfig SecurityPolicyDdosProtectionConfigArgs
description string

An optional description of this resource. Provide this property when you create the resource.

displayName string

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

labels {[key: string]: string}

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

name 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]([-a-z0-9]*[a-z0-9])? 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.

project string
recaptchaOptionsConfig SecurityPolicyRecaptchaOptionsConfigArgs
requestId string

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

rules SecurityPolicyRuleArgs[]

A list 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.

type SecurityPolicyType

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

validateOnly boolean

If true, the request will not be committed.

adaptive_protection_config SecurityPolicyAdaptiveProtectionConfigArgs
advanced_options_config SecurityPolicyAdvancedOptionsConfigArgs
associations Sequence[SecurityPolicyAssociationArgs]

A list of associations that belong to this policy.

cloud_armor_config SecurityPolicyCloudArmorConfigArgs
ddos_protection_config SecurityPolicyDdosProtectionConfigArgs
description str

An optional description of this resource. Provide this property when you create the resource.

display_name str

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

labels Mapping[str, str]

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

name str

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]([-a-z0-9]*[a-z0-9])? 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.

project str
recaptcha_options_config SecurityPolicyRecaptchaOptionsConfigArgs
request_id str

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

rules Sequence[SecurityPolicyRuleArgs]

A list 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.

type SecurityPolicyType

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

validate_only bool

If true, the request will not be committed.

adaptiveProtectionConfig Property Map
advancedOptionsConfig Property Map
associations List<Property Map>

A list of associations that belong to this policy.

cloudArmorConfig Property Map
ddosProtectionConfig Property Map
description String

An optional description of this resource. Provide this property when you create the resource.

displayName String

User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? 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.

labels Map<String>

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

name 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]([-a-z0-9]*[a-z0-9])? 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.

project String
recaptchaOptionsConfig Property Map
requestId String

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

rules List<Property Map>

A list 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.

type "CLOUD_ARMOR" | "CLOUD_ARMOR_EDGE" | "CLOUD_ARMOR_INTERNAL_SERVICE" | "CLOUD_ARMOR_NETWORK" | "FIREWALL"

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. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.

validateOnly Boolean

If true, the request will not be committed.

Outputs

All input properties are implicitly available as output properties. Additionally, the SecurityPolicy resource produces the following output properties:

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Fingerprint string

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

Id string

The provider-assigned unique ID for this managed resource.

Kind string

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

LabelFingerprint string

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

Parent string

The parent of the security policy.

Region string

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

RuleTupleCount int

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

SelfLink string

Server-defined URL for the resource.

SelfLinkWithId string

Server-defined URL for this resource with the resource id.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Fingerprint string

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

Id string

The provider-assigned unique ID for this managed resource.

Kind string

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

LabelFingerprint string

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

Parent string

The parent of the security policy.

Region string

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

RuleTupleCount int

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

SelfLink string

Server-defined URL for the resource.

SelfLinkWithId string

Server-defined URL for this resource with the resource id.

creationTimestamp String

Creation timestamp in RFC3339 text format.

fingerprint String

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

id String

The provider-assigned unique ID for this managed resource.

kind String

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

labelFingerprint String

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

parent String

The parent of the security policy.

region String

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

ruleTupleCount Integer

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

selfLink String

Server-defined URL for the resource.

selfLinkWithId String

Server-defined URL for this resource with the resource id.

creationTimestamp string

Creation timestamp in RFC3339 text format.

fingerprint string

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

id string

The provider-assigned unique ID for this managed resource.

kind string

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

labelFingerprint string

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

parent string

The parent of the security policy.

region string

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

ruleTupleCount number

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

selfLink string

Server-defined URL for the resource.

selfLinkWithId string

Server-defined URL for this resource with the resource id.

creation_timestamp str

Creation timestamp in RFC3339 text format.

fingerprint str

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

id str

The provider-assigned unique ID for this managed resource.

kind str

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

label_fingerprint str

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

parent str

The parent of the security policy.

region str

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

rule_tuple_count int

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

self_link str

Server-defined URL for the resource.

self_link_with_id str

Server-defined URL for this resource with the resource id.

creationTimestamp String

Creation timestamp in RFC3339 text format.

fingerprint String

Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.

id String

The provider-assigned unique ID for this managed resource.

kind String

[Output only] Type of the resource. Always compute#securityPolicyfor security policies

labelFingerprint String

A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.

parent String

The parent of the security policy.

region String

URL of the region where the regional security policy resides. This field is not applicable to global security policies.

ruleTupleCount Number

Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.

selfLink String

Server-defined URL for the resource.

selfLinkWithId String

Server-defined URL for this resource with the resource id.

Supporting Types

Expr

Description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Expression string

Textual representation of an expression in Common Expression Language syntax.

Location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

Description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Expression string

Textual representation of an expression in Common Expression Language syntax.

Location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description String

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression String

Textual representation of an expression in Common Expression Language syntax.

location String

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title String

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression string

Textual representation of an expression in Common Expression Language syntax.

location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description str

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression str

Textual representation of an expression in Common Expression Language syntax.

location str

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title str

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description String

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression String

Textual representation of an expression in Common Expression Language syntax.

location String

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title String

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

ExprResponse

Description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Expression string

Textual representation of an expression in Common Expression Language syntax.

Location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

Description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Expression string

Textual representation of an expression in Common Expression Language syntax.

Location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description String

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression String

Textual representation of an expression in Common Expression Language syntax.

location String

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title String

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description string

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression string

Textual representation of an expression in Common Expression Language syntax.

location string

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title string

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description str

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression str

Textual representation of an expression in Common Expression Language syntax.

location str

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title str

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

description String

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

expression String

Textual representation of an expression in Common Expression Language syntax.

location String

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

title String

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

SecurityPolicyAdaptiveProtectionConfig

autoDeployConfig Property Map
layer7DdosDefenseConfig Property Map

If set to true, enables Cloud Armor Machine Learning.

SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig

SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

Enable bool

If set to true, enables CAAP for L7 DDoS detection.

RuleVisibility Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

Enable bool

If set to true, enables CAAP for L7 DDoS detection.

RuleVisibility SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable Boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable bool

If set to true, enables CAAP for L7 DDoS detection.

rule_visibility SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable Boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility "PREMIUM" | "STANDARD"

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse

Enable bool

If set to true, enables CAAP for L7 DDoS detection.

RuleVisibility string

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

Enable bool

If set to true, enables CAAP for L7 DDoS detection.

RuleVisibility string

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable Boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility String

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility string

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable bool

If set to true, enables CAAP for L7 DDoS detection.

rule_visibility str

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

enable Boolean

If set to true, enables CAAP for L7 DDoS detection.

ruleVisibility String

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility

Premium
PREMIUM
Standard
STANDARD
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPremium
PREMIUM
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityStandard
STANDARD
Premium
PREMIUM
Standard
STANDARD
Premium
PREMIUM
Standard
STANDARD
PREMIUM
PREMIUM
STANDARD
STANDARD
"PREMIUM"
PREMIUM
"STANDARD"
STANDARD

SecurityPolicyAdaptiveProtectionConfigResponse

autoDeployConfig Property Map
layer7DdosDefenseConfig Property Map

If set to true, enables Cloud Armor Machine Learning.

SecurityPolicyAdvancedOptionsConfig

jsonCustomConfig Property Map

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

jsonParsing "DISABLED" | "STANDARD"
logLevel "NORMAL" | "VERBOSE"

SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

ContentTypes List<string>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

ContentTypes []string

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes List<String>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes string[]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

content_types Sequence[str]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes List<String>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

ContentTypes List<string>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

ContentTypes []string

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes List<String>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes string[]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

content_types Sequence[str]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

contentTypes List<String>

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

SecurityPolicyAdvancedOptionsConfigJsonParsing

Disabled
DISABLED
Standard
STANDARD
SecurityPolicyAdvancedOptionsConfigJsonParsingDisabled
DISABLED
SecurityPolicyAdvancedOptionsConfigJsonParsingStandard
STANDARD
Disabled
DISABLED
Standard
STANDARD
Disabled
DISABLED
Standard
STANDARD
DISABLED
DISABLED
STANDARD
STANDARD
"DISABLED"
DISABLED
"STANDARD"
STANDARD

SecurityPolicyAdvancedOptionsConfigLogLevel

Normal
NORMAL
Verbose
VERBOSE
SecurityPolicyAdvancedOptionsConfigLogLevelNormal
NORMAL
SecurityPolicyAdvancedOptionsConfigLogLevelVerbose
VERBOSE
Normal
NORMAL
Verbose
VERBOSE
Normal
NORMAL
Verbose
VERBOSE
NORMAL
NORMAL
VERBOSE
VERBOSE
"NORMAL"
NORMAL
"VERBOSE"
VERBOSE

SecurityPolicyAdvancedOptionsConfigResponse

JsonCustomConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

JsonParsing string
LogLevel string
JsonCustomConfig SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

JsonParsing string
LogLevel string
jsonCustomConfig SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

jsonParsing String
logLevel String
jsonCustomConfig SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

jsonParsing string
logLevel string
json_custom_config SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

json_parsing str
log_level str
jsonCustomConfig Property Map

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

jsonParsing String
logLevel String

SecurityPolicyAssociation

AttachmentId string

The resource that the security policy is attached to.

Name string

The name for an association.

AttachmentId string

The resource that the security policy is attached to.

Name string

The name for an association.

attachmentId String

The resource that the security policy is attached to.

name String

The name for an association.

attachmentId string

The resource that the security policy is attached to.

name string

The name for an association.

attachment_id str

The resource that the security policy is attached to.

name str

The name for an association.

attachmentId String

The resource that the security policy is attached to.

name String

The name for an association.

SecurityPolicyAssociationResponse

AttachmentId string

The resource that the security policy is attached to.

DisplayName string

The display name of the security policy of the association.

Name string

The name for an association.

SecurityPolicyId string

The security policy ID of the association.

AttachmentId string

The resource that the security policy is attached to.

DisplayName string

The display name of the security policy of the association.

Name string

The name for an association.

SecurityPolicyId string

The security policy ID of the association.

attachmentId String

The resource that the security policy is attached to.

displayName String

The display name of the security policy of the association.

name String

The name for an association.

securityPolicyId String

The security policy ID of the association.

attachmentId string

The resource that the security policy is attached to.

displayName string

The display name of the security policy of the association.

name string

The name for an association.

securityPolicyId string

The security policy ID of the association.

attachment_id str

The resource that the security policy is attached to.

display_name str

The display name of the security policy of the association.

name str

The name for an association.

security_policy_id str

The security policy ID of the association.

attachmentId String

The resource that the security policy is attached to.

displayName String

The display name of the security policy of the association.

name String

The name for an association.

securityPolicyId String

The security policy ID of the association.

SecurityPolicyCloudArmorConfig

EnableMl bool

If set to true, enables Cloud Armor Machine Learning.

EnableMl bool

If set to true, enables Cloud Armor Machine Learning.

enableMl Boolean

If set to true, enables Cloud Armor Machine Learning.

enableMl boolean

If set to true, enables Cloud Armor Machine Learning.

enable_ml bool

If set to true, enables Cloud Armor Machine Learning.

enableMl Boolean

If set to true, enables Cloud Armor Machine Learning.

SecurityPolicyCloudArmorConfigResponse

EnableMl bool

If set to true, enables Cloud Armor Machine Learning.

EnableMl bool

If set to true, enables Cloud Armor Machine Learning.

enableMl Boolean

If set to true, enables Cloud Armor Machine Learning.

enableMl boolean

If set to true, enables Cloud Armor Machine Learning.

enable_ml bool

If set to true, enables Cloud Armor Machine Learning.

enableMl Boolean

If set to true, enables Cloud Armor Machine Learning.

SecurityPolicyDdosProtectionConfig

SecurityPolicyDdosProtectionConfigDdosProtection

Advanced
ADVANCED
Standard
STANDARD
SecurityPolicyDdosProtectionConfigDdosProtectionAdvanced
ADVANCED
SecurityPolicyDdosProtectionConfigDdosProtectionStandard
STANDARD
Advanced
ADVANCED
Standard
STANDARD
Advanced
ADVANCED
Standard
STANDARD
ADVANCED
ADVANCED
STANDARD
STANDARD
"ADVANCED"
ADVANCED
"STANDARD"
STANDARD

SecurityPolicyDdosProtectionConfigResponse

SecurityPolicyRecaptchaOptionsConfig

RedirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

RedirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey String

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirect_site_key str

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey String

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

SecurityPolicyRecaptchaOptionsConfigResponse

RedirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

RedirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey String

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey string

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirect_site_key str

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

redirectSiteKey String

An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.

SecurityPolicyRule

Action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

Description string

An optional description of this resource. Provide this property when you create the resource.

Direction Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyRuleDirection

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

EnableLogging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleHttpHeaderAction

Optional, additional actions that are performed on headers.

Match Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcher

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

PreconfiguredWafConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfig

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

Preview bool

If set to true, the specified action is not enforced.

Priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

RateLimitOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptions

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

RedirectOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action. Cannot be specified for any other actions.

RedirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

RuleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

TargetResources List<string>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

TargetServiceAccounts List<string>

A list of service accounts indicating the sets of instances that are applied with this rule.

Action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

Description string

An optional description of this resource. Provide this property when you create the resource.

Direction SecurityPolicyRuleDirection

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

EnableLogging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

HeaderAction SecurityPolicyRuleHttpHeaderAction

Optional, additional actions that are performed on headers.

Match SecurityPolicyRuleMatcher

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

PreconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfig

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

Preview bool

If set to true, the specified action is not enforced.

Priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

RateLimitOptions SecurityPolicyRuleRateLimitOptions

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

RedirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action. Cannot be specified for any other actions.

RedirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

RuleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

TargetResources []string

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

TargetServiceAccounts []string

A list of service accounts indicating the sets of instances that are applied with this rule.

action String

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description String

An optional description of this resource. Provide this property when you create the resource.

direction SecurityPolicyRuleDirection

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging Boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction SecurityPolicyRuleHttpHeaderAction

Optional, additional actions that are performed on headers.

match SecurityPolicyRuleMatcher

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfig

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview Boolean

If set to true, the specified action is not enforced.

priority Integer

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions SecurityPolicyRuleRateLimitOptions

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget String

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleNumber String

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

targetResources List<String>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts List<String>

A list of service accounts indicating the sets of instances that are applied with this rule.

action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description string

An optional description of this resource. Provide this property when you create the resource.

direction SecurityPolicyRuleDirection

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction SecurityPolicyRuleHttpHeaderAction

Optional, additional actions that are performed on headers.

match SecurityPolicyRuleMatcher

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfig

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview boolean

If set to true, the specified action is not enforced.

priority number

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions SecurityPolicyRuleRateLimitOptions

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

targetResources string[]

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts string[]

A list of service accounts indicating the sets of instances that are applied with this rule.

action str

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description str

An optional description of this resource. Provide this property when you create the resource.

direction SecurityPolicyRuleDirection

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enable_logging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

header_action SecurityPolicyRuleHttpHeaderAction

Optional, additional actions that are performed on headers.

match SecurityPolicyRuleMatcher

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfigured_waf_config SecurityPolicyRulePreconfiguredWafConfig

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview bool

If set to true, the specified action is not enforced.

priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rate_limit_options SecurityPolicyRuleRateLimitOptions

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirect_options SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action. Cannot be specified for any other actions.

redirect_target str

This must be specified for redirect actions. Cannot be specified for any other actions.

rule_number str

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

target_resources Sequence[str]

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

target_service_accounts Sequence[str]

A list of service accounts indicating the sets of instances that are applied with this rule.

action String

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description String

An optional description of this resource. Provide this property when you create the resource.

direction "EGRESS" | "INGRESS"

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging Boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction Property Map

Optional, additional actions that are performed on headers.

match Property Map

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig Property Map

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview Boolean

If set to true, the specified action is not enforced.

priority Number

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions Property Map

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions Property Map

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget String

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleNumber String

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

targetResources List<String>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts List<String>

A list of service accounts indicating the sets of instances that are applied with this rule.

SecurityPolicyRuleDirection

Egress
EGRESS
Ingress
INGRESS
SecurityPolicyRuleDirectionEgress
EGRESS
SecurityPolicyRuleDirectionIngress
INGRESS
Egress
EGRESS
Ingress
INGRESS
Egress
EGRESS
Ingress
INGRESS
EGRESS
EGRESS
INGRESS
INGRESS
"EGRESS"
EGRESS
"INGRESS"
INGRESS

SecurityPolicyRuleHttpHeaderAction

RequestHeadersToAdds []SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds List<SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds SecurityPolicyRuleHttpHeaderActionHttpHeaderOption[]

The list of request headers to add or overwrite if they're already present.

request_headers_to_adds Sequence[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds List<Property Map>

The list of request headers to add or overwrite if they're already present.

SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

HeaderName string

The name of the header to set.

HeaderValue string

The value to set the named header to.

HeaderName string

The name of the header to set.

HeaderValue string

The value to set the named header to.

headerName String

The name of the header to set.

headerValue String

The value to set the named header to.

headerName string

The name of the header to set.

headerValue string

The value to set the named header to.

header_name str

The name of the header to set.

header_value str

The value to set the named header to.

headerName String

The name of the header to set.

headerValue String

The value to set the named header to.

SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse

HeaderName string

The name of the header to set.

HeaderValue string

The value to set the named header to.

HeaderName string

The name of the header to set.

HeaderValue string

The value to set the named header to.

headerName String

The name of the header to set.

headerValue String

The value to set the named header to.

headerName string

The name of the header to set.

headerValue string

The value to set the named header to.

header_name str

The name of the header to set.

header_value str

The value to set the named header to.

headerName String

The name of the header to set.

headerValue String

The value to set the named header to.

SecurityPolicyRuleHttpHeaderActionResponse

RequestHeadersToAdds []SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds List<SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse>

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse[]

The list of request headers to add or overwrite if they're already present.

request_headers_to_adds Sequence[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]

The list of request headers to add or overwrite if they're already present.

requestHeadersToAdds List<Property Map>

The list of request headers to add or overwrite if they're already present.

SecurityPolicyRuleMatcher

Config Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfig

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

Expr Pulumi.GoogleNative.Compute.Alpha.Inputs.Expr

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

VersionedExpr Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyRuleMatcherVersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

Config SecurityPolicyRuleMatcherConfig

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

Expr Expr

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

VersionedExpr SecurityPolicyRuleMatcherVersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfig

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr Expr

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr SecurityPolicyRuleMatcherVersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfig

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr Expr

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr SecurityPolicyRuleMatcherVersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfig

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr Expr

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versioned_expr SecurityPolicyRuleMatcherVersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config Property Map

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr Property Map

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr "FIREWALL" | "SRC_IPS_V1"

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

SecurityPolicyRuleMatcherConfig

DestIpRanges List<string>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

DestPorts List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigDestinationPort>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

Layer4Configs List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigLayer4Config>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

SrcIpRanges List<string>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

DestIpRanges []string

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

DestPorts []SecurityPolicyRuleMatcherConfigDestinationPort

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

Layer4Configs []SecurityPolicyRuleMatcherConfigLayer4Config

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

SrcIpRanges []string

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges List<String>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts List<SecurityPolicyRuleMatcherConfigDestinationPort>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs List<SecurityPolicyRuleMatcherConfigLayer4Config>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges List<String>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges string[]

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts SecurityPolicyRuleMatcherConfigDestinationPort[]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs SecurityPolicyRuleMatcherConfigLayer4Config[]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges string[]

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

dest_ip_ranges Sequence[str]

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

dest_ports Sequence[SecurityPolicyRuleMatcherConfigDestinationPort]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4_configs Sequence[SecurityPolicyRuleMatcherConfigLayer4Config]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

src_ip_ranges Sequence[str]

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges List<String>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts List<Property Map>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs List<Property Map>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges List<String>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

SecurityPolicyRuleMatcherConfigDestinationPort

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports List<string>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports []string

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports string[]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ip_protocol str

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports Sequence[str]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

SecurityPolicyRuleMatcherConfigDestinationPortResponse

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports List<string>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports []string

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports string[]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ip_protocol str

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports Sequence[str]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

SecurityPolicyRuleMatcherConfigLayer4Config

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports List<string>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports []string

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports string[]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ip_protocol str

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports Sequence[str]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

SecurityPolicyRuleMatcherConfigLayer4ConfigResponse

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports List<string>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

IpProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Ports []string

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol string

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports string[]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ip_protocol str

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports Sequence[str]

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

ipProtocol String

The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

ports List<String>

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.

SecurityPolicyRuleMatcherConfigResponse

DestIpRanges List<string>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

DestPorts List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigDestinationPortResponse>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

Layer4Configs List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigLayer4ConfigResponse>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

SrcIpRanges List<string>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

DestIpRanges []string

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

DestPorts []SecurityPolicyRuleMatcherConfigDestinationPortResponse

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

Layer4Configs []SecurityPolicyRuleMatcherConfigLayer4ConfigResponse

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

SrcIpRanges []string

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges List<String>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts List<SecurityPolicyRuleMatcherConfigDestinationPortResponse>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs List<SecurityPolicyRuleMatcherConfigLayer4ConfigResponse>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges List<String>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges string[]

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts SecurityPolicyRuleMatcherConfigDestinationPortResponse[]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs SecurityPolicyRuleMatcherConfigLayer4ConfigResponse[]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges string[]

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

dest_ip_ranges Sequence[str]

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

dest_ports Sequence[SecurityPolicyRuleMatcherConfigDestinationPortResponse]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4_configs Sequence[SecurityPolicyRuleMatcherConfigLayer4ConfigResponse]

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

src_ip_ranges Sequence[str]

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

destIpRanges List<String>

CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.

destPorts List<Property Map>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

layer4Configs List<Property Map>

Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.

srcIpRanges List<String>

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

SecurityPolicyRuleMatcherResponse

Config Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherConfigResponse

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

Expr Pulumi.GoogleNative.Compute.Alpha.Inputs.ExprResponse

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

VersionedExpr string

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

Config SecurityPolicyRuleMatcherConfigResponse

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

Expr ExprResponse

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

VersionedExpr string

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfigResponse

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr ExprResponse

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr String

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfigResponse

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr ExprResponse

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr string

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config SecurityPolicyRuleMatcherConfigResponse

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr ExprResponse

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versioned_expr str

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

config Property Map

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

expr Property Map

User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.

versionedExpr String

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

SecurityPolicyRuleMatcherVersionedExpr

Firewall
FIREWALL
SrcIpsV1
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

SecurityPolicyRuleMatcherVersionedExprFirewall
FIREWALL
SecurityPolicyRuleMatcherVersionedExprSrcIpsV1
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

Firewall
FIREWALL
SrcIpsV1
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

Firewall
FIREWALL
SrcIpsV1
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

FIREWALL
FIREWALL
SRC_IPS_V1
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

"FIREWALL"
FIREWALL
"SRC_IPS_V1"
SRC_IPS_V1

Matches the source IP address of a request to the IP ranges supplied in config.

SecurityPolicyRulePreconfiguredWafConfig

Exclusions []SecurityPolicyRulePreconfiguredWafConfigExclusion

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions List<SecurityPolicyRulePreconfiguredWafConfigExclusion>

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions SecurityPolicyRulePreconfiguredWafConfigExclusion[]

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusion]

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions List<Property Map>

A list of exclusions to apply during preconfigured WAF evaluation.

SecurityPolicyRulePreconfiguredWafConfigExclusion

RequestCookiesToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestHeadersToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestQueryParamsToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

RequestUrisToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

TargetRuleIds List<string>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

TargetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

RequestCookiesToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestHeadersToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestQueryParamsToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

RequestUrisToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

TargetRuleIds []string

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

TargetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds List<String>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet String

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[]

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[]

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[]

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams[]

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds string[]

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

request_cookies_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

request_headers_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

request_query_params_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

request_uris_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

target_rule_ids Sequence[str]

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

target_rule_set str

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude List<Property Map>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude List<Property Map>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude List<Property Map>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude List<Property Map>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds List<String>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet String

Target WAF rule set to apply the preconfigured WAF exclusion.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

Op SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp

The match operator for the field.

Val string

The value of the field.

op SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp

The match operator for the field.

val String

The value of the field.

op SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp

The match operator for the field.

val string

The value of the field.

op SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp

The match operator for the field.

val str

The value of the field.

op "CONTAINS" | "ENDS_WITH" | "EQUALS" | "EQUALS_ANY" | "STARTS_WITH"

The match operator for the field.

val String

The value of the field.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp

Contains
CONTAINS

The operator matches if the field value contains the specified value.

EndsWith
ENDS_WITH

The operator matches if the field value ends with the specified value.

EqualsValue
EQUALS

The operator matches if the field value equals the specified value.

EqualsAny
EQUALS_ANY

The operator matches if the field value is any value.

StartsWith
STARTS_WITH

The operator matches if the field value starts with the specified value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpContains
CONTAINS

The operator matches if the field value contains the specified value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpEndsWith
ENDS_WITH

The operator matches if the field value ends with the specified value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpEquals
EQUALS

The operator matches if the field value equals the specified value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpEqualsAny
EQUALS_ANY

The operator matches if the field value is any value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpStartsWith
STARTS_WITH

The operator matches if the field value starts with the specified value.

Contains
CONTAINS

The operator matches if the field value contains the specified value.

EndsWith
ENDS_WITH

The operator matches if the field value ends with the specified value.

Equals
EQUALS

The operator matches if the field value equals the specified value.

EqualsAny
EQUALS_ANY

The operator matches if the field value is any value.

StartsWith
STARTS_WITH

The operator matches if the field value starts with the specified value.

Contains
CONTAINS

The operator matches if the field value contains the specified value.

EndsWith
ENDS_WITH

The operator matches if the field value ends with the specified value.

Equals
EQUALS

The operator matches if the field value equals the specified value.

EqualsAny
EQUALS_ANY

The operator matches if the field value is any value.

StartsWith
STARTS_WITH

The operator matches if the field value starts with the specified value.

CONTAINS
CONTAINS

The operator matches if the field value contains the specified value.

ENDS_WITH
ENDS_WITH

The operator matches if the field value ends with the specified value.

EQUALS
EQUALS

The operator matches if the field value equals the specified value.

EQUALS_ANY
EQUALS_ANY

The operator matches if the field value is any value.

STARTS_WITH
STARTS_WITH

The operator matches if the field value starts with the specified value.

"CONTAINS"
CONTAINS

The operator matches if the field value contains the specified value.

"ENDS_WITH"
ENDS_WITH

The operator matches if the field value ends with the specified value.

"EQUALS"
EQUALS

The operator matches if the field value equals the specified value.

"EQUALS_ANY"
EQUALS_ANY

The operator matches if the field value is any value.

"STARTS_WITH"
STARTS_WITH

The operator matches if the field value starts with the specified value.

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse

Op string

The match operator for the field.

Val string

The value of the field.

Op string

The match operator for the field.

Val string

The value of the field.

op String

The match operator for the field.

val String

The value of the field.

op string

The match operator for the field.

val string

The value of the field.

op str

The match operator for the field.

val str

The value of the field.

op String

The match operator for the field.

val String

The value of the field.

SecurityPolicyRulePreconfiguredWafConfigExclusionResponse

RequestCookiesToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestHeadersToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestQueryParamsToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

RequestUrisToExclude List<Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

TargetRuleIds List<string>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

TargetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

RequestCookiesToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestHeadersToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

RequestQueryParamsToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

RequestUrisToExclude []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

TargetRuleIds []string

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

TargetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds List<String>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet String

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse[]

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse[]

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse[]

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse[]

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds string[]

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet string

Target WAF rule set to apply the preconfigured WAF exclusion.

request_cookies_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

request_headers_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

request_query_params_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

request_uris_to_exclude Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

target_rule_ids Sequence[str]

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

target_rule_set str

Target WAF rule set to apply the preconfigured WAF exclusion.

requestCookiesToExclude List<Property Map>

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestHeadersToExclude List<Property Map>

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

requestQueryParamsToExclude List<Property Map>

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

requestUrisToExclude List<Property Map>

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

targetRuleIds List<String>

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

targetRuleSet String

Target WAF rule set to apply the preconfigured WAF exclusion.

SecurityPolicyRulePreconfiguredWafConfigResponse

Exclusions []SecurityPolicyRulePreconfiguredWafConfigExclusionResponse

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions List<SecurityPolicyRulePreconfiguredWafConfigExclusionResponse>

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions SecurityPolicyRulePreconfiguredWafConfigExclusionResponse[]

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions Sequence[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]

A list of exclusions to apply during preconfigured WAF evaluation.

exclusions List<Property Map>

A list of exclusions to apply during preconfigured WAF evaluation.

SecurityPolicyRuleRateLimitOptions

BanDurationSec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

BanThreshold Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThreshold

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

ConformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

EnforceOnKey Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyRuleRateLimitOptionsEnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

EnforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

ExceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

ExceedActionRpcStatus Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsRpcStatus

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

ExceedRedirectOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

RateLimitThreshold Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThreshold

Threshold at which to begin ratelimiting.

BanDurationSec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

BanThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

ConformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

EnforceOnKey SecurityPolicyRuleRateLimitOptionsEnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

EnforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

ExceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

ExceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatus

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

ExceedRedirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

RateLimitThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Threshold at which to begin ratelimiting.

banDurationSec Integer

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction String

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey SecurityPolicyRuleRateLimitOptionsEnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName String

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction String

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatus

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Threshold at which to begin ratelimiting.

banDurationSec number

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey SecurityPolicyRuleRateLimitOptionsEnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatus

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold SecurityPolicyRuleRateLimitOptionsThreshold

Threshold at which to begin ratelimiting.

ban_duration_sec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

ban_threshold SecurityPolicyRuleRateLimitOptionsThreshold

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conform_action str

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforce_on_key SecurityPolicyRuleRateLimitOptionsEnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforce_on_key_name str

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceed_action str

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceed_action_rpc_status SecurityPolicyRuleRateLimitOptionsRpcStatus

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceed_redirect_options SecurityPolicyRuleRedirectOptions

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rate_limit_threshold SecurityPolicyRuleRateLimitOptionsThreshold

Threshold at which to begin ratelimiting.

banDurationSec Number

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold Property Map

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction String

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey "ALL" | "ALL_IPS" | "HTTP_COOKIE" | "HTTP_HEADER" | "IP" | "XFF_IP"

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName String

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction String

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus Property Map

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions Property Map

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold Property Map

Threshold at which to begin ratelimiting.

SecurityPolicyRuleRateLimitOptionsEnforceOnKey

All
ALL
AllIps
ALL_IPS
HttpCookie
HTTP_COOKIE
HttpHeader
HTTP_HEADER
Ip
IP
XffIp
XFF_IP
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyAll
ALL
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyAllIps
ALL_IPS
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyHttpCookie
HTTP_COOKIE
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyHttpHeader
HTTP_HEADER
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyIp
IP
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyXffIp
XFF_IP
All
ALL
AllIps
ALL_IPS
HttpCookie
HTTP_COOKIE
HttpHeader
HTTP_HEADER
Ip
IP
XffIp
XFF_IP
All
ALL
AllIps
ALL_IPS
HttpCookie
HTTP_COOKIE
HttpHeader
HTTP_HEADER
Ip
IP
XffIp
XFF_IP
ALL
ALL
ALL_IPS
ALL_IPS
HTTP_COOKIE
HTTP_COOKIE
HTTP_HEADER
HTTP_HEADER
IP
IP
XFF_IP
XFF_IP
"ALL"
ALL
"ALL_IPS"
ALL_IPS
"HTTP_COOKIE"
HTTP_COOKIE
"HTTP_HEADER"
HTTP_HEADER
"IP"
IP
"XFF_IP"
XFF_IP

SecurityPolicyRuleRateLimitOptionsResponse

BanDurationSec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

BanThreshold Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThresholdResponse

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

ConformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

EnforceOnKey string

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

EnforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

ExceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

ExceedActionRpcStatus Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

ExceedRedirectOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

RateLimitThreshold Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsThresholdResponse

Threshold at which to begin ratelimiting.

BanDurationSec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

BanThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

ConformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

EnforceOnKey string

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

EnforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

ExceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

ExceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

ExceedRedirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

RateLimitThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Threshold at which to begin ratelimiting.

banDurationSec Integer

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction String

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey String

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName String

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction String

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Threshold at which to begin ratelimiting.

banDurationSec number

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction string

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey string

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName string

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction string

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Threshold at which to begin ratelimiting.

ban_duration_sec int

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

ban_threshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conform_action str

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforce_on_key str

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforce_on_key_name str

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceed_action str

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceed_action_rpc_status SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceed_redirect_options SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rate_limit_threshold SecurityPolicyRuleRateLimitOptionsThresholdResponse

Threshold at which to begin ratelimiting.

banDurationSec Number

Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.

banThreshold Property Map

Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.

conformAction String

Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.

enforceOnKey String

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.

enforceOnKeyName String

Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.

exceedAction String

Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.

exceedActionRpcStatus Property Map

Specified gRPC response status for proxyless gRPC requests that are above the configured rate limit threshold

exceedRedirectOptions Property Map

Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.

rateLimitThreshold Property Map

Threshold at which to begin ratelimiting.

SecurityPolicyRuleRateLimitOptionsRpcStatus

Code int

The status code, which should be an enum value of google.rpc.Code.

Message string

A developer-facing error message, which should be in English.

Code int

The status code, which should be an enum value of google.rpc.Code.

Message string

A developer-facing error message, which should be in English.

code Integer

The status code, which should be an enum value of google.rpc.Code.

message String

A developer-facing error message, which should be in English.

code number

The status code, which should be an enum value of google.rpc.Code.

message string

A developer-facing error message, which should be in English.

code int

The status code, which should be an enum value of google.rpc.Code.

message str

A developer-facing error message, which should be in English.

code Number

The status code, which should be an enum value of google.rpc.Code.

message String

A developer-facing error message, which should be in English.

SecurityPolicyRuleRateLimitOptionsRpcStatusResponse

Code int

The status code, which should be an enum value of google.rpc.Code.

Message string

A developer-facing error message, which should be in English.

Code int

The status code, which should be an enum value of google.rpc.Code.

Message string

A developer-facing error message, which should be in English.

code Integer

The status code, which should be an enum value of google.rpc.Code.

message String

A developer-facing error message, which should be in English.

code number

The status code, which should be an enum value of google.rpc.Code.

message string

A developer-facing error message, which should be in English.

code int

The status code, which should be an enum value of google.rpc.Code.

message str

A developer-facing error message, which should be in English.

code Number

The status code, which should be an enum value of google.rpc.Code.

message String

A developer-facing error message, which should be in English.

SecurityPolicyRuleRateLimitOptionsThreshold

Count int

Number of HTTP(S) requests for calculating the threshold.

IntervalSec int

Interval over which the threshold is computed.

Count int

Number of HTTP(S) requests for calculating the threshold.

IntervalSec int

Interval over which the threshold is computed.

count Integer

Number of HTTP(S) requests for calculating the threshold.

intervalSec Integer

Interval over which the threshold is computed.

count number

Number of HTTP(S) requests for calculating the threshold.

intervalSec number

Interval over which the threshold is computed.

count int

Number of HTTP(S) requests for calculating the threshold.

interval_sec int

Interval over which the threshold is computed.

count Number

Number of HTTP(S) requests for calculating the threshold.

intervalSec Number

Interval over which the threshold is computed.

SecurityPolicyRuleRateLimitOptionsThresholdResponse

Count int

Number of HTTP(S) requests for calculating the threshold.

IntervalSec int

Interval over which the threshold is computed.

Count int

Number of HTTP(S) requests for calculating the threshold.

IntervalSec int

Interval over which the threshold is computed.

count Integer

Number of HTTP(S) requests for calculating the threshold.

intervalSec Integer

Interval over which the threshold is computed.

count number

Number of HTTP(S) requests for calculating the threshold.

intervalSec number

Interval over which the threshold is computed.

count int

Number of HTTP(S) requests for calculating the threshold.

interval_sec int

Interval over which the threshold is computed.

count Number

Number of HTTP(S) requests for calculating the threshold.

intervalSec Number

Interval over which the threshold is computed.

SecurityPolicyRuleRedirectOptions

Target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

Type Pulumi.GoogleNative.Compute.Alpha.SecurityPolicyRuleRedirectOptionsType

Type of the redirect action.

Target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

Type SecurityPolicyRuleRedirectOptionsType

Type of the redirect action.

target String

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type SecurityPolicyRuleRedirectOptionsType

Type of the redirect action.

target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type SecurityPolicyRuleRedirectOptionsType

Type of the redirect action.

target str

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type SecurityPolicyRuleRedirectOptionsType

Type of the redirect action.

target String

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type "EXTERNAL_302" | "GOOGLE_RECAPTCHA"

Type of the redirect action.

SecurityPolicyRuleRedirectOptionsResponse

Target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

Type string

Type of the redirect action.

Target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

Type string

Type of the redirect action.

target String

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type String

Type of the redirect action.

target string

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type string

Type of the redirect action.

target str

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type str

Type of the redirect action.

target String

Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.

type String

Type of the redirect action.

SecurityPolicyRuleRedirectOptionsType

External302
EXTERNAL_302
GoogleRecaptcha
GOOGLE_RECAPTCHA
SecurityPolicyRuleRedirectOptionsTypeExternal302
EXTERNAL_302
SecurityPolicyRuleRedirectOptionsTypeGoogleRecaptcha
GOOGLE_RECAPTCHA
External302
EXTERNAL_302
GoogleRecaptcha
GOOGLE_RECAPTCHA
External302
EXTERNAL_302
GoogleRecaptcha
GOOGLE_RECAPTCHA
EXTERNAL302
EXTERNAL_302
GOOGLE_RECAPTCHA
GOOGLE_RECAPTCHA
"EXTERNAL_302"
EXTERNAL_302
"GOOGLE_RECAPTCHA"
GOOGLE_RECAPTCHA

SecurityPolicyRuleResponse

Action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

Description string

An optional description of this resource. Provide this property when you create the resource.

Direction string

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

EnableLogging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleHttpHeaderActionResponse

Optional, additional actions that are performed on headers.

Kind string

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

Match Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleMatcherResponse

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

PreconfiguredWafConfig Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRulePreconfiguredWafConfigResponse

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

Preview bool

If set to true, the specified action is not enforced.

Priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

RateLimitOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRateLimitOptionsResponse

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

RedirectOptions Pulumi.GoogleNative.Compute.Alpha.Inputs.SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action. Cannot be specified for any other actions.

RedirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

RuleManagedProtectionTier string

The minimum managed protection tier required for this rule.

RuleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

RuleTupleCount int

Calculation of the complexity of a single firewall security policy rule.

TargetResources List<string>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

TargetServiceAccounts List<string>

A list of service accounts indicating the sets of instances that are applied with this rule.

Action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

Description string

An optional description of this resource. Provide this property when you create the resource.

Direction string

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

EnableLogging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

HeaderAction SecurityPolicyRuleHttpHeaderActionResponse

Optional, additional actions that are performed on headers.

Kind string

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

Match SecurityPolicyRuleMatcherResponse

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

PreconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfigResponse

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

Preview bool

If set to true, the specified action is not enforced.

Priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

RateLimitOptions SecurityPolicyRuleRateLimitOptionsResponse

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

RedirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action. Cannot be specified for any other actions.

RedirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

RuleManagedProtectionTier string

The minimum managed protection tier required for this rule.

RuleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

RuleTupleCount int

Calculation of the complexity of a single firewall security policy rule.

TargetResources []string

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

TargetServiceAccounts []string

A list of service accounts indicating the sets of instances that are applied with this rule.

action String

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description String

An optional description of this resource. Provide this property when you create the resource.

direction String

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging Boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction SecurityPolicyRuleHttpHeaderActionResponse

Optional, additional actions that are performed on headers.

kind String

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

match SecurityPolicyRuleMatcherResponse

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfigResponse

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview Boolean

If set to true, the specified action is not enforced.

priority Integer

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions SecurityPolicyRuleRateLimitOptionsResponse

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget String

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleManagedProtectionTier String

The minimum managed protection tier required for this rule.

ruleNumber String

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

ruleTupleCount Integer

Calculation of the complexity of a single firewall security policy rule.

targetResources List<String>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts List<String>

A list of service accounts indicating the sets of instances that are applied with this rule.

action string

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description string

An optional description of this resource. Provide this property when you create the resource.

direction string

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction SecurityPolicyRuleHttpHeaderActionResponse

Optional, additional actions that are performed on headers.

kind string

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

match SecurityPolicyRuleMatcherResponse

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig SecurityPolicyRulePreconfiguredWafConfigResponse

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview boolean

If set to true, the specified action is not enforced.

priority number

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions SecurityPolicyRuleRateLimitOptionsResponse

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget string

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleManagedProtectionTier string

The minimum managed protection tier required for this rule.

ruleNumber string

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

ruleTupleCount number

Calculation of the complexity of a single firewall security policy rule.

targetResources string[]

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts string[]

A list of service accounts indicating the sets of instances that are applied with this rule.

action str

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description str

An optional description of this resource. Provide this property when you create the resource.

direction str

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enable_logging bool

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

header_action SecurityPolicyRuleHttpHeaderActionResponse

Optional, additional actions that are performed on headers.

kind str

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

match SecurityPolicyRuleMatcherResponse

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfigured_waf_config SecurityPolicyRulePreconfiguredWafConfigResponse

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview bool

If set to true, the specified action is not enforced.

priority int

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rate_limit_options SecurityPolicyRuleRateLimitOptionsResponse

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirect_options SecurityPolicyRuleRedirectOptionsResponse

Parameters defining the redirect action. Cannot be specified for any other actions.

redirect_target str

This must be specified for redirect actions. Cannot be specified for any other actions.

rule_managed_protection_tier str

The minimum managed protection tier required for this rule.

rule_number str

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

rule_tuple_count int

Calculation of the complexity of a single firewall security policy rule.

target_resources Sequence[str]

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

target_service_accounts Sequence[str]

A list of service accounts indicating the sets of instances that are applied with this rule.

action String

The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.

description String

An optional description of this resource. Provide this property when you create the resource.

direction String

The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.

enableLogging Boolean

Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.

headerAction Property Map

Optional, additional actions that are performed on headers.

kind String

[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules

match Property Map

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.

preconfiguredWafConfig Property Map

Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.

preview Boolean

If set to true, the specified action is not enforced.

priority Number

An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.

rateLimitOptions Property Map

Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.

redirectOptions Property Map

Parameters defining the redirect action. Cannot be specified for any other actions.

redirectTarget String

This must be specified for redirect actions. Cannot be specified for any other actions.

ruleManagedProtectionTier String

The minimum managed protection tier required for this rule.

ruleNumber String

Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.

ruleTupleCount Number

Calculation of the complexity of a single firewall security policy rule.

targetResources List<String>

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.

targetServiceAccounts List<String>

A list of service accounts indicating the sets of instances that are applied with this rule.

SecurityPolicyType

CloudArmor
CLOUD_ARMOR
CloudArmorEdge
CLOUD_ARMOR_EDGE
CloudArmorInternalService
CLOUD_ARMOR_INTERNAL_SERVICE
CloudArmorNetwork
CLOUD_ARMOR_NETWORK
Firewall
FIREWALL
SecurityPolicyTypeCloudArmor
CLOUD_ARMOR
SecurityPolicyTypeCloudArmorEdge
CLOUD_ARMOR_EDGE
SecurityPolicyTypeCloudArmorInternalService
CLOUD_ARMOR_INTERNAL_SERVICE
SecurityPolicyTypeCloudArmorNetwork
CLOUD_ARMOR_NETWORK
SecurityPolicyTypeFirewall
FIREWALL
CloudArmor
CLOUD_ARMOR
CloudArmorEdge
CLOUD_ARMOR_EDGE
CloudArmorInternalService
CLOUD_ARMOR_INTERNAL_SERVICE
CloudArmorNetwork
CLOUD_ARMOR_NETWORK
Firewall
FIREWALL
CloudArmor
CLOUD_ARMOR
CloudArmorEdge
CLOUD_ARMOR_EDGE
CloudArmorInternalService
CLOUD_ARMOR_INTERNAL_SERVICE
CloudArmorNetwork
CLOUD_ARMOR_NETWORK
Firewall
FIREWALL
CLOUD_ARMOR
CLOUD_ARMOR
CLOUD_ARMOR_EDGE
CLOUD_ARMOR_EDGE
CLOUD_ARMOR_INTERNAL_SERVICE
CLOUD_ARMOR_INTERNAL_SERVICE
CLOUD_ARMOR_NETWORK
CLOUD_ARMOR_NETWORK
FIREWALL
FIREWALL
"CLOUD_ARMOR"
CLOUD_ARMOR
"CLOUD_ARMOR_EDGE"
CLOUD_ARMOR_EDGE
"CLOUD_ARMOR_INTERNAL_SERVICE"
CLOUD_ARMOR_INTERNAL_SERVICE
"CLOUD_ARMOR_NETWORK"
CLOUD_ARMOR_NETWORK
"FIREWALL"
FIREWALL

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0