Documentation ¶
Index ¶
- func GoogleMonitoringAlertPolicy_IsConstruct(x interface{}) *bool
- func GoogleMonitoringAlertPolicy_IsTerraformElement(x interface{}) *bool
- func GoogleMonitoringAlertPolicy_IsTerraformResource(x interface{}) *bool
- func GoogleMonitoringAlertPolicy_TfResourceType() *string
- func NewGoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override(g GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyAlertStrategyOutputReference_Override(g GoogleMonitoringAlertPolicyAlertStrategyOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override(...)
- func NewGoogleMonitoringAlertPolicyConditionsList_Override(g GoogleMonitoringAlertPolicyConditionsList, ...)
- func NewGoogleMonitoringAlertPolicyConditionsOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyCreationRecordList_Override(g GoogleMonitoringAlertPolicyCreationRecordList, ...)
- func NewGoogleMonitoringAlertPolicyCreationRecordOutputReference_Override(g GoogleMonitoringAlertPolicyCreationRecordOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyDocumentationOutputReference_Override(g GoogleMonitoringAlertPolicyDocumentationOutputReference, ...)
- func NewGoogleMonitoringAlertPolicyTimeoutsOutputReference_Override(g GoogleMonitoringAlertPolicyTimeoutsOutputReference, ...)
- func NewGoogleMonitoringAlertPolicy_Override(g GoogleMonitoringAlertPolicy, scope constructs.Construct, id *string, ...)
- type GoogleMonitoringAlertPolicy
- type GoogleMonitoringAlertPolicyAlertStrategy
- type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit
- type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference
- type GoogleMonitoringAlertPolicyAlertStrategyOutputReference
- type GoogleMonitoringAlertPolicyConditions
- type GoogleMonitoringAlertPolicyConditionsConditionAbsent
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregations
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger
- type GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionMatchedLog
- type GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage
- type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger
- type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionThreshold
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregations
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger
- type GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference
- type GoogleMonitoringAlertPolicyConditionsList
- type GoogleMonitoringAlertPolicyConditionsOutputReference
- type GoogleMonitoringAlertPolicyConfig
- type GoogleMonitoringAlertPolicyCreationRecord
- type GoogleMonitoringAlertPolicyCreationRecordList
- type GoogleMonitoringAlertPolicyCreationRecordOutputReference
- type GoogleMonitoringAlertPolicyDocumentation
- type GoogleMonitoringAlertPolicyDocumentationOutputReference
- type GoogleMonitoringAlertPolicyTimeouts
- type GoogleMonitoringAlertPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleMonitoringAlertPolicy_IsConstruct ¶
func GoogleMonitoringAlertPolicy_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 GoogleMonitoringAlertPolicy_IsTerraformElement ¶
func GoogleMonitoringAlertPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleMonitoringAlertPolicy_IsTerraformResource ¶
func GoogleMonitoringAlertPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleMonitoringAlertPolicy_TfResourceType ¶
func GoogleMonitoringAlertPolicy_TfResourceType() *string
func NewGoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override(g GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyAlertStrategyOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyAlertStrategyOutputReference_Override(g GoogleMonitoringAlertPolicyAlertStrategyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyConditionsList_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsList_Override(g GoogleMonitoringAlertPolicyConditionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleMonitoringAlertPolicyConditionsOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyConditionsOutputReference_Override(g GoogleMonitoringAlertPolicyConditionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleMonitoringAlertPolicyCreationRecordList_Override ¶
func NewGoogleMonitoringAlertPolicyCreationRecordList_Override(g GoogleMonitoringAlertPolicyCreationRecordList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleMonitoringAlertPolicyCreationRecordOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyCreationRecordOutputReference_Override(g GoogleMonitoringAlertPolicyCreationRecordOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleMonitoringAlertPolicyDocumentationOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyDocumentationOutputReference_Override(g GoogleMonitoringAlertPolicyDocumentationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicyTimeoutsOutputReference_Override ¶
func NewGoogleMonitoringAlertPolicyTimeoutsOutputReference_Override(g GoogleMonitoringAlertPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleMonitoringAlertPolicy_Override ¶
func NewGoogleMonitoringAlertPolicy_Override(g GoogleMonitoringAlertPolicy, scope constructs.Construct, id *string, config *GoogleMonitoringAlertPolicyConfig)
Create a new {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy google_monitoring_alert_policy} Resource.
Types ¶
type GoogleMonitoringAlertPolicy ¶
type GoogleMonitoringAlertPolicy interface { cdktf.TerraformResource AlertStrategy() GoogleMonitoringAlertPolicyAlertStrategyOutputReference AlertStrategyInput() *GoogleMonitoringAlertPolicyAlertStrategy // Experimental. CdktfStack() cdktf.TerraformStack Combiner() *string SetCombiner(val *string) CombinerInput() *string Conditions() GoogleMonitoringAlertPolicyConditionsList ConditionsInput() interface{} // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreationRecord() GoogleMonitoringAlertPolicyCreationRecordList // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string Documentation() GoogleMonitoringAlertPolicyDocumentationOutputReference DocumentationInput() *GoogleMonitoringAlertPolicyDocumentation Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // 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 // The tree node. Node() constructs.Node NotificationChannels() *[]*string SetNotificationChannels(val *[]*string) NotificationChannelsInput() *[]*string 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{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleMonitoringAlertPolicyTimeoutsOutputReference TimeoutsInput() interface{} UserLabels() *map[string]*string SetUserLabels(val *map[string]*string) UserLabelsInput() *map[string]*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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAlertStrategy(value *GoogleMonitoringAlertPolicyAlertStrategy) PutConditions(value interface{}) PutDocumentation(value *GoogleMonitoringAlertPolicyDocumentation) PutTimeouts(value *GoogleMonitoringAlertPolicyTimeouts) ResetAlertStrategy() ResetDocumentation() ResetEnabled() ResetId() ResetNotificationChannels() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetTimeouts() ResetUserLabels() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy google_monitoring_alert_policy}.
func NewGoogleMonitoringAlertPolicy ¶
func NewGoogleMonitoringAlertPolicy(scope constructs.Construct, id *string, config *GoogleMonitoringAlertPolicyConfig) GoogleMonitoringAlertPolicy
Create a new {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy google_monitoring_alert_policy} Resource.
type GoogleMonitoringAlertPolicyAlertStrategy ¶
type GoogleMonitoringAlertPolicyAlertStrategy struct { // If an alert policy that was active has no data for this long, any open incidents will close. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#auto_close GoogleMonitoringAlertPolicy#auto_close} AutoClose *string `field:"optional" json:"autoClose" yaml:"autoClose"` // notification_rate_limit block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#notification_rate_limit GoogleMonitoringAlertPolicy#notification_rate_limit} NotificationRateLimit *GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit `field:"optional" json:"notificationRateLimit" yaml:"notificationRateLimit"` }
type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit ¶
type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit struct { // Not more than one notification per period. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#period GoogleMonitoringAlertPolicy#period} Period *string `field:"optional" json:"period" yaml:"period"` }
type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference ¶
type GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference 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() *GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit SetInternalValue(val *GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit) Period() *string SetPeriod(val *string) PeriodInput() *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 ResetPeriod() // 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 NewGoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference ¶
func NewGoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference
type GoogleMonitoringAlertPolicyAlertStrategyOutputReference ¶
type GoogleMonitoringAlertPolicyAlertStrategyOutputReference interface { cdktf.ComplexObject AutoClose() *string SetAutoClose(val *string) AutoCloseInput() *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() *GoogleMonitoringAlertPolicyAlertStrategy SetInternalValue(val *GoogleMonitoringAlertPolicyAlertStrategy) NotificationRateLimit() GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference NotificationRateLimitInput() *GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit // 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 PutNotificationRateLimit(value *GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit) ResetAutoClose() ResetNotificationRateLimit() // 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 NewGoogleMonitoringAlertPolicyAlertStrategyOutputReference ¶
func NewGoogleMonitoringAlertPolicyAlertStrategyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyAlertStrategyOutputReference
type GoogleMonitoringAlertPolicyConditions ¶
type GoogleMonitoringAlertPolicyConditions struct { // A short name or phrase used to identify the condition in dashboards, notifications, and incidents. // // To avoid confusion, don't use the same // display name for multiple conditions in the same // policy. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#display_name GoogleMonitoringAlertPolicy#display_name} DisplayName *string `field:"required" json:"displayName" yaml:"displayName"` // condition_absent block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#condition_absent GoogleMonitoringAlertPolicy#condition_absent} ConditionAbsent *GoogleMonitoringAlertPolicyConditionsConditionAbsent `field:"optional" json:"conditionAbsent" yaml:"conditionAbsent"` // condition_matched_log block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#condition_matched_log GoogleMonitoringAlertPolicy#condition_matched_log} ConditionMatchedLog *GoogleMonitoringAlertPolicyConditionsConditionMatchedLog `field:"optional" json:"conditionMatchedLog" yaml:"conditionMatchedLog"` // condition_monitoring_query_language block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#condition_monitoring_query_language GoogleMonitoringAlertPolicy#condition_monitoring_query_language} ConditionMonitoringQueryLanguage *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage `field:"optional" json:"conditionMonitoringQueryLanguage" yaml:"conditionMonitoringQueryLanguage"` // condition_threshold block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#condition_threshold GoogleMonitoringAlertPolicy#condition_threshold} ConditionThreshold *GoogleMonitoringAlertPolicyConditionsConditionThreshold `field:"optional" json:"conditionThreshold" yaml:"conditionThreshold"` }
type GoogleMonitoringAlertPolicyConditionsConditionAbsent ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsent struct { // The amount of time that a time series must fail to report new data to be considered failing. // // Currently, only values that are a // multiple of a minute--e.g. 60s, 120s, or 300s // --are supported. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#duration GoogleMonitoringAlertPolicy#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#aggregations GoogleMonitoringAlertPolicy#aggregations} Aggregations interface{} `field:"optional" json:"aggregations" yaml:"aggregations"` // A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#filter GoogleMonitoringAlertPolicy#filter} Filter *string `field:"optional" json:"filter" yaml:"filter"` // trigger block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#trigger GoogleMonitoringAlertPolicy#trigger} Trigger *GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregations ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregations struct { // The alignment period for per-time series alignment. // // If present, // alignmentPeriod must be at least // 60 seconds. After per-time series // alignment, each time series will // contain data points only on the // period boundaries. If // perSeriesAligner is not specified // or equals ALIGN_NONE, then this // field is ignored. If // perSeriesAligner is specified and // does not equal ALIGN_NONE, then // this field must be defined; // otherwise an error is returned. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#alignment_period GoogleMonitoringAlertPolicy#alignment_period} AlignmentPeriod *string `field:"optional" json:"alignmentPeriod" yaml:"alignmentPeriod"` // The approach to be used to combine time series. // // Not all reducer // functions may be applied to all // time series, depending on the // metric type and the value type of // the original time series. // Reduction may change the metric // type of value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#cross_series_reducer GoogleMonitoringAlertPolicy#cross_series_reducer} CrossSeriesReducer *string `field:"optional" json:"crossSeriesReducer" yaml:"crossSeriesReducer"` // The set of fields to preserve when crossSeriesReducer is specified. // // The groupByFields determine how // the time series are partitioned // into subsets prior to applying the // aggregation function. Each subset // contains time series that have the // same value for each of the // grouping fields. Each individual // time series is a member of exactly // one subset. The crossSeriesReducer // is applied to each subset of time // series. It is not possible to // reduce across different resource // types, so this field implicitly // contains resource.type. Fields not // specified in groupByFields are // aggregated away. If groupByFields // is not specified and all the time // series have the same resource // type, then the time series are // aggregated into a single output // time series. If crossSeriesReducer // is not defined, this field is // ignored. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#group_by_fields GoogleMonitoringAlertPolicy#group_by_fields} GroupByFields *[]*string `field:"optional" json:"groupByFields" yaml:"groupByFields"` // The approach to be used to align individual time series. // // Not all // alignment functions may be applied // to all time series, depending on // the metric type and value type of // the original time series. // Alignment may change the metric // type or the value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#per_series_aligner GoogleMonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference // 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 NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference interface { cdktf.ComplexObject AlignmentPeriod() *string SetAlignmentPeriod(val *string) AlignmentPeriodInput() *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 CrossSeriesReducer() *string SetCrossSeriesReducer(val *string) CrossSeriesReducerInput() *string // Experimental. Fqn() *string GroupByFields() *[]*string SetGroupByFields(val *[]*string) GroupByFieldsInput() *[]*string InternalValue() interface{} SetInternalValue(val interface{}) PerSeriesAligner() *string SetPerSeriesAligner(val *string) PerSeriesAlignerInput() *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 ResetAlignmentPeriod() ResetCrossSeriesReducer() ResetGroupByFields() ResetPerSeriesAligner() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference interface { cdktf.ComplexObject Aggregations() GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList AggregationsInput() interface{} // 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 Duration() *string SetDuration(val *string) DurationInput() *string Filter() *string SetFilter(val *string) FilterInput() *string // Experimental. Fqn() *string InternalValue() *GoogleMonitoringAlertPolicyConditionsConditionAbsent SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionAbsent) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Trigger() GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference TriggerInput() *GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger // 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 PutAggregations(value interface{}) PutTrigger(value *GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger) ResetAggregations() ResetFilter() ResetTrigger() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger struct { // The absolute number of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#count GoogleMonitoringAlertPolicy#count} Count *float64 `field:"optional" json:"count" yaml:"count"` // The percentage of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#percent GoogleMonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference 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() *GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger) Percent() *float64 SetPercent(val *float64) PercentInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCount() ResetPercent() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionMatchedLog ¶
type GoogleMonitoringAlertPolicyConditionsConditionMatchedLog struct { // A logs-based filter. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#filter GoogleMonitoringAlertPolicy#filter} Filter *string `field:"required" json:"filter" yaml:"filter"` // A map from a label key to an extractor expression, which is used to extract the value for this label key. // // Each entry in this map is // a specification for how data should be extracted from log entries that // match filter. Each combination of extracted values is treated as // a separate rule for the purposes of triggering notifications. // Label keys and corresponding values can be used in notifications // generated by this condition. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#label_extractors GoogleMonitoringAlertPolicy#label_extractors} LabelExtractors *map[string]*string `field:"optional" json:"labelExtractors" yaml:"labelExtractors"` }
type GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference 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 Filter() *string SetFilter(val *string) FilterInput() *string // Experimental. Fqn() *string InternalValue() *GoogleMonitoringAlertPolicyConditionsConditionMatchedLog SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionMatchedLog) LabelExtractors() *map[string]*string SetLabelExtractors(val *map[string]*string) LabelExtractorsInput() *map[string]*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 ResetLabelExtractors() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage ¶
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage struct { // The amount of time that a time series must violate the threshold to be considered failing. // // Currently, only values that are a // multiple of a minute--e.g., 0, 60, 120, or // 300 seconds--are supported. If an invalid // value is given, an error will be returned. // When choosing a duration, it is useful to // keep in mind the frequency of the underlying // time series data (which may also be affected // by any alignments specified in the // aggregations field); a good duration is long // enough so that a single outlier does not // generate spurious alerts, but short enough // that unhealthy states are detected and // alerted on quickly. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#duration GoogleMonitoringAlertPolicy#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // Monitoring Query Language query that outputs a boolean stream. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#query GoogleMonitoringAlertPolicy#query} Query *string `field:"required" json:"query" yaml:"query"` // A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"]. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#evaluation_missing_data GoogleMonitoringAlertPolicy#evaluation_missing_data} EvaluationMissingData *string `field:"optional" json:"evaluationMissingData" yaml:"evaluationMissingData"` // trigger block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#trigger GoogleMonitoringAlertPolicy#trigger} Trigger *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference 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 Duration() *string SetDuration(val *string) DurationInput() *string EvaluationMissingData() *string SetEvaluationMissingData(val *string) EvaluationMissingDataInput() *string // Experimental. Fqn() *string InternalValue() *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage) Query() *string SetQuery(val *string) QueryInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Trigger() GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference TriggerInput() *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger // 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 PutTrigger(value *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger) ResetEvaluationMissingData() ResetTrigger() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger ¶
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger struct { // The absolute number of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#count GoogleMonitoringAlertPolicy#count} Count *float64 `field:"optional" json:"count" yaml:"count"` // The percentage of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#percent GoogleMonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference 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() *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger) Percent() *float64 SetPercent(val *float64) PercentInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCount() ResetPercent() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionThreshold ¶
type GoogleMonitoringAlertPolicyConditionsConditionThreshold struct { // The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). // // The comparison is applied // on each time series, with the time series on // the left-hand side and the threshold on the // right-hand side. Only COMPARISON_LT and // COMPARISON_GT are supported currently. Possible values: ["COMPARISON_GT", "COMPARISON_GE", "COMPARISON_LT", "COMPARISON_LE", "COMPARISON_EQ", "COMPARISON_NE"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#comparison GoogleMonitoringAlertPolicy#comparison} Comparison *string `field:"required" json:"comparison" yaml:"comparison"` // The amount of time that a time series must violate the threshold to be considered failing. // // Currently, only values that are a // multiple of a minute--e.g., 0, 60, 120, or // 300 seconds--are supported. If an invalid // value is given, an error will be returned. // When choosing a duration, it is useful to // keep in mind the frequency of the underlying // time series data (which may also be affected // by any alignments specified in the // aggregations field); a good duration is long // enough so that a single outlier does not // generate spurious alerts, but short enough // that unhealthy states are detected and // alerted on quickly. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#duration GoogleMonitoringAlertPolicy#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#aggregations GoogleMonitoringAlertPolicy#aggregations} Aggregations interface{} `field:"optional" json:"aggregations" yaml:"aggregations"` // denominator_aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#denominator_aggregations GoogleMonitoringAlertPolicy#denominator_aggregations} DenominatorAggregations interface{} `field:"optional" json:"denominatorAggregations" yaml:"denominatorAggregations"` // A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. // // If // a denominator_filter is specified, the time // series specified by the filter field will be // used as the numerator.The filter is similar // to the one that is specified in the // MetricService.ListTimeSeries request (that // call is useful to verify the time series // that will be retrieved / processed) and must // specify the metric type and optionally may // contain restrictions on resource type, // resource labels, and metric labels. This // field may not exceed 2048 Unicode characters // in length. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#denominator_filter GoogleMonitoringAlertPolicy#denominator_filter} DenominatorFilter *string `field:"optional" json:"denominatorFilter" yaml:"denominatorFilter"` // A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"]. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#evaluation_missing_data GoogleMonitoringAlertPolicy#evaluation_missing_data} EvaluationMissingData *string `field:"optional" json:"evaluationMissingData" yaml:"evaluationMissingData"` // A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#filter GoogleMonitoringAlertPolicy#filter} Filter *string `field:"optional" json:"filter" yaml:"filter"` // A value against which to compare the time series. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#threshold_value GoogleMonitoringAlertPolicy#threshold_value} ThresholdValue *float64 `field:"optional" json:"thresholdValue" yaml:"thresholdValue"` // trigger block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#trigger GoogleMonitoringAlertPolicy#trigger} Trigger *GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregations ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregations struct { // The alignment period for per-time series alignment. // // If present, // alignmentPeriod must be at least // 60 seconds. After per-time series // alignment, each time series will // contain data points only on the // period boundaries. If // perSeriesAligner is not specified // or equals ALIGN_NONE, then this // field is ignored. If // perSeriesAligner is specified and // does not equal ALIGN_NONE, then // this field must be defined; // otherwise an error is returned. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#alignment_period GoogleMonitoringAlertPolicy#alignment_period} AlignmentPeriod *string `field:"optional" json:"alignmentPeriod" yaml:"alignmentPeriod"` // The approach to be used to combine time series. // // Not all reducer // functions may be applied to all // time series, depending on the // metric type and the value type of // the original time series. // Reduction may change the metric // type of value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#cross_series_reducer GoogleMonitoringAlertPolicy#cross_series_reducer} CrossSeriesReducer *string `field:"optional" json:"crossSeriesReducer" yaml:"crossSeriesReducer"` // The set of fields to preserve when crossSeriesReducer is specified. // // The groupByFields determine how // the time series are partitioned // into subsets prior to applying the // aggregation function. Each subset // contains time series that have the // same value for each of the // grouping fields. Each individual // time series is a member of exactly // one subset. The crossSeriesReducer // is applied to each subset of time // series. It is not possible to // reduce across different resource // types, so this field implicitly // contains resource.type. Fields not // specified in groupByFields are // aggregated away. If groupByFields // is not specified and all the time // series have the same resource // type, then the time series are // aggregated into a single output // time series. If crossSeriesReducer // is not defined, this field is // ignored. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#group_by_fields GoogleMonitoringAlertPolicy#group_by_fields} GroupByFields *[]*string `field:"optional" json:"groupByFields" yaml:"groupByFields"` // The approach to be used to align individual time series. // // Not all // alignment functions may be applied // to all time series, depending on // the metric type and value type of // the original time series. // Alignment may change the metric // type or the value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#per_series_aligner GoogleMonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference interface { cdktf.ComplexObject AlignmentPeriod() *string SetAlignmentPeriod(val *string) AlignmentPeriodInput() *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 CrossSeriesReducer() *string SetCrossSeriesReducer(val *string) CrossSeriesReducerInput() *string // Experimental. Fqn() *string GroupByFields() *[]*string SetGroupByFields(val *[]*string) GroupByFieldsInput() *[]*string InternalValue() interface{} SetInternalValue(val interface{}) PerSeriesAligner() *string SetPerSeriesAligner(val *string) PerSeriesAlignerInput() *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 ResetAlignmentPeriod() ResetCrossSeriesReducer() ResetGroupByFields() ResetPerSeriesAligner() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations struct { // The alignment period for per-time series alignment. // // If present, // alignmentPeriod must be at least // 60 seconds. After per-time series // alignment, each time series will // contain data points only on the // period boundaries. If // perSeriesAligner is not specified // or equals ALIGN_NONE, then this // field is ignored. If // perSeriesAligner is specified and // does not equal ALIGN_NONE, then // this field must be defined; // otherwise an error is returned. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#alignment_period GoogleMonitoringAlertPolicy#alignment_period} AlignmentPeriod *string `field:"optional" json:"alignmentPeriod" yaml:"alignmentPeriod"` // The approach to be used to combine time series. // // Not all reducer // functions may be applied to all // time series, depending on the // metric type and the value type of // the original time series. // Reduction may change the metric // type of value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["REDUCE_NONE", "REDUCE_MEAN", "REDUCE_MIN", "REDUCE_MAX", "REDUCE_SUM", "REDUCE_STDDEV", "REDUCE_COUNT", "REDUCE_COUNT_TRUE", "REDUCE_COUNT_FALSE", "REDUCE_FRACTION_TRUE", "REDUCE_PERCENTILE_99", "REDUCE_PERCENTILE_95", "REDUCE_PERCENTILE_50", "REDUCE_PERCENTILE_05"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#cross_series_reducer GoogleMonitoringAlertPolicy#cross_series_reducer} CrossSeriesReducer *string `field:"optional" json:"crossSeriesReducer" yaml:"crossSeriesReducer"` // The set of fields to preserve when crossSeriesReducer is specified. // // The groupByFields determine how // the time series are partitioned // into subsets prior to applying the // aggregation function. Each subset // contains time series that have the // same value for each of the // grouping fields. Each individual // time series is a member of exactly // one subset. The crossSeriesReducer // is applied to each subset of time // series. It is not possible to // reduce across different resource // types, so this field implicitly // contains resource.type. Fields not // specified in groupByFields are // aggregated away. If groupByFields // is not specified and all the time // series have the same resource // type, then the time series are // aggregated into a single output // time series. If crossSeriesReducer // is not defined, this field is // ignored. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#group_by_fields GoogleMonitoringAlertPolicy#group_by_fields} GroupByFields *[]*string `field:"optional" json:"groupByFields" yaml:"groupByFields"` // The approach to be used to align individual time series. // // Not all // alignment functions may be applied // to all time series, depending on // the metric type and value type of // the original time series. // Alignment may change the metric // type or the value type of the time // series.Time series data must be // aligned in order to perform cross- // time series reduction. If // crossSeriesReducer is specified, // then perSeriesAligner must be // specified and not equal ALIGN_NONE // and alignmentPeriod must be // specified; otherwise, an error is // returned. Possible values: ["ALIGN_NONE", "ALIGN_DELTA", "ALIGN_RATE", "ALIGN_INTERPOLATE", "ALIGN_NEXT_OLDER", "ALIGN_MIN", "ALIGN_MAX", "ALIGN_MEAN", "ALIGN_COUNT", "ALIGN_SUM", "ALIGN_STDDEV", "ALIGN_COUNT_TRUE", "ALIGN_COUNT_FALSE", "ALIGN_FRACTION_TRUE", "ALIGN_PERCENTILE_99", "ALIGN_PERCENTILE_95", "ALIGN_PERCENTILE_50", "ALIGN_PERCENTILE_05", "ALIGN_PERCENT_CHANGE"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#per_series_aligner GoogleMonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference interface { cdktf.ComplexObject AlignmentPeriod() *string SetAlignmentPeriod(val *string) AlignmentPeriodInput() *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 CrossSeriesReducer() *string SetCrossSeriesReducer(val *string) CrossSeriesReducerInput() *string // Experimental. Fqn() *string GroupByFields() *[]*string SetGroupByFields(val *[]*string) GroupByFieldsInput() *[]*string InternalValue() interface{} SetInternalValue(val interface{}) PerSeriesAligner() *string SetPerSeriesAligner(val *string) PerSeriesAlignerInput() *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 ResetAlignmentPeriod() ResetCrossSeriesReducer() ResetGroupByFields() ResetPerSeriesAligner() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference interface { cdktf.ComplexObject Aggregations() GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList AggregationsInput() interface{} Comparison() *string SetComparison(val *string) ComparisonInput() *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 DenominatorAggregations() GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList DenominatorAggregationsInput() interface{} DenominatorFilter() *string SetDenominatorFilter(val *string) DenominatorFilterInput() *string Duration() *string SetDuration(val *string) DurationInput() *string EvaluationMissingData() *string SetEvaluationMissingData(val *string) EvaluationMissingDataInput() *string Filter() *string SetFilter(val *string) FilterInput() *string // Experimental. Fqn() *string InternalValue() *GoogleMonitoringAlertPolicyConditionsConditionThreshold SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionThreshold) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ThresholdValue() *float64 SetThresholdValue(val *float64) ThresholdValueInput() *float64 Trigger() GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference TriggerInput() *GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger // 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 PutAggregations(value interface{}) PutDenominatorAggregations(value interface{}) PutTrigger(value *GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger) ResetAggregations() ResetDenominatorAggregations() ResetDenominatorFilter() ResetEvaluationMissingData() ResetFilter() ResetThresholdValue() ResetTrigger() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference
type GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger struct { // The absolute number of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#count GoogleMonitoringAlertPolicy#count} Count *float64 `field:"optional" json:"count" yaml:"count"` // The percentage of time series that must fail the predicate for the condition to be triggered. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#percent GoogleMonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference 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() *GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger SetInternalValue(val *GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger) Percent() *float64 SetPercent(val *float64) PercentInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCount() ResetPercent() // 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 NewGoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference
type GoogleMonitoringAlertPolicyConditionsList ¶
type GoogleMonitoringAlertPolicyConditionsList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleMonitoringAlertPolicyConditionsOutputReference // 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 NewGoogleMonitoringAlertPolicyConditionsList ¶
func NewGoogleMonitoringAlertPolicyConditionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleMonitoringAlertPolicyConditionsList
type GoogleMonitoringAlertPolicyConditionsOutputReference ¶
type GoogleMonitoringAlertPolicyConditionsOutputReference 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) ConditionAbsent() GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference ConditionAbsentInput() *GoogleMonitoringAlertPolicyConditionsConditionAbsent ConditionMatchedLog() GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ConditionMatchedLogInput() *GoogleMonitoringAlertPolicyConditionsConditionMatchedLog ConditionMonitoringQueryLanguage() GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ConditionMonitoringQueryLanguageInput() *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage ConditionThreshold() GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference ConditionThresholdInput() *GoogleMonitoringAlertPolicyConditionsConditionThreshold // 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 DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *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 PutConditionAbsent(value *GoogleMonitoringAlertPolicyConditionsConditionAbsent) PutConditionMatchedLog(value *GoogleMonitoringAlertPolicyConditionsConditionMatchedLog) PutConditionMonitoringQueryLanguage(value *GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage) PutConditionThreshold(value *GoogleMonitoringAlertPolicyConditionsConditionThreshold) ResetConditionAbsent() ResetConditionMatchedLog() ResetConditionMonitoringQueryLanguage() ResetConditionThreshold() // 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 NewGoogleMonitoringAlertPolicyConditionsOutputReference ¶
func NewGoogleMonitoringAlertPolicyConditionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleMonitoringAlertPolicyConditionsOutputReference
type GoogleMonitoringAlertPolicyConfig ¶
type GoogleMonitoringAlertPolicyConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // How to combine the results of multiple conditions to determine if an incident should be opened. // // Possible values: ["AND", "OR", "AND_WITH_MATCHING_RESOURCE"] // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#combiner GoogleMonitoringAlertPolicy#combiner} Combiner *string `field:"required" json:"combiner" yaml:"combiner"` // conditions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#conditions GoogleMonitoringAlertPolicy#conditions} Conditions interface{} `field:"required" json:"conditions" yaml:"conditions"` // A short name or phrase used to identify the policy in dashboards, notifications, and incidents. // // To avoid confusion, don't use // the same display name for multiple policies in the same project. The // name is limited to 512 Unicode characters. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#display_name GoogleMonitoringAlertPolicy#display_name} DisplayName *string `field:"required" json:"displayName" yaml:"displayName"` // alert_strategy block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#alert_strategy GoogleMonitoringAlertPolicy#alert_strategy} AlertStrategy *GoogleMonitoringAlertPolicyAlertStrategy `field:"optional" json:"alertStrategy" yaml:"alertStrategy"` // documentation block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#documentation GoogleMonitoringAlertPolicy#documentation} Documentation *GoogleMonitoringAlertPolicyDocumentation `field:"optional" json:"documentation" yaml:"documentation"` // Whether or not the policy is enabled. The default is true. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#enabled GoogleMonitoringAlertPolicy#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#id GoogleMonitoringAlertPolicy#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"` // Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. // // Each element of this array corresponds // to the name field in each of the NotificationChannel objects that are // returned from the notificationChannels.list method. The syntax of the // entries in this field is // 'projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]' // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#notification_channels GoogleMonitoringAlertPolicy#notification_channels} NotificationChannels *[]*string `field:"optional" json:"notificationChannels" yaml:"notificationChannels"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#project GoogleMonitoringAlertPolicy#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#timeouts GoogleMonitoringAlertPolicy#timeouts} Timeouts *GoogleMonitoringAlertPolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#user_labels GoogleMonitoringAlertPolicy#user_labels} UserLabels *map[string]*string `field:"optional" json:"userLabels" yaml:"userLabels"` }
type GoogleMonitoringAlertPolicyCreationRecord ¶
type GoogleMonitoringAlertPolicyCreationRecord struct { }
type GoogleMonitoringAlertPolicyCreationRecordList ¶
type GoogleMonitoringAlertPolicyCreationRecordList 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 // 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleMonitoringAlertPolicyCreationRecordOutputReference // 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 NewGoogleMonitoringAlertPolicyCreationRecordList ¶
func NewGoogleMonitoringAlertPolicyCreationRecordList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleMonitoringAlertPolicyCreationRecordList
type GoogleMonitoringAlertPolicyCreationRecordOutputReference ¶
type GoogleMonitoringAlertPolicyCreationRecordOutputReference 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() *GoogleMonitoringAlertPolicyCreationRecord SetInternalValue(val *GoogleMonitoringAlertPolicyCreationRecord) MutatedBy() *string MutateTime() *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 NewGoogleMonitoringAlertPolicyCreationRecordOutputReference ¶
func NewGoogleMonitoringAlertPolicyCreationRecordOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleMonitoringAlertPolicyCreationRecordOutputReference
type GoogleMonitoringAlertPolicyDocumentation ¶
type GoogleMonitoringAlertPolicyDocumentation struct { // The text of the documentation, interpreted according to mimeType. // // The content may not exceed 8,192 Unicode characters and may not // exceed more than 10,240 bytes when encoded in UTF-8 format, // whichever is smaller. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#content GoogleMonitoringAlertPolicy#content} Content *string `field:"optional" json:"content" yaml:"content"` // The format of the content field. Presently, only the value "text/markdown" is supported. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#mime_type GoogleMonitoringAlertPolicy#mime_type} MimeType *string `field:"optional" json:"mimeType" yaml:"mimeType"` }
type GoogleMonitoringAlertPolicyDocumentationOutputReference ¶
type GoogleMonitoringAlertPolicyDocumentationOutputReference 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) Content() *string SetContent(val *string) ContentInput() *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() *GoogleMonitoringAlertPolicyDocumentation SetInternalValue(val *GoogleMonitoringAlertPolicyDocumentation) MimeType() *string SetMimeType(val *string) MimeTypeInput() *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 ResetContent() ResetMimeType() // 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 NewGoogleMonitoringAlertPolicyDocumentationOutputReference ¶
func NewGoogleMonitoringAlertPolicyDocumentationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyDocumentationOutputReference
type GoogleMonitoringAlertPolicyTimeouts ¶
type GoogleMonitoringAlertPolicyTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#create GoogleMonitoringAlertPolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#delete GoogleMonitoringAlertPolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_monitoring_alert_policy#update GoogleMonitoringAlertPolicy#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleMonitoringAlertPolicyTimeoutsOutputReference ¶
type GoogleMonitoringAlertPolicyTimeoutsOutputReference 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 NewGoogleMonitoringAlertPolicyTimeoutsOutputReference ¶
func NewGoogleMonitoringAlertPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleMonitoringAlertPolicyTimeoutsOutputReference
Source Files ¶
- GoogleMonitoringAlertPolicy.go
- GoogleMonitoringAlertPolicyAlertStrategy.go
- GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimit.go
- GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference.go
- GoogleMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference__checks.go
- GoogleMonitoringAlertPolicyAlertStrategyOutputReference.go
- GoogleMonitoringAlertPolicyAlertStrategyOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditions.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsent.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregations.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsList__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentTrigger.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionMatchedLog.go
- GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThreshold.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregations.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsList__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdTrigger.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference.go
- GoogleMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference__checks.go
- GoogleMonitoringAlertPolicyConditionsList.go
- GoogleMonitoringAlertPolicyConditionsList__checks.go
- GoogleMonitoringAlertPolicyConditionsOutputReference.go
- GoogleMonitoringAlertPolicyConditionsOutputReference__checks.go
- GoogleMonitoringAlertPolicyConfig.go
- GoogleMonitoringAlertPolicyCreationRecord.go
- GoogleMonitoringAlertPolicyCreationRecordList.go
- GoogleMonitoringAlertPolicyCreationRecordList__checks.go
- GoogleMonitoringAlertPolicyCreationRecordOutputReference.go
- GoogleMonitoringAlertPolicyCreationRecordOutputReference__checks.go
- GoogleMonitoringAlertPolicyDocumentation.go
- GoogleMonitoringAlertPolicyDocumentationOutputReference.go
- GoogleMonitoringAlertPolicyDocumentationOutputReference__checks.go
- GoogleMonitoringAlertPolicyTimeouts.go
- GoogleMonitoringAlertPolicyTimeoutsOutputReference.go
- GoogleMonitoringAlertPolicyTimeoutsOutputReference__checks.go
- GoogleMonitoringAlertPolicy__checks.go
- main.go