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 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 NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference, ...)
- 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 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 ComputeSecurityPolicyRuleRateLimitOptions
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold
- type ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference
- 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 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 NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override ¶
func NewComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference_Override(c ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
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.9.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.9.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.9.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.9.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.9.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.9.0/docs/resources/compute_security_policy#rule_visibility ComputeSecurityPolicy#rule_visibility} RuleVisibility *string `field:"optional" json:"ruleVisibility" yaml:"ruleVisibility"` }
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) // 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 ResetEnable() ResetRuleVisibility() // 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 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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.0/docs/resources/compute_security_policy#header_action ComputeSecurityPolicy#header_action} HeaderAction *ComputeSecurityPolicyRuleHeaderAction `field:"optional" json:"headerAction" yaml:"headerAction"` // 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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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 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) PutRateLimitOptions(value *ComputeSecurityPolicyRuleRateLimitOptions) PutRedirectOptions(value *ComputeSecurityPolicyRuleRedirectOptions) ResetDescription() ResetHeaderAction() 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 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.9.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.9.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.9.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.9.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.9.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.9.0/docs/resources/compute_security_policy#enforce_on_key ComputeSecurityPolicy#enforce_on_key} EnforceOnKey *string `field:"optional" json:"enforceOnKey" yaml:"enforceOnKey"` // 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.9.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.9.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.9.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.9.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 ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions ¶
type ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions struct { // Type of the redirect action. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.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.9.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) 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) PutExceedRedirectOptions(value *ComputeSecurityPolicyRuleRateLimitOptionsExceedRedirectOptions) PutRateLimitThreshold(value *ComputeSecurityPolicyRuleRateLimitOptionsRateLimitThreshold) ResetBanDurationSec() ResetBanThreshold() ResetEnforceOnKey() 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.9.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.9.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.9.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.9.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.9.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.9.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.9.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
- 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
- ComputeSecurityPolicyRuleRateLimitOptions.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThreshold.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference.go
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdOutputReference__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