Documentation
¶
Index ¶
- func ComputeSecurityPolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeSecurityPolicy_IsConstruct(x interface{}) *bool
- func ComputeSecurityPolicy_IsTerraformElement(x interface{}) *bool
- func ComputeSecurityPolicy_IsTerraformResource(x interface{}) *bool
- func ComputeSecurityPolicy_TfResourceType() *string
- func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference_Override(...)
- func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList_Override(...)
- func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference_Override(...)
- func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList_Override(...)
- func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference_Override(...)
- func NewComputeSecurityPolicyAdaptiveProtectionConfigOutputReference_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference, ...)
- func NewComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference_Override(c ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference, ...)
- func NewComputeSecurityPolicyAdvancedOptionsConfigOutputReference_Override(c ComputeSecurityPolicyAdvancedOptionsConfigOutputReference, ...)
- func NewComputeSecurityPolicyRecaptchaOptionsConfigOutputReference_Override(c ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference, ...)
- func NewComputeSecurityPolicyRuleHeaderActionOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionOutputReference, ...)
- func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList, ...)
- func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference, ...)
- func NewComputeSecurityPolicyRuleList_Override(c ComputeSecurityPolicyRuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewComputeSecurityPolicyRuleMatchConfigOutputReference_Override(c ComputeSecurityPolicyRuleMatchConfigOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprOptionsOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchExprOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOutputReference, ...)
- func NewComputeSecurityPolicyRuleMatchOutputReference_Override(c ComputeSecurityPolicyRuleMatchOutputReference, ...)
- func NewComputeSecurityPolicyRuleOutputReference_Override(c ComputeSecurityPolicyRuleOutputReference, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList, ...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference_Override(...)
- func NewComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference_Override(...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsOutputReference, ...)
- func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference, ...)
- func NewComputeSecurityPolicyRuleRedirectOptionsOutputReference_Override(c ComputeSecurityPolicyRuleRedirectOptionsOutputReference, ...)
- func NewComputeSecurityPolicyTimeoutsOutputReference_Override(c ComputeSecurityPolicyTimeoutsOutputReference, ...)
- func NewComputeSecurityPolicy_Override(c ComputeSecurityPolicy, scope constructs.Construct, id *string, ...)
- type ComputeSecurityPolicy
- type ComputeSecurityPolicyAdaptiveProtectionConfig
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigs
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigs
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList
- type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference
- type ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference
- type ComputeSecurityPolicyAdvancedOptionsConfig
- type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig
- type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference
- type ComputeSecurityPolicyAdvancedOptionsConfigOutputReference
- type ComputeSecurityPolicyConfig
- type ComputeSecurityPolicyRecaptchaOptionsConfig
- type ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference
- type ComputeSecurityPolicyRule
- type ComputeSecurityPolicyRuleHeaderAction
- type ComputeSecurityPolicyRuleHeaderActionOutputReference
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAdds
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList
- type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference
- type ComputeSecurityPolicyRuleList
- type ComputeSecurityPolicyRuleMatch
- type ComputeSecurityPolicyRuleMatchConfig
- type ComputeSecurityPolicyRuleMatchConfigOutputReference
- type ComputeSecurityPolicyRuleMatchExpr
- type ComputeSecurityPolicyRuleMatchExprOptions
- type ComputeSecurityPolicyRuleMatchExprOptionsOutputReference
- type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions
- type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference
- type ComputeSecurityPolicyRuleMatchExprOutputReference
- type ComputeSecurityPolicyRuleMatchOutputReference
- type ComputeSecurityPolicyRuleOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfig
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusion
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParam
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUri
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList
- type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference
- type ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptions
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList
- type ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions
- type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsOutputReference
- type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold
- type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference
- type ComputeSecurityPolicyRuleRedirectOptions
- type ComputeSecurityPolicyRuleRedirectOptionsOutputReference
- type ComputeSecurityPolicyTimeouts
- type ComputeSecurityPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSecurityPolicy_GenerateConfigForImport ¶
func ComputeSecurityPolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeSecurityPolicy resource upon running "cdktf plan <stack-name>".
func ComputeSecurityPolicy_IsConstruct ¶
func ComputeSecurityPolicy_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 ComputeSecurityPolicy_IsTerraformElement ¶
func ComputeSecurityPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeSecurityPolicy_IsTerraformResource ¶
func ComputeSecurityPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeSecurityPolicy_TfResourceType ¶
func ComputeSecurityPolicy_TfResourceType() *string
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyAdaptiveProtectionConfigOutputReference_Override ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigOutputReference_Override(c ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference_Override ¶
func NewComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference_Override(c ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyAdvancedOptionsConfigOutputReference_Override ¶
func NewComputeSecurityPolicyAdvancedOptionsConfigOutputReference_Override(c ComputeSecurityPolicyAdvancedOptionsConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRecaptchaOptionsConfigOutputReference_Override ¶
func NewComputeSecurityPolicyRecaptchaOptionsConfigOutputReference_Override(c ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleHeaderActionOutputReference_Override ¶
func NewComputeSecurityPolicyRuleHeaderActionOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList_Override ¶
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference_Override(c ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRuleList_Override ¶
func NewComputeSecurityPolicyRuleList_Override(c ComputeSecurityPolicyRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRuleMatchConfigOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchConfigOutputReference_Override(c ComputeSecurityPolicyRuleMatchConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprOptionsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchExprOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchExprOutputReference_Override(c ComputeSecurityPolicyRuleMatchExprOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleMatchOutputReference_Override ¶
func NewComputeSecurityPolicyRuleMatchOutputReference_Override(c ComputeSecurityPolicyRuleMatchOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleOutputReference_Override ¶
func NewComputeSecurityPolicyRuleOutputReference_Override(c ComputeSecurityPolicyRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference_Override ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference_Override(c ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference, 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 NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyRuleRedirectOptionsOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRedirectOptionsOutputReference_Override(c ComputeSecurityPolicyRuleRedirectOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicyTimeoutsOutputReference_Override ¶
func NewComputeSecurityPolicyTimeoutsOutputReference_Override(c ComputeSecurityPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSecurityPolicy_Override ¶
func NewComputeSecurityPolicy_Override(c ComputeSecurityPolicy, scope constructs.Construct, id *string, config *ComputeSecurityPolicyConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy google_compute_security_policy} Resource.
Types ¶
type ComputeSecurityPolicy ¶
type ComputeSecurityPolicy interface {
cdktf.TerraformResource
AdaptiveProtectionConfig() ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference
AdaptiveProtectionConfigInput() *ComputeSecurityPolicyAdaptiveProtectionConfig
AdvancedOptionsConfig() ComputeSecurityPolicyAdvancedOptionsConfigOutputReference
AdvancedOptionsConfigInput() *ComputeSecurityPolicyAdvancedOptionsConfig
// 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
Fingerprint() *string
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Id() *string
SetId(val *string)
IdInput() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
Project() *string
SetProject(val *string)
ProjectInput() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
// Experimental.
RawOverrides() interface{}
RecaptchaOptionsConfig() ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference
RecaptchaOptionsConfigInput() *ComputeSecurityPolicyRecaptchaOptionsConfig
Rule() ComputeSecurityPolicyRuleList
RuleInput() interface{}
SelfLink() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() ComputeSecurityPolicyTimeoutsOutputReference
TimeoutsInput() interface{}
Type() *string
SetType(val *string)
TypeInput() *string
// 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)
PutAdaptiveProtectionConfig(value *ComputeSecurityPolicyAdaptiveProtectionConfig)
PutAdvancedOptionsConfig(value *ComputeSecurityPolicyAdvancedOptionsConfig)
PutRecaptchaOptionsConfig(value *ComputeSecurityPolicyRecaptchaOptionsConfig)
PutRule(value interface{})
PutTimeouts(value *ComputeSecurityPolicyTimeouts)
ResetAdaptiveProtectionConfig()
ResetAdvancedOptionsConfig()
ResetDescription()
ResetId()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetProject()
ResetRecaptchaOptionsConfig()
ResetRule()
ResetTimeouts()
ResetType()
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.45.0/docs/resources/compute_security_policy google_compute_security_policy}.
func NewComputeSecurityPolicy ¶
func NewComputeSecurityPolicy(scope constructs.Construct, id *string, config *ComputeSecurityPolicyConfig) ComputeSecurityPolicy
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy google_compute_security_policy} Resource.
type ComputeSecurityPolicyAdaptiveProtectionConfig ¶
type ComputeSecurityPolicyAdaptiveProtectionConfig struct {
// layer_7_ddos_defense_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#layer_7_ddos_defense_config ComputeSecurityPolicy#layer_7_ddos_defense_config}
Layer7DdosDefenseConfig *ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig `field:"optional" json:"layer7DdosDefenseConfig" yaml:"layer7DdosDefenseConfig"`
}
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig struct {
// If set to true, enables CAAP for L7 DDoS detection.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#enable ComputeSecurityPolicy#enable}
Enable interface{} `field:"optional" json:"enable" yaml:"enable"`
// Rule visibility. Supported values include: "STANDARD", "PREMIUM".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#rule_visibility ComputeSecurityPolicy#rule_visibility}
RuleVisibility *string `field:"optional" json:"ruleVisibility" yaml:"ruleVisibility"`
// threshold_configs block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#threshold_configs ComputeSecurityPolicy#threshold_configs}
ThresholdConfigs interface{} `field:"optional" json:"thresholdConfigs" yaml:"thresholdConfigs"`
}
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference 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
Enable() interface{}
SetEnable(val interface{})
EnableInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
SetInternalValue(val *ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig)
RuleVisibility() *string
SetRuleVisibility(val *string)
RuleVisibilityInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
ThresholdConfigs() ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList
ThresholdConfigsInput() interface{}
// 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
PutThresholdConfigs(value interface{})
ResetEnable()
ResetRuleVisibility()
ResetThresholdConfigs()
// 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 NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigs ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigs struct {
// The name must be 1-63 characters long, and comply with RFC1035.
//
// The name must be unique within the security policy.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#name ComputeSecurityPolicy#name}
Name *string `field:"required" json:"name" yaml:"name"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#auto_deploy_confidence_threshold ComputeSecurityPolicy#auto_deploy_confidence_threshold}.
AutoDeployConfidenceThreshold *float64 `field:"optional" json:"autoDeployConfidenceThreshold" yaml:"autoDeployConfidenceThreshold"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#auto_deploy_expiration_sec ComputeSecurityPolicy#auto_deploy_expiration_sec}.
AutoDeployExpirationSec *float64 `field:"optional" json:"autoDeployExpirationSec" yaml:"autoDeployExpirationSec"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#auto_deploy_impacted_baseline_threshold ComputeSecurityPolicy#auto_deploy_impacted_baseline_threshold}.
AutoDeployImpactedBaselineThreshold *float64 `field:"optional" json:"autoDeployImpactedBaselineThreshold" yaml:"autoDeployImpactedBaselineThreshold"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#auto_deploy_load_threshold ComputeSecurityPolicy#auto_deploy_load_threshold}.
AutoDeployLoadThreshold *float64 `field:"optional" json:"autoDeployLoadThreshold" yaml:"autoDeployLoadThreshold"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#detection_absolute_qps ComputeSecurityPolicy#detection_absolute_qps}.
DetectionAbsoluteQps *float64 `field:"optional" json:"detectionAbsoluteQps" yaml:"detectionAbsoluteQps"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#detection_load_threshold ComputeSecurityPolicy#detection_load_threshold}.
DetectionLoadThreshold *float64 `field:"optional" json:"detectionLoadThreshold" yaml:"detectionLoadThreshold"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#detection_relative_to_baseline_qps ComputeSecurityPolicy#detection_relative_to_baseline_qps}.
DetectionRelativeToBaselineQps *float64 `field:"optional" json:"detectionRelativeToBaselineQps" yaml:"detectionRelativeToBaselineQps"`
// traffic_granularity_configs block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#traffic_granularity_configs ComputeSecurityPolicy#traffic_granularity_configs}
TrafficGranularityConfigs interface{} `field:"optional" json:"trafficGranularityConfigs" yaml:"trafficGranularityConfigs"`
}
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList 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) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference
// 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 NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference interface {
cdktf.ComplexObject
AutoDeployConfidenceThreshold() *float64
SetAutoDeployConfidenceThreshold(val *float64)
AutoDeployConfidenceThresholdInput() *float64
AutoDeployExpirationSec() *float64
SetAutoDeployExpirationSec(val *float64)
AutoDeployExpirationSecInput() *float64
AutoDeployImpactedBaselineThreshold() *float64
SetAutoDeployImpactedBaselineThreshold(val *float64)
AutoDeployImpactedBaselineThresholdInput() *float64
AutoDeployLoadThreshold() *float64
SetAutoDeployLoadThreshold(val *float64)
AutoDeployLoadThresholdInput() *float64
// 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
DetectionAbsoluteQps() *float64
SetDetectionAbsoluteQps(val *float64)
DetectionAbsoluteQpsInput() *float64
DetectionLoadThreshold() *float64
SetDetectionLoadThreshold(val *float64)
DetectionLoadThresholdInput() *float64
DetectionRelativeToBaselineQps() *float64
SetDetectionRelativeToBaselineQps(val *float64)
DetectionRelativeToBaselineQpsInput() *float64
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Name() *string
SetName(val *string)
NameInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
TrafficGranularityConfigs() ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList
TrafficGranularityConfigsInput() interface{}
// 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
PutTrafficGranularityConfigs(value interface{})
ResetAutoDeployConfidenceThreshold()
ResetAutoDeployExpirationSec()
ResetAutoDeployImpactedBaselineThreshold()
ResetAutoDeployLoadThreshold()
ResetDetectionAbsoluteQps()
ResetDetectionLoadThreshold()
ResetDetectionRelativeToBaselineQps()
ResetTrafficGranularityConfigs()
// 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 NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigs ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigs struct {
// Type of this configuration.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}
Type *string `field:"required" json:"type" yaml:"type"`
// If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit.
//
// It can only be set to true if value is empty.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#enable_each_unique_value ComputeSecurityPolicy#enable_each_unique_value}
EnableEachUniqueValue interface{} `field:"optional" json:"enableEachUniqueValue" yaml:"enableEachUniqueValue"`
// Requests that match this value constitute a granular traffic unit.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#value ComputeSecurityPolicy#value}
Value *string `field:"optional" json:"value" yaml:"value"`
}
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList 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) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference
// 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 NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference 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
EnableEachUniqueValue() interface{}
SetEnableEachUniqueValue(val interface{})
EnableEachUniqueValueInput() interface{}
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Type() *string
SetType(val *string)
TypeInput() *string
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
ResetEnableEachUniqueValue()
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 NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference
type ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference ¶
type ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference 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() *ComputeSecurityPolicyAdaptiveProtectionConfig
SetInternalValue(val *ComputeSecurityPolicyAdaptiveProtectionConfig)
Layer7DdosDefenseConfig() ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference
Layer7DdosDefenseConfigInput() *ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
// 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
PutLayer7DdosDefenseConfig(value *ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig)
ResetLayer7DdosDefenseConfig()
// 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 NewComputeSecurityPolicyAdaptiveProtectionConfigOutputReference ¶
func NewComputeSecurityPolicyAdaptiveProtectionConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference
type ComputeSecurityPolicyAdvancedOptionsConfig ¶
type ComputeSecurityPolicyAdvancedOptionsConfig struct {
// json_custom_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#json_custom_config ComputeSecurityPolicy#json_custom_config}
JsonCustomConfig *ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig `field:"optional" json:"jsonCustomConfig" yaml:"jsonCustomConfig"`
// JSON body parsing. Supported values include: "DISABLED", "STANDARD".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#json_parsing ComputeSecurityPolicy#json_parsing}
JsonParsing *string `field:"optional" json:"jsonParsing" yaml:"jsonParsing"`
// Logging level. Supported values include: "NORMAL", "VERBOSE".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#log_level ComputeSecurityPolicy#log_level}
LogLevel *string `field:"optional" json:"logLevel" yaml:"logLevel"`
// An optional list of case-insensitive request header names to use for resolving the callers client IP address.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#user_ip_request_headers ComputeSecurityPolicy#user_ip_request_headers}
UserIpRequestHeaders *[]*string `field:"optional" json:"userIpRequestHeaders" yaml:"userIpRequestHeaders"`
}
type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig ¶
type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct {
// A list of custom Content-Type header values to apply the JSON parsing.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#content_types ComputeSecurityPolicy#content_types}
ContentTypes *[]*string `field:"required" json:"contentTypes" yaml:"contentTypes"`
}
type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference ¶
type ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference 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)
ContentTypes() *[]*string
SetContentTypes(val *[]*string)
ContentTypesInput() *[]*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
// Experimental.
Fqn() *string
InternalValue() *ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig
SetInternalValue(val *ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig)
// 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 NewComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference ¶
func NewComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference
type ComputeSecurityPolicyAdvancedOptionsConfigOutputReference ¶
type ComputeSecurityPolicyAdvancedOptionsConfigOutputReference 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() *ComputeSecurityPolicyAdvancedOptionsConfig
SetInternalValue(val *ComputeSecurityPolicyAdvancedOptionsConfig)
JsonCustomConfig() ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference
JsonCustomConfigInput() *ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig
JsonParsing() *string
SetJsonParsing(val *string)
JsonParsingInput() *string
LogLevel() *string
SetLogLevel(val *string)
LogLevelInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
UserIpRequestHeaders() *[]*string
SetUserIpRequestHeaders(val *[]*string)
UserIpRequestHeadersInput() *[]*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
PutJsonCustomConfig(value *ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig)
ResetJsonCustomConfig()
ResetJsonParsing()
ResetLogLevel()
ResetUserIpRequestHeaders()
// 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 NewComputeSecurityPolicyAdvancedOptionsConfigOutputReference ¶
func NewComputeSecurityPolicyAdvancedOptionsConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyAdvancedOptionsConfigOutputReference
type ComputeSecurityPolicyConfig ¶
type ComputeSecurityPolicyConfig 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 name of the security policy.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#name ComputeSecurityPolicy#name}
Name *string `field:"required" json:"name" yaml:"name"`
// adaptive_protection_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#adaptive_protection_config ComputeSecurityPolicy#adaptive_protection_config}
AdaptiveProtectionConfig *ComputeSecurityPolicyAdaptiveProtectionConfig `field:"optional" json:"adaptiveProtectionConfig" yaml:"adaptiveProtectionConfig"`
// advanced_options_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#advanced_options_config ComputeSecurityPolicy#advanced_options_config}
AdvancedOptionsConfig *ComputeSecurityPolicyAdvancedOptionsConfig `field:"optional" json:"advancedOptionsConfig" yaml:"advancedOptionsConfig"`
// An optional description of this security policy. Max size is 2048.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#description ComputeSecurityPolicy#description}
Description *string `field:"optional" json:"description" yaml:"description"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#id ComputeSecurityPolicy#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"`
// The project in which the resource belongs. If it is not provided, the provider project is used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#project ComputeSecurityPolicy#project}
Project *string `field:"optional" json:"project" yaml:"project"`
// recaptcha_options_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#recaptcha_options_config ComputeSecurityPolicy#recaptcha_options_config}
RecaptchaOptionsConfig *ComputeSecurityPolicyRecaptchaOptionsConfig `field:"optional" json:"recaptchaOptionsConfig" yaml:"recaptchaOptionsConfig"`
// rule block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#rule ComputeSecurityPolicy#rule}
Rule interface{} `field:"optional" json:"rule" yaml:"rule"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#timeouts ComputeSecurityPolicy#timeouts}
Timeouts *ComputeSecurityPolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// The type indicates the intended use of the security policy.
//
// CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}
Type *string `field:"optional" json:"type" yaml:"type"`
}
type ComputeSecurityPolicyRecaptchaOptionsConfig ¶
type ComputeSecurityPolicyRecaptchaOptionsConfig struct {
// A field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.
//
// The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#redirect_site_key ComputeSecurityPolicy#redirect_site_key}
RedirectSiteKey *string `field:"required" json:"redirectSiteKey" yaml:"redirectSiteKey"`
}
type ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference ¶
type ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference 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() *ComputeSecurityPolicyRecaptchaOptionsConfig
SetInternalValue(val *ComputeSecurityPolicyRecaptchaOptionsConfig)
RedirectSiteKey() *string
SetRedirectSiteKey(val *string)
RedirectSiteKeyInput() *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
// 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 NewComputeSecurityPolicyRecaptchaOptionsConfigOutputReference ¶
func NewComputeSecurityPolicyRecaptchaOptionsConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference
type ComputeSecurityPolicyRule ¶
type ComputeSecurityPolicyRule struct {
// Action to take when match matches the request.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#action ComputeSecurityPolicy#action}
Action *string `field:"required" json:"action" yaml:"action"`
// match block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#match ComputeSecurityPolicy#match}
Match *ComputeSecurityPolicyRuleMatch `field:"required" json:"match" yaml:"match"`
// An unique positive integer indicating the priority of evaluation for a rule.
//
// Rules are evaluated from highest priority (lowest numerically) to lowest priority (highest numerically) in order.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#priority ComputeSecurityPolicy#priority}
Priority *float64 `field:"required" json:"priority" yaml:"priority"`
// An optional description of this rule. Max size is 64.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#description ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#header_action ComputeSecurityPolicy#header_action}
HeaderAction *ComputeSecurityPolicyRuleHeaderAction `field:"optional" json:"headerAction" yaml:"headerAction"`
// preconfigured_waf_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#preconfigured_waf_config ComputeSecurityPolicy#preconfigured_waf_config}
PreconfiguredWafConfig *ComputeSecurityPolicyRulePreconfiguredWafConfig `field:"optional" json:"preconfiguredWafConfig" yaml:"preconfiguredWafConfig"`
// When set to true, the action specified above is not enforced.
//
// Stackdriver logs for requests that trigger a preview action are annotated as such.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#preview ComputeSecurityPolicy#preview}
Preview interface{} `field:"optional" json:"preview" yaml:"preview"`
// rate_limit_options block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#rate_limit_options ComputeSecurityPolicy#rate_limit_options}
RateLimitOptions *ComputeSecurityPolicyRuleRateLimitOptions `field:"optional" json:"rateLimitOptions" yaml:"rateLimitOptions"`
// redirect_options block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#redirect_options ComputeSecurityPolicy#redirect_options}
RedirectOptions *ComputeSecurityPolicyRuleRedirectOptions `field:"optional" json:"redirectOptions" yaml:"redirectOptions"`
}
type ComputeSecurityPolicyRuleHeaderAction ¶
type ComputeSecurityPolicyRuleHeaderAction struct {
// request_headers_to_adds block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#request_headers_to_adds ComputeSecurityPolicy#request_headers_to_adds}
RequestHeadersToAdds interface{} `field:"required" json:"requestHeadersToAdds" yaml:"requestHeadersToAdds"`
}
type ComputeSecurityPolicyRuleHeaderActionOutputReference ¶
type ComputeSecurityPolicyRuleHeaderActionOutputReference 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() *ComputeSecurityPolicyRuleHeaderAction
SetInternalValue(val *ComputeSecurityPolicyRuleHeaderAction)
RequestHeadersToAdds() ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList
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{})
// 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 NewComputeSecurityPolicyRuleHeaderActionOutputReference ¶
func NewComputeSecurityPolicyRuleHeaderActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleHeaderActionOutputReference
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAdds ¶
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAdds struct {
// The name of the header to set.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#header_name ComputeSecurityPolicy#header_name}
HeaderName *string `field:"required" 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.45.0/docs/resources/compute_security_policy#header_value ComputeSecurityPolicy#header_value}
HeaderValue *string `field:"optional" json:"headerValue" yaml:"headerValue"`
}
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList ¶
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList 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) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference
// 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 NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList ¶
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference ¶
type ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference 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
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 NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference ¶
func NewComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference
type ComputeSecurityPolicyRuleList ¶
type ComputeSecurityPolicyRuleList 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) ComputeSecurityPolicyRuleOutputReference
// 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 NewComputeSecurityPolicyRuleList ¶
func NewComputeSecurityPolicyRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRuleList
type ComputeSecurityPolicyRuleMatch ¶
type ComputeSecurityPolicyRuleMatch struct {
// config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#config ComputeSecurityPolicy#config}
Config *ComputeSecurityPolicyRuleMatchConfig `field:"optional" json:"config" yaml:"config"`
// expr block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#expr ComputeSecurityPolicy#expr}
Expr *ComputeSecurityPolicyRuleMatchExpr `field:"optional" json:"expr" yaml:"expr"`
// expr_options block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#expr_options ComputeSecurityPolicy#expr_options}
ExprOptions *ComputeSecurityPolicyRuleMatchExprOptions `field:"optional" json:"exprOptions" yaml:"exprOptions"`
// Predefined rule expression.
//
// If this field is specified, config must also be specified. Available options: SRC_IPS_V1: Must specify the corresponding src_ip_ranges field in config.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#versioned_expr ComputeSecurityPolicy#versioned_expr}
VersionedExpr *string `field:"optional" json:"versionedExpr" yaml:"versionedExpr"`
}
type ComputeSecurityPolicyRuleMatchConfig ¶
type ComputeSecurityPolicyRuleMatchConfig struct {
// Set of IP addresses or ranges (IPV4 or IPV6) in CIDR notation to match against inbound traffic.
//
// There is a limit of 10 IP ranges per rule. A value of '*' matches all IPs (can be used to override the default behavior).
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#src_ip_ranges ComputeSecurityPolicy#src_ip_ranges}
SrcIpRanges *[]*string `field:"required" json:"srcIpRanges" yaml:"srcIpRanges"`
}
type ComputeSecurityPolicyRuleMatchConfigOutputReference ¶
type ComputeSecurityPolicyRuleMatchConfigOutputReference 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() *ComputeSecurityPolicyRuleMatchConfig
SetInternalValue(val *ComputeSecurityPolicyRuleMatchConfig)
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
// 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 NewComputeSecurityPolicyRuleMatchConfigOutputReference ¶
func NewComputeSecurityPolicyRuleMatchConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchConfigOutputReference
type ComputeSecurityPolicyRuleMatchExpr ¶
type ComputeSecurityPolicyRuleMatchExpr 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.45.0/docs/resources/compute_security_policy#expression ComputeSecurityPolicy#expression}
Expression *string `field:"required" json:"expression" yaml:"expression"`
}
type ComputeSecurityPolicyRuleMatchExprOptions ¶
type ComputeSecurityPolicyRuleMatchExprOptions struct {
// recaptcha_options block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#recaptcha_options ComputeSecurityPolicy#recaptcha_options}
RecaptchaOptions *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions `field:"required" json:"recaptchaOptions" yaml:"recaptchaOptions"`
}
type ComputeSecurityPolicyRuleMatchExprOptionsOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprOptionsOutputReference 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() *ComputeSecurityPolicyRuleMatchExprOptions
SetInternalValue(val *ComputeSecurityPolicyRuleMatchExprOptions)
RecaptchaOptions() ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference
RecaptchaOptionsInput() *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions
// 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 *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions)
// 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 NewComputeSecurityPolicyRuleMatchExprOptionsOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprOptionsOutputReference
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions ¶
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions 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.45.0/docs/resources/compute_security_policy#action_token_site_keys ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#session_token_site_keys ComputeSecurityPolicy#session_token_site_keys}
SessionTokenSiteKeys *[]*string `field:"optional" json:"sessionTokenSiteKeys" yaml:"sessionTokenSiteKeys"`
}
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference 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() *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions
SetInternalValue(val *ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions)
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 NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference
type ComputeSecurityPolicyRuleMatchExprOutputReference ¶
type ComputeSecurityPolicyRuleMatchExprOutputReference 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() *ComputeSecurityPolicyRuleMatchExpr
SetInternalValue(val *ComputeSecurityPolicyRuleMatchExpr)
// 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 NewComputeSecurityPolicyRuleMatchExprOutputReference ¶
func NewComputeSecurityPolicyRuleMatchExprOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchExprOutputReference
type ComputeSecurityPolicyRuleMatchOutputReference ¶
type ComputeSecurityPolicyRuleMatchOutputReference 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() ComputeSecurityPolicyRuleMatchConfigOutputReference
ConfigInput() *ComputeSecurityPolicyRuleMatchConfig
// 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() ComputeSecurityPolicyRuleMatchExprOutputReference
ExprInput() *ComputeSecurityPolicyRuleMatchExpr
ExprOptions() ComputeSecurityPolicyRuleMatchExprOptionsOutputReference
ExprOptionsInput() *ComputeSecurityPolicyRuleMatchExprOptions
// Experimental.
Fqn() *string
InternalValue() *ComputeSecurityPolicyRuleMatch
SetInternalValue(val *ComputeSecurityPolicyRuleMatch)
// 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 *ComputeSecurityPolicyRuleMatchConfig)
PutExpr(value *ComputeSecurityPolicyRuleMatchExpr)
PutExprOptions(value *ComputeSecurityPolicyRuleMatchExprOptions)
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 NewComputeSecurityPolicyRuleMatchOutputReference ¶
func NewComputeSecurityPolicyRuleMatchOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleMatchOutputReference
type ComputeSecurityPolicyRuleOutputReference ¶
type ComputeSecurityPolicyRuleOutputReference interface {
cdktf.ComplexObject
Action() *string
SetAction(val *string)
ActionInput() *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
Description() *string
SetDescription(val *string)
DescriptionInput() *string
// Experimental.
Fqn() *string
HeaderAction() ComputeSecurityPolicyRuleHeaderActionOutputReference
HeaderActionInput() *ComputeSecurityPolicyRuleHeaderAction
InternalValue() interface{}
SetInternalValue(val interface{})
Match() ComputeSecurityPolicyRuleMatchOutputReference
MatchInput() *ComputeSecurityPolicyRuleMatch
PreconfiguredWafConfig() ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference
PreconfiguredWafConfigInput() *ComputeSecurityPolicyRulePreconfiguredWafConfig
Preview() interface{}
SetPreview(val interface{})
PreviewInput() interface{}
Priority() *float64
SetPriority(val *float64)
PriorityInput() *float64
RateLimitOptions() ComputeSecurityPolicyRuleRateLimitOptionsOutputReference
RateLimitOptionsInput() *ComputeSecurityPolicyRuleRateLimitOptions
RedirectOptions() ComputeSecurityPolicyRuleRedirectOptionsOutputReference
RedirectOptionsInput() *ComputeSecurityPolicyRuleRedirectOptions
// 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
PutHeaderAction(value *ComputeSecurityPolicyRuleHeaderAction)
PutMatch(value *ComputeSecurityPolicyRuleMatch)
PutPreconfiguredWafConfig(value *ComputeSecurityPolicyRulePreconfiguredWafConfig)
PutRateLimitOptions(value *ComputeSecurityPolicyRuleRateLimitOptions)
PutRedirectOptions(value *ComputeSecurityPolicyRuleRedirectOptions)
ResetDescription()
ResetHeaderAction()
ResetPreconfiguredWafConfig()
ResetPreview()
ResetRateLimitOptions()
ResetRedirectOptions()
// 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 NewComputeSecurityPolicyRuleOutputReference ¶
func NewComputeSecurityPolicyRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRuleOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfig ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfig struct {
// exclusion block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#exclusion ComputeSecurityPolicy#exclusion}
Exclusion interface{} `field:"optional" json:"exclusion" yaml:"exclusion"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusion ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusion struct {
// Target WAF rule set to apply the preconfigured WAF exclusion.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#target_rule_set ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#request_cookie ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#request_header ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#request_query_param ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#request_uri ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#target_rule_ids ComputeSecurityPolicy#target_rule_ids}
TargetRuleIds *[]*string `field:"optional" json:"targetRuleIds" yaml:"targetRuleIds"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList 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) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference 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() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList
RequestCookieInput() interface{}
RequestHeader() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList
RequestHeaderInput() interface{}
RequestQueryParam() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList
RequestQueryParamInput() interface{}
RequestUri() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList
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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie 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.45.0/docs/resources/compute_security_policy#operator ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#value ComputeSecurityPolicy#value}
Value *string `field:"optional" json:"value" yaml:"value"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList 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) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader 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.45.0/docs/resources/compute_security_policy#operator ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#value ComputeSecurityPolicy#value}
Value *string `field:"optional" json:"value" yaml:"value"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList 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) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParam ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParam 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.45.0/docs/resources/compute_security_policy#operator ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#value ComputeSecurityPolicy#value}
Value *string `field:"optional" json:"value" yaml:"value"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList 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) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUri ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUri 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.45.0/docs/resources/compute_security_policy#operator ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#value ComputeSecurityPolicy#value}
Value *string `field:"optional" json:"value" yaml:"value"`
}
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList 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) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference
type ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference ¶
type ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference 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() ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList
ExclusionInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *ComputeSecurityPolicyRulePreconfiguredWafConfig
SetInternalValue(val *ComputeSecurityPolicyRulePreconfiguredWafConfig)
// 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 NewComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference ¶
func NewComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference
type ComputeSecurityPolicyRuleRateLimitOptions ¶
type ComputeSecurityPolicyRuleRateLimitOptions struct {
// 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.45.0/docs/resources/compute_security_policy#conform_action ComputeSecurityPolicy#conform_action}
ConformAction *string `field:"required" json:"conformAction" yaml:"conformAction"`
// 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()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#exceed_action ComputeSecurityPolicy#exceed_action}
ExceedAction *string `field:"required" json:"exceedAction" yaml:"exceedAction"`
// rate_limit_threshold block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#rate_limit_threshold ComputeSecurityPolicy#rate_limit_threshold}
RateLimitThreshold *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold `field:"required" json:"rateLimitThreshold" yaml:"rateLimitThreshold"`
// 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.45.0/docs/resources/compute_security_policy#ban_duration_sec ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#ban_threshold ComputeSecurityPolicy#ban_threshold}
BanThreshold *ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold `field:"optional" json:"banThreshold" yaml:"banThreshold"`
// Determines the key to enforce the rateLimitThreshold on.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#enforce_on_key ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#enforce_on_key_configs ComputeSecurityPolicy#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.45.0/docs/resources/compute_security_policy#enforce_on_key_name ComputeSecurityPolicy#enforce_on_key_name}
EnforceOnKeyName *string `field:"optional" json:"enforceOnKeyName" yaml:"enforceOnKeyName"`
// exceed_redirect_options block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#exceed_redirect_options ComputeSecurityPolicy#exceed_redirect_options}
ExceedRedirectOptions *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions `field:"optional" json:"exceedRedirectOptions" yaml:"exceedRedirectOptions"`
}
type ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold ¶
type ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold struct {
// Number of HTTP(S) requests for calculating the threshold.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#count ComputeSecurityPolicy#count}
Count *float64 `field:"required" json:"count" yaml:"count"`
// Interval over which the threshold is computed.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#interval_sec ComputeSecurityPolicy#interval_sec}
IntervalSec *float64 `field:"required" json:"intervalSec" yaml:"intervalSec"`
}
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference 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() *ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold
SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold)
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
// 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 NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference
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.45.0/docs/resources/compute_security_policy#enforce_on_key_name ComputeSecurityPolicy#enforce_on_key_name}
EnforceOnKeyName *string `field:"optional" json:"enforceOnKeyName" yaml:"enforceOnKeyName"`
// Determines the key to enforce the rate_limit_threshold on.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#enforce_on_key_type ComputeSecurityPolicy#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 ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions ¶
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions struct {
// Type of the redirect action.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}
Type *string `field:"required" json:"type" yaml:"type"`
// 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.45.0/docs/resources/compute_security_policy#target ComputeSecurityPolicy#target}
Target *string `field:"optional" json:"target" yaml:"target"`
}
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference 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() *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions
SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions)
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()
// 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 NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsOutputReference interface {
cdktf.ComplexObject
BanDurationSec() *float64
SetBanDurationSec(val *float64)
BanDurationSecInput() *float64
BanThreshold() ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference
BanThresholdInput() *ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold
// 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() ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference
ExceedRedirectOptionsInput() *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions
// Experimental.
Fqn() *string
InternalValue() *ComputeSecurityPolicyRuleRateLimitOptions
SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptions)
RateLimitThreshold() ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference
RateLimitThresholdInput() *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold
// 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 *ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold)
PutEnforceOnKeyConfigs(value interface{})
PutExceedRedirectOptions(value *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions)
PutRateLimitThreshold(value *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold)
ResetBanDurationSec()
ResetBanThreshold()
ResetEnforceOnKey()
ResetEnforceOnKeyConfigs()
ResetEnforceOnKeyName()
ResetExceedRedirectOptions()
// 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 NewComputeSecurityPolicyRuleRateLimitOptionsOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsOutputReference
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold ¶
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold struct {
// Number of HTTP(S) requests for calculating the threshold.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#count ComputeSecurityPolicy#count}
Count *float64 `field:"required" json:"count" yaml:"count"`
// Interval over which the threshold is computed.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#interval_sec ComputeSecurityPolicy#interval_sec}
IntervalSec *float64 `field:"required" json:"intervalSec" yaml:"intervalSec"`
}
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference ¶
type ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference 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() *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold
SetInternalValue(val *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold)
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
// 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 NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference
type ComputeSecurityPolicyRuleRedirectOptions ¶
type ComputeSecurityPolicyRuleRedirectOptions struct {
// Type of the redirect action.
//
// Available options: EXTERNAL_302: Must specify the corresponding target field in config. GOOGLE_RECAPTCHA: Cannot specify target field in config.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#type ComputeSecurityPolicy#type}
Type *string `field:"required" json:"type" yaml:"type"`
// 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.45.0/docs/resources/compute_security_policy#target ComputeSecurityPolicy#target}
Target *string `field:"optional" json:"target" yaml:"target"`
}
type ComputeSecurityPolicyRuleRedirectOptionsOutputReference ¶
type ComputeSecurityPolicyRuleRedirectOptionsOutputReference 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() *ComputeSecurityPolicyRuleRedirectOptions
SetInternalValue(val *ComputeSecurityPolicyRuleRedirectOptions)
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()
// 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 NewComputeSecurityPolicyRuleRedirectOptionsOutputReference ¶
func NewComputeSecurityPolicyRuleRedirectOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyRuleRedirectOptionsOutputReference
type ComputeSecurityPolicyTimeouts ¶
type ComputeSecurityPolicyTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#create ComputeSecurityPolicy#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#delete ComputeSecurityPolicy#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/compute_security_policy#update ComputeSecurityPolicy#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type ComputeSecurityPolicyTimeoutsOutputReference ¶
type ComputeSecurityPolicyTimeoutsOutputReference 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 NewComputeSecurityPolicyTimeoutsOutputReference ¶
func NewComputeSecurityPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSecurityPolicyTimeoutsOutputReference
Source Files
¶
- ComputeSecurityPolicy.go
- ComputeSecurityPolicyAdaptiveProtectionConfig.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputReference__checks.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigs.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsList__checks.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsOutputReference__checks.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigs.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsList__checks.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference.go
- ComputeSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigsTrafficGranularityConfigsOutputReference__checks.go
- ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference.go
- ComputeSecurityPolicyAdaptiveProtectionConfigOutputReference__checks.go
- ComputeSecurityPolicyAdvancedOptionsConfig.go
- ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfig.go
- ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference.go
- ComputeSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputReference__checks.go
- ComputeSecurityPolicyAdvancedOptionsConfigOutputReference.go
- ComputeSecurityPolicyAdvancedOptionsConfigOutputReference__checks.go
- ComputeSecurityPolicyConfig.go
- ComputeSecurityPolicyRecaptchaOptionsConfig.go
- ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference.go
- ComputeSecurityPolicyRecaptchaOptionsConfigOutputReference__checks.go
- ComputeSecurityPolicyRule.go
- ComputeSecurityPolicyRuleHeaderAction.go
- ComputeSecurityPolicyRuleHeaderActionOutputReference.go
- ComputeSecurityPolicyRuleHeaderActionOutputReference__checks.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAdds.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsList__checks.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference.go
- ComputeSecurityPolicyRuleHeaderActionRequestHeadersToAddsOutputReference__checks.go
- ComputeSecurityPolicyRuleList.go
- ComputeSecurityPolicyRuleList__checks.go
- ComputeSecurityPolicyRuleMatch.go
- ComputeSecurityPolicyRuleMatchConfig.go
- ComputeSecurityPolicyRuleMatchConfigOutputReference.go
- ComputeSecurityPolicyRuleMatchConfigOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExpr.go
- ComputeSecurityPolicyRuleMatchExprOptions.go
- ComputeSecurityPolicyRuleMatchExprOptionsOutputReference.go
- ComputeSecurityPolicyRuleMatchExprOptionsOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptions.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference.go
- ComputeSecurityPolicyRuleMatchExprOptionsRecaptchaOptionsOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchExprOutputReference.go
- ComputeSecurityPolicyRuleMatchExprOutputReference__checks.go
- ComputeSecurityPolicyRuleMatchOutputReference.go
- ComputeSecurityPolicyRuleMatchOutputReference__checks.go
- ComputeSecurityPolicyRuleOutputReference.go
- ComputeSecurityPolicyRuleOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfig.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusion.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookieOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParam.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestQueryParamOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUri.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriList__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestUriOutputReference__checks.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference.go
- ComputeSecurityPolicyRulePreconfiguredWafConfigOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptions.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigs.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsList__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigsOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsOutputReference__checks.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThresholdOutputReference__checks.go
- ComputeSecurityPolicyRuleRedirectOptions.go
- ComputeSecurityPolicyRuleRedirectOptionsOutputReference.go
- ComputeSecurityPolicyRuleRedirectOptionsOutputReference__checks.go
- ComputeSecurityPolicyTimeouts.go
- ComputeSecurityPolicyTimeoutsOutputReference.go
- ComputeSecurityPolicyTimeoutsOutputReference__checks.go
- ComputeSecurityPolicy__checks.go
- main.go