Documentation ¶
Index ¶
- func ComputeSecurityPolicyRuleA_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeSecurityPolicyRuleA_IsConstruct(x interface{}) *bool
- func ComputeSecurityPolicyRuleA_IsTerraformElement(x interface{}) *bool
- func ComputeSecurityPolicyRuleA_IsTerraformResource(x interface{}) *bool
- func ComputeSecurityPolicyRuleA_TfResourceType() *string
- func NewComputeSecurityPolicyRuleA_Override(c ComputeSecurityPolicyRuleA, scope constructs.Construct, id *string, ...)
- func NewComputeSecurityPolicyRuleHeaderActionAOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionAOutputReference, ...)
- func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList, ...)
- func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchAOutputReference_Override(c ComputeSecurityPolicyRuleMatchAOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchConfigAOutputReference_Override(c ComputeSecurityPolicyRuleMatchConfigAOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprAOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference_Override(...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference_Override(...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference, ...)
- func NewComputeSecurityPolicyRuleRedirectOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleRedirectOptionsAOutputReference, ...)
- func NewComputeSecurityPolicyRuleTimeoutsOutputReference_Override(c ComputeSecurityPolicyRuleTimeoutsOutputReference, ...)
- type ComputeSecurityPolicyRuleA
- type ComputeSecurityPolicyRuleAConfig
- type ComputeSecurityPolicyRuleHeaderActionA
- type ComputeSecurityPolicyRuleHeaderActionAOutputReference
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsA
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference
- type ComputeSecurityPolicyRuleMatchA
- type ComputeSecurityPolicyRuleMatchAOutputReference
- type ComputeSecurityPolicyRuleMatchConfigA
- type ComputeSecurityPolicyRuleMatchConfigAOutputReference
- type ComputeSecurityPolicyRuleMatchExprA
- type ComputeSecurityPolicyRuleMatchExprAOutputReference
- type ComputeSecurityPolicyRuleMatchExprOptionsA
- type ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference
- type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA
- type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriA
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsA
- type ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA
- type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA
- type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference
- type ComputeSecurityPolicyRuleRedirectOptionsA
- type ComputeSecurityPolicyRuleRedirectOptionsAOutputReference
- type ComputeSecurityPolicyRuleTimeouts
- type ComputeSecurityPolicyRuleTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSecurityPolicyRuleA_GenerateConfigForImport ¶
func ComputeSecurityPolicyRuleA_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeSecurityPolicyRuleA resource upon running "cdktf plan <stack-name>".
func ComputeSecurityPolicyRuleA_IsConstruct ¶
func ComputeSecurityPolicyRuleA_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ComputeSecurityPolicyRuleA_IsTerraformElement ¶
func ComputeSecurityPolicyRuleA_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeSecurityPolicyRuleA_IsTerraformResource ¶
func ComputeSecurityPolicyRuleA_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeSecurityPolicyRuleA_TfResourceType ¶
func ComputeSecurityPolicyRuleA_TfResourceType() *string
func NewComputeSecurityPolicyRuleA_Override ¶
func NewComputeSecurityPolicyRuleA_Override(c ComputeSecurityPolicyRuleA, scope constructs.Construct, id *string, config *ComputeSecurityPolicyRuleAConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule google_compute_security_policy_rule} Resource.
func NewComputeSecurityPolicyRuleHeaderActionAOutputReference_Override ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionAOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList_Override ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference_Override ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRuleMatchAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchAOutputReference_Override(c ComputeSecurityPolicyRuleMatchAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchConfigAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchConfigAOutputReference_Override(c ComputeSecurityPolicyRuleMatchConfigAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprOptionsAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference_Override ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRuleRateLimitOptionsAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRedirectOptionsAOutputReference_Override ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleRedirectOptionsAOutputReference_Override(c ComputeSecurityPolicyRuleRedirectOptionsAOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleTimeoutsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleTimeoutsOutputReference_Override(c ComputeSecurityPolicyRuleTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
Types ¶
type ComputeSecurityPolicyRuleA ¶
type ComputeSecurityPolicyRuleA interface { cdktf.TerraformResource Action() *string SetAction(val *string) ActionInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string HeaderAction() ComputeSecurityPolicyRuleHeaderActionAOutputReference HeaderActionInput() *ComputeSecurityPolicyRuleHeaderActionA Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Match() ComputeSecurityPolicyRuleMatchAOutputReference MatchInput() *ComputeSecurityPolicyRuleMatchA // The tree node. Node() constructs.Node PreconfiguredWafConfig() ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference PreconfiguredWafConfigInput() *ComputeSecurityPolicyRulePreconfiguredWafConfigA Preview() interface{} SetPreview(val interface{}) PreviewInput() interface{} Priority() *float64 SetPriority(val *float64) PriorityInput() *float64 Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) RateLimitOptions() ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference RateLimitOptionsInput() *ComputeSecurityPolicyRuleRateLimitOptionsA // Experimental. RawOverrides() interface{} RedirectOptions() ComputeSecurityPolicyRuleRedirectOptionsAOutputReference RedirectOptionsInput() *ComputeSecurityPolicyRuleRedirectOptionsA SecurityPolicy() *string SetSecurityPolicy(val *string) SecurityPolicyInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeSecurityPolicyRuleTimeoutsOutputReference TimeoutsInput() interface{} // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutHeaderAction(value *ComputeSecurityPolicyRuleHeaderActionA) PutMatch(value *ComputeSecurityPolicyRuleMatchA) PutPreconfiguredWafConfig(value *ComputeSecurityPolicyRulePreconfiguredWafConfigA) PutRateLimitOptions(value *ComputeSecurityPolicyRuleRateLimitOptionsA) PutRedirectOptions(value *ComputeSecurityPolicyRuleRedirectOptionsA) PutTimeouts(value *ComputeSecurityPolicyRuleTimeouts) ResetDescription() ResetHeaderAction() ResetId() ResetMatch() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPreconfiguredWafConfig() ResetPreview() ResetProject() ResetRateLimitOptions() ResetRedirectOptions() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule google_compute_security_policy_rule}.
func NewComputeSecurityPolicyRuleA ¶
func NewComputeSecurityPolicyRuleA(scope constructs.Construct, id *string, config *ComputeSecurityPolicyRuleAConfig) ComputeSecurityPolicyRuleA
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule google_compute_security_policy_rule} Resource.
type ComputeSecurityPolicyRuleAConfig ¶
type ComputeSecurityPolicyRuleAConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The Action to perform when the rule is matched. The following are the valid actions:. // // * allow: allow access to target. // // * deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for STATUS 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 rateLimitOptions 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. This action is only supported in Global Security Policies of type CLOUD_ARMOR. // // * throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rateLimitOptions to be set for this. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#action ComputeSecurityPolicyRuleA#action} Action *string `field:"required" json:"action" yaml:"action"` // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#priority ComputeSecurityPolicyRuleA#priority} Priority *float64 `field:"required" json:"priority" yaml:"priority"` // The name of the security policy this rule belongs to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#security_policy ComputeSecurityPolicyRuleA#security_policy} SecurityPolicy *string `field:"required" json:"securityPolicy" yaml:"securityPolicy"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#description ComputeSecurityPolicyRuleA#description} Description *string `field:"optional" json:"description" yaml:"description"` // header_action block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#header_action ComputeSecurityPolicyRuleA#header_action} HeaderAction *ComputeSecurityPolicyRuleHeaderActionA `field:"optional" json:"headerAction" yaml:"headerAction"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#id ComputeSecurityPolicyRuleA#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // match block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#match ComputeSecurityPolicyRuleA#match} Match *ComputeSecurityPolicyRuleMatchA `field:"optional" json:"match" yaml:"match"` // preconfigured_waf_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#preconfigured_waf_config ComputeSecurityPolicyRuleA#preconfigured_waf_config} PreconfiguredWafConfig *ComputeSecurityPolicyRulePreconfiguredWafConfigA `field:"optional" json:"preconfiguredWafConfig" yaml:"preconfiguredWafConfig"` // If set to true, the specified action is not enforced. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#preview ComputeSecurityPolicyRuleA#preview} Preview interface{} `field:"optional" json:"preview" yaml:"preview"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#project ComputeSecurityPolicyRuleA#project}. Project *string `field:"optional" json:"project" yaml:"project"` // rate_limit_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#rate_limit_options ComputeSecurityPolicyRuleA#rate_limit_options} RateLimitOptions *ComputeSecurityPolicyRuleRateLimitOptionsA `field:"optional" json:"rateLimitOptions" yaml:"rateLimitOptions"` // redirect_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#redirect_options ComputeSecurityPolicyRuleA#redirect_options} RedirectOptions *ComputeSecurityPolicyRuleRedirectOptionsA `field:"optional" json:"redirectOptions" yaml:"redirectOptions"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#timeouts ComputeSecurityPolicyRuleA#timeouts} Timeouts *ComputeSecurityPolicyRuleTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeSecurityPolicyRuleHeaderActionA ¶ added in v14.9.0
type ComputeSecurityPolicyRuleHeaderActionA struct { // request_headers_to_adds block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#request_headers_to_adds ComputeSecurityPolicyRuleA#request_headers_to_adds} RequestHeadersToAdds interface{} `field:"optional" json:"requestHeadersToAdds" yaml:"requestHeadersToAdds"` }
type ComputeSecurityPolicyRuleHeaderActionAOutputReference ¶ added in v14.9.0
type ComputeSecurityPolicyRuleHeaderActionAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleHeaderActionA SetInternalValue(val *ComputeSecurityPolicyRuleHeaderActionA) RequestHeadersToAdds() ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList RequestHeadersToAddsInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRequestHeadersToAdds(value interface{}) ResetRequestHeadersToAdds() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleHeaderActionAOutputReference ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleHeaderActionAOutputReference
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsA ¶ added in v14.9.0
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsA struct { // The name of the header to set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#header_name ComputeSecurityPolicyRuleA#header_name} HeaderName *string `field:"optional" json:"headerName" yaml:"headerName"` // The value to set the named header to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#header_value ComputeSecurityPolicyRuleA#header_value} HeaderValue *string `field:"optional" json:"headerValue" yaml:"headerValue"` }
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList ¶ added in v14.9.0
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference ¶ added in v14.9.0
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string HeaderName() *string SetHeaderName(val *string) HeaderNameInput() *string HeaderValue() *string SetHeaderValue(val *string) HeaderValueInput() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHeaderName() ResetHeaderValue() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference
type ComputeSecurityPolicyRuleMatchA ¶
type ComputeSecurityPolicyRuleMatchA struct { // config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#config ComputeSecurityPolicyRuleA#config} Config *ComputeSecurityPolicyRuleMatchConfigA `field:"optional" json:"config" yaml:"config"` // expr block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#expr ComputeSecurityPolicyRuleA#expr} Expr *ComputeSecurityPolicyRuleMatchExprA `field:"optional" json:"expr" yaml:"expr"` // expr_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#expr_options ComputeSecurityPolicyRuleA#expr_options} ExprOptions *ComputeSecurityPolicyRuleMatchExprOptionsA `field:"optional" json:"exprOptions" yaml:"exprOptions"` // 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 srcIpRange field in config. Possible values: ["SRC_IPS_V1"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#versioned_expr ComputeSecurityPolicyRuleA#versioned_expr} VersionedExpr *string `field:"optional" json:"versionedExpr" yaml:"versionedExpr"` }
type ComputeSecurityPolicyRuleMatchAOutputReference ¶
type ComputeSecurityPolicyRuleMatchAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Config() ComputeSecurityPolicyRuleMatchConfigAOutputReference ConfigInput() *ComputeSecurityPolicyRuleMatchConfigA // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Expr() ComputeSecurityPolicyRuleMatchExprAOutputReference ExprInput() *ComputeSecurityPolicyRuleMatchExprA ExprOptions() ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference ExprOptionsInput() *ComputeSecurityPolicyRuleMatchExprOptionsA // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleMatchA SetInternalValue(val *ComputeSecurityPolicyRuleMatchA) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VersionedExpr() *string SetVersionedExpr(val *string) VersionedExprInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutConfig(value *ComputeSecurityPolicyRuleMatchConfigA) PutExpr(value *ComputeSecurityPolicyRuleMatchExprA) PutExprOptions(value *ComputeSecurityPolicyRuleMatchExprOptionsA) ResetConfig() ResetExpr() ResetExprOptions() ResetVersionedExpr() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleMatchAOutputReference ¶
func NewComputeSecurityPolicyRuleMatchAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchAOutputReference
type ComputeSecurityPolicyRuleMatchConfigA ¶
type ComputeSecurityPolicyRuleMatchConfigA struct { // CIDR IP address range. Maximum number of srcIpRanges allowed is 10. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#src_ip_ranges ComputeSecurityPolicyRuleA#src_ip_ranges} SrcIpRanges *[]*string `field:"optional" json:"srcIpRanges" yaml:"srcIpRanges"` }
type ComputeSecurityPolicyRuleMatchConfigAOutputReference ¶
type ComputeSecurityPolicyRuleMatchConfigAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleMatchConfigA SetInternalValue(val *ComputeSecurityPolicyRuleMatchConfigA) SrcIpRanges() *[]*string SetSrcIpRanges(val *[]*string) SrcIpRangesInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetSrcIpRanges() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleMatchConfigAOutputReference ¶
func NewComputeSecurityPolicyRuleMatchConfigAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchConfigAOutputReference
type ComputeSecurityPolicyRuleMatchExprA ¶
type ComputeSecurityPolicyRuleMatchExprA struct { // Textual representation of an expression in Common Expression Language syntax. // // The application context of the containing message determines which well-known feature set of CEL is supported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#expression ComputeSecurityPolicyRuleA#expression} Expression *string `field:"required" json:"expression" yaml:"expression"` }
type ComputeSecurityPolicyRuleMatchExprAOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Expression() *string SetExpression(val *string) ExpressionInput() *string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleMatchExprA SetInternalValue(val *ComputeSecurityPolicyRuleMatchExprA) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleMatchExprAOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprAOutputReference
type ComputeSecurityPolicyRuleMatchExprOptionsA ¶
type ComputeSecurityPolicyRuleMatchExprOptionsA struct { // recaptcha_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#recaptcha_options ComputeSecurityPolicyRuleA#recaptcha_options} RecaptchaOptions *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA `field:"required" json:"recaptchaOptions" yaml:"recaptchaOptions"` }
type ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleMatchExprOptionsA SetInternalValue(val *ComputeSecurityPolicyRuleMatchExprOptionsA) RecaptchaOptions() ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference RecaptchaOptionsInput() *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRecaptchaOptions(value *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA) // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleMatchExprOptionsAOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA ¶
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA struct { // A list of site keys to be used during the validation of reCAPTCHA action-tokens. // // The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#action_token_site_keys ComputeSecurityPolicyRuleA#action_token_site_keys} ActionTokenSiteKeys *[]*string `field:"optional" json:"actionTokenSiteKeys" yaml:"actionTokenSiteKeys"` // A list of site keys to be used during the validation of reCAPTCHA session-tokens. // // The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#session_token_site_keys ComputeSecurityPolicyRuleA#session_token_site_keys} SessionTokenSiteKeys *[]*string `field:"optional" json:"sessionTokenSiteKeys" yaml:"sessionTokenSiteKeys"` }
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference interface { cdktf.ComplexObject ActionTokenSiteKeys() *[]*string SetActionTokenSiteKeys(val *[]*string) ActionTokenSiteKeysInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA SetInternalValue(val *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA) SessionTokenSiteKeys() *[]*string SetSessionTokenSiteKeys(val *[]*string) SessionTokenSiteKeysInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetActionTokenSiteKeys() ResetSessionTokenSiteKeys() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigA struct { // exclusion block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#exclusion ComputeSecurityPolicyRuleA#exclusion} Exclusion interface{} `field:"optional" json:"exclusion" yaml:"exclusion"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Exclusion() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList ExclusionInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRulePreconfiguredWafConfigA SetInternalValue(val *ComputeSecurityPolicyRulePreconfiguredWafConfigA) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutExclusion(value interface{}) ResetExclusion() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionA struct { // Target WAF rule set to apply the preconfigured WAF exclusion. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#target_rule_set ComputeSecurityPolicyRuleA#target_rule_set} TargetRuleSet *string `field:"required" json:"targetRuleSet" yaml:"targetRuleSet"` // request_cookie block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#request_cookie ComputeSecurityPolicyRuleA#request_cookie} RequestCookie interface{} `field:"optional" json:"requestCookie" yaml:"requestCookie"` // request_header block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#request_header ComputeSecurityPolicyRuleA#request_header} RequestHeader interface{} `field:"optional" json:"requestHeader" yaml:"requestHeader"` // request_query_param block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#request_query_param ComputeSecurityPolicyRuleA#request_query_param} RequestQueryParam interface{} `field:"optional" json:"requestQueryParam" yaml:"requestQueryParam"` // request_uri block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#request_uri ComputeSecurityPolicyRuleA#request_uri} RequestUri interface{} `field:"optional" json:"requestUri" yaml:"requestUri"` // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#target_rule_ids ComputeSecurityPolicyRuleA#target_rule_ids} TargetRuleIds *[]*string `field:"optional" json:"targetRuleIds" yaml:"targetRuleIds"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) RequestCookie() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList RequestCookieInput() interface{} RequestHeader() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList RequestHeaderInput() interface{} RequestQueryParam() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList RequestQueryParamInput() interface{} RequestUri() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList RequestUriInput() interface{} TargetRuleIds() *[]*string SetTargetRuleIds(val *[]*string) TargetRuleIdsInput() *[]*string TargetRuleSet() *string SetTargetRuleSet(val *string) TargetRuleSetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRequestCookie(value interface{}) PutRequestHeader(value interface{}) PutRequestQueryParam(value interface{}) PutRequestUri(value interface{}) ResetRequestCookie() ResetRequestHeader() ResetRequestQueryParam() ResetRequestUri() ResetTargetRuleIds() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieA struct { // You can specify an exact match or a partial match by using a field operator and a field value. // // Available options: // EQUALS: The operator matches if the field value equals the specified value. // STARTS_WITH: The operator matches if the field value starts with the specified value. // ENDS_WITH: The operator matches if the field value ends with the specified value. // CONTAINS: The operator matches if the field value contains the specified value. // EQUALS_ANY: The operator matches if the field value is any value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#operator ComputeSecurityPolicyRuleA#operator} Operator *string `field:"required" json:"operator" yaml:"operator"` // A request field matching the specified value will be excluded from inspection during preconfigured WAF evaluation. // // The field value must be given if the field operator is not EQUALS_ANY, and cannot be given if the field operator is EQUALS_ANY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#value ComputeSecurityPolicyRuleA#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetValue() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderA struct { // You can specify an exact match or a partial match by using a field operator and a field value. // // Available options: // EQUALS: The operator matches if the field value equals the specified value. // STARTS_WITH: The operator matches if the field value starts with the specified value. // ENDS_WITH: The operator matches if the field value ends with the specified value. // CONTAINS: The operator matches if the field value contains the specified value. // EQUALS_ANY: The operator matches if the field value is any value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#operator ComputeSecurityPolicyRuleA#operator} Operator *string `field:"required" json:"operator" yaml:"operator"` // A request field matching the specified value will be excluded from inspection during preconfigured WAF evaluation. // // The field value must be given if the field operator is not EQUALS_ANY, and cannot be given if the field operator is EQUALS_ANY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#value ComputeSecurityPolicyRuleA#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetValue() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamA struct { // You can specify an exact match or a partial match by using a field operator and a field value. // // Available options: // EQUALS: The operator matches if the field value equals the specified value. // STARTS_WITH: The operator matches if the field value starts with the specified value. // ENDS_WITH: The operator matches if the field value ends with the specified value. // CONTAINS: The operator matches if the field value contains the specified value. // EQUALS_ANY: The operator matches if the field value is any value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#operator ComputeSecurityPolicyRuleA#operator} Operator *string `field:"required" json:"operator" yaml:"operator"` // A request field matching the specified value will be excluded from inspection during preconfigured WAF evaluation. // // The field value must be given if the field operator is not EQUALS_ANY, and cannot be given if the field operator is EQUALS_ANY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#value ComputeSecurityPolicyRuleA#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetValue() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriA ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriA struct { // You can specify an exact match or a partial match by using a field operator and a field value. // // Available options: // EQUALS: The operator matches if the field value equals the specified value. // STARTS_WITH: The operator matches if the field value starts with the specified value. // ENDS_WITH: The operator matches if the field value ends with the specified value. // CONTAINS: The operator matches if the field value contains the specified value. // EQUALS_ANY: The operator matches if the field value is any value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#operator ComputeSecurityPolicyRuleA#operator} Operator *string `field:"required" json:"operator" yaml:"operator"` // A request field matching the specified value will be excluded from inspection during preconfigured WAF evaluation. // // The field value must be given if the field operator is not EQUALS_ANY, and cannot be given if the field operator is EQUALS_ANY. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#value ComputeSecurityPolicyRuleA#value} Value *string `field:"optional" json:"value" yaml:"value"` }
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference ¶ added in v14.10.0
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetValue() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference ¶ added in v14.10.0
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsA ¶
type ComputeSecurityPolicyRuleRateLimitOptionsA struct { // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#ban_duration_sec ComputeSecurityPolicyRuleA#ban_duration_sec} BanDurationSec *float64 `field:"optional" json:"banDurationSec" yaml:"banDurationSec"` // ban_threshold block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#ban_threshold ComputeSecurityPolicyRuleA#ban_threshold} BanThreshold *ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA `field:"optional" json:"banThreshold" yaml:"banThreshold"` // Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#conform_action ComputeSecurityPolicyRuleA#conform_action} ConformAction *string `field:"optional" json:"conformAction" yaml:"conformAction"` // Determines the key to enforce the rateLimitThreshold 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 "enforceOnKey" 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 "enforceOnKeyName". 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 "enforceOnKeyName". 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. // * HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. // * SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. // * REGION_CODE: The country/region from which the request originates. // * TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. // * USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. Possible values: ["ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", "TLS_JA3_FINGERPRINT", "USER_IP"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#enforce_on_key ComputeSecurityPolicyRuleA#enforce_on_key} EnforceOnKey *string `field:"optional" json:"enforceOnKey" yaml:"enforceOnKey"` // enforce_on_key_configs block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#enforce_on_key_configs ComputeSecurityPolicyRuleA#enforce_on_key_configs} EnforceOnKeyConfigs interface{} `field:"optional" json:"enforceOnKeyConfigs" yaml:"enforceOnKeyConfigs"` // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#enforce_on_key_name ComputeSecurityPolicyRuleA#enforce_on_key_name} EnforceOnKeyName *string `field:"optional" json:"enforceOnKeyName" yaml:"enforceOnKeyName"` // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#exceed_action ComputeSecurityPolicyRuleA#exceed_action} ExceedAction *string `field:"optional" json:"exceedAction" yaml:"exceedAction"` // exceed_redirect_options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#exceed_redirect_options ComputeSecurityPolicyRuleA#exceed_redirect_options} ExceedRedirectOptions *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA `field:"optional" json:"exceedRedirectOptions" yaml:"exceedRedirectOptions"` // rate_limit_threshold block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#rate_limit_threshold ComputeSecurityPolicyRuleA#rate_limit_threshold} RateLimitThreshold *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA `field:"optional" json:"rateLimitThreshold" yaml:"rateLimitThreshold"` }
type ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference interface { cdktf.ComplexObject BanDurationSec() *float64 SetBanDurationSec(val *float64) BanDurationSecInput() *float64 BanThreshold() ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference BanThresholdInput() *ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ConformAction() *string SetConformAction(val *string) ConformActionInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string EnforceOnKey() *string SetEnforceOnKey(val *string) EnforceOnKeyConfigs() ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList EnforceOnKeyConfigsInput() interface{} EnforceOnKeyInput() *string EnforceOnKeyName() *string SetEnforceOnKeyName(val *string) EnforceOnKeyNameInput() *string ExceedAction() *string SetExceedAction(val *string) ExceedActionInput() *string ExceedRedirectOptions() ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference ExceedRedirectOptionsInput() *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleRateLimitOptionsA SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsA) RateLimitThreshold() ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference RateLimitThresholdInput() *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutBanThreshold(value *ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA) PutEnforceOnKeyConfigs(value interface{}) PutExceedRedirectOptions(value *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA) PutRateLimitThreshold(value *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA) ResetBanDurationSec() ResetBanThreshold() ResetConformAction() ResetEnforceOnKey() ResetEnforceOnKeyConfigs() ResetEnforceOnKeyName() ResetExceedAction() ResetExceedRedirectOptions() ResetRateLimitThreshold() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsAOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA ¶
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA struct { // Number of HTTP(S) requests for calculating the threshold. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#count ComputeSecurityPolicyRuleA#count} Count *float64 `field:"optional" json:"count" yaml:"count"` // Interval over which the threshold is computed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#interval_sec ComputeSecurityPolicyRuleA#interval_sec} IntervalSec *float64 `field:"optional" json:"intervalSec" yaml:"intervalSec"` }
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Count() *float64 SetCount(val *float64) CountInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA) IntervalSec() *float64 SetIntervalSec(val *float64) IntervalSecInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCount() ResetIntervalSec() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs ¶
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs struct { // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#enforce_on_key_name ComputeSecurityPolicyRuleA#enforce_on_key_name} EnforceOnKeyName *string `field:"optional" json:"enforceOnKeyName" yaml:"enforceOnKeyName"` // Determines the key to enforce the rateLimitThreshold 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 "enforceOnKeyConfigs" 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 "enforceOnKeyName". 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 "enforceOnKeyName". 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. // * HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. // * SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. // * REGION_CODE: The country/region from which the request originates. // * TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. // * USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. Possible values: ["ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", "TLS_JA3_FINGERPRINT", "USER_IP"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#enforce_on_key_type ComputeSecurityPolicyRuleA#enforce_on_key_type} EnforceOnKeyType *string `field:"optional" json:"enforceOnKeyType" yaml:"enforceOnKeyType"` }
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList ¶
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string EnforceOnKeyName() *string SetEnforceOnKeyName(val *string) EnforceOnKeyNameInput() *string EnforceOnKeyType() *string SetEnforceOnKeyType(val *string) EnforceOnKeyTypeInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetEnforceOnKeyName() ResetEnforceOnKeyType() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA ¶
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA struct { // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#target ComputeSecurityPolicyRuleA#target} Target *string `field:"optional" json:"target" yaml:"target"` // Type of the redirect action. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#type ComputeSecurityPolicyRuleA#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA) Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetTarget() ResetType() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA ¶
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA struct { // Number of HTTP(S) requests for calculating the threshold. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#count ComputeSecurityPolicyRuleA#count} Count *float64 `field:"optional" json:"count" yaml:"count"` // Interval over which the threshold is computed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#interval_sec ComputeSecurityPolicyRuleA#interval_sec} IntervalSec *float64 `field:"optional" json:"intervalSec" yaml:"intervalSec"` }
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Count() *float64 SetCount(val *float64) CountInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA) IntervalSec() *float64 SetIntervalSec(val *float64) IntervalSecInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCount() ResetIntervalSec() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference
type ComputeSecurityPolicyRuleRedirectOptionsA ¶ added in v14.9.0
type ComputeSecurityPolicyRuleRedirectOptionsA struct { // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#target ComputeSecurityPolicyRuleA#target} Target *string `field:"optional" json:"target" yaml:"target"` // Type of the redirect action. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#type ComputeSecurityPolicyRuleA#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ComputeSecurityPolicyRuleRedirectOptionsAOutputReference ¶ added in v14.9.0
type ComputeSecurityPolicyRuleRedirectOptionsAOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeSecurityPolicyRuleRedirectOptionsA SetInternalValue(val *ComputeSecurityPolicyRuleRedirectOptionsA) Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetTarget() ResetType() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleRedirectOptionsAOutputReference ¶ added in v14.9.0
func NewComputeSecurityPolicyRuleRedirectOptionsAOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRedirectOptionsAOutputReference
type ComputeSecurityPolicyRuleTimeouts ¶
type ComputeSecurityPolicyRuleTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#create ComputeSecurityPolicyRuleA#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#delete ComputeSecurityPolicyRuleA#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_security_policy_rule#update ComputeSecurityPolicyRuleA#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeSecurityPolicyRuleTimeoutsOutputReference ¶
type ComputeSecurityPolicyRuleTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSecurityPolicyRuleTimeoutsOutputReference ¶
func NewComputeSecurityPolicyRuleTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleTimeoutsOutputReference
Source Files ¶
- ComputeSecurityPolicyRuleA.go
- ComputeSecurityPolicyRuleAConfig.go
- ComputeSecurityPolicyRuleA__checks.go
- ComputeSecurityPolicyRuleHeaderActionA.go
- ComputeSecurityPolicyRuleHeaderActionAOutputReference.go
- ComputeSecurityPolicyRuleHeaderActionAOutputReference__checks.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsA.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAList__checks.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsAOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchA.go
- ComputeSecurityPolicyRuleMatchAOutputReference.go
- ComputeSecurityPolicyRuleMatchAOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchConfigA.go
- ComputeSecurityPolicyRuleMatchConfigAOutputReference.go
- ComputeSecurityPolicyRuleMatchConfigAOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExprA.go
- ComputeSecurityPolicyRuleMatchExprAOutputReference.go
- ComputeSecurityPolicyRuleMatchExprAOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExprOptionsA.go
- ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference.go
- ComputeSecurityPolicyRuleMatchExprOptionsAOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsA.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamAOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriA.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriAOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsA.go
- ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsAOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsA.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsAOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdA.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdAOutputReference__checks.go
- ComputeSecurityPolicyRuleRedirectOptionsA.go
- ComputeSecurityPolicyRuleRedirectOptionsAOutputReference.go
- ComputeSecurityPolicyRuleRedirectOptionsAOutputReference__checks.go
- ComputeSecurityPolicyRuleTimeouts.go
- ComputeSecurityPolicyRuleTimeoutsOutputReference.go
- ComputeSecurityPolicyRuleTimeoutsOutputReference__checks.go
- main.go