RuleArgs

data class RuleArgs(val applicationMatcher: Output<String>? = null, val basicProfile: Output<RuleBasicProfile>? = null, val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val gatewaySecurityPolicyId: Output<String>? = null, val gatewaySecurityPolicyRuleId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val project: Output<String>? = null, val sessionMatcher: Output<String>? = null, val tlsInspectionEnabled: Output<Boolean>? = null) : ConvertibleToJava<RuleArgs>

Creates a new GatewaySecurityPolicy in a given project and location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun RuleArgs(applicationMatcher: Output<String>? = null, basicProfile: Output<RuleBasicProfile>? = null, description: Output<String>? = null, enabled: Output<Boolean>? = null, gatewaySecurityPolicyId: Output<String>? = null, gatewaySecurityPolicyRuleId: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, priority: Output<Int>? = null, project: Output<String>? = null, sessionMatcher: Output<String>? = null, tlsInspectionEnabled: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RuleArgs

Properties

Link copied to clipboard
val applicationMatcher: Output<String>? = null

Optional. CEL expression for matching on L7/application level criteria.

Link copied to clipboard
val basicProfile: Output<RuleBasicProfile>? = null

Profile which tells what the primitive action should be.

Link copied to clipboard
val description: Output<String>? = null

Optional. Free-text description of the resource.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether the rule is enforced.

Link copied to clipboard
val gatewaySecurityPolicyId: Output<String>? = null
Link copied to clipboard
val gatewaySecurityPolicyRuleId: Output<String>? = null

The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z0-9-]{0,61}[a-z0-9?$).

Link copied to clipboard
val priority: Output<Int>? = null

Priority of the rule. Lower number corresponds to higher precedence.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val sessionMatcher: Output<String>? = null

CEL expression for matching on session criteria.

Link copied to clipboard
val tlsInspectionEnabled: Output<Boolean>? = null

Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.