Documentation ¶
Index ¶
- func MonitoringAlertPolicy_IsConstruct(x interface{}) *bool
- func MonitoringAlertPolicy_IsTerraformElement(x interface{}) *bool
- func MonitoringAlertPolicy_IsTerraformResource(x interface{}) *bool
- func MonitoringAlertPolicy_TfResourceType() *string
- func NewMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override(m MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference, ...)
- func NewMonitoringAlertPolicyAlertStrategyOutputReference_Override(m MonitoringAlertPolicyAlertStrategyOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionAbsentAggregationsList, ...)
- func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override(m MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override(...)
- func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override(...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionThresholdAggregationsList, ...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList, ...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override(...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference, ...)
- func NewMonitoringAlertPolicyConditionsList_Override(m MonitoringAlertPolicyConditionsList, ...)
- func NewMonitoringAlertPolicyConditionsOutputReference_Override(m MonitoringAlertPolicyConditionsOutputReference, ...)
- func NewMonitoringAlertPolicyCreationRecordList_Override(m MonitoringAlertPolicyCreationRecordList, ...)
- func NewMonitoringAlertPolicyCreationRecordOutputReference_Override(m MonitoringAlertPolicyCreationRecordOutputReference, ...)
- func NewMonitoringAlertPolicyDocumentationOutputReference_Override(m MonitoringAlertPolicyDocumentationOutputReference, ...)
- func NewMonitoringAlertPolicyTimeoutsOutputReference_Override(m MonitoringAlertPolicyTimeoutsOutputReference, ...)
- func NewMonitoringAlertPolicy_Override(m MonitoringAlertPolicy, scope constructs.Construct, id *string, ...)
- type MonitoringAlertPolicy
- type MonitoringAlertPolicyAlertStrategy
- type MonitoringAlertPolicyAlertStrategyNotificationRateLimit
- type MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference
- type MonitoringAlertPolicyAlertStrategyOutputReference
- type MonitoringAlertPolicyConditions
- type MonitoringAlertPolicyConditionsConditionAbsent
- type MonitoringAlertPolicyConditionsConditionAbsentAggregations
- type MonitoringAlertPolicyConditionsConditionAbsentAggregationsList
- type MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference
- type MonitoringAlertPolicyConditionsConditionAbsentOutputReference
- type MonitoringAlertPolicyConditionsConditionAbsentTrigger
- type MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference
- type MonitoringAlertPolicyConditionsConditionMatchedLog
- type MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference
- type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage
- type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference
- type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger
- type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference
- type MonitoringAlertPolicyConditionsConditionThreshold
- type MonitoringAlertPolicyConditionsConditionThresholdAggregations
- type MonitoringAlertPolicyConditionsConditionThresholdAggregationsList
- type MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference
- type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations
- type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList
- type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference
- type MonitoringAlertPolicyConditionsConditionThresholdOutputReference
- type MonitoringAlertPolicyConditionsConditionThresholdTrigger
- type MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference
- type MonitoringAlertPolicyConditionsList
- type MonitoringAlertPolicyConditionsOutputReference
- type MonitoringAlertPolicyConfig
- type MonitoringAlertPolicyCreationRecord
- type MonitoringAlertPolicyCreationRecordList
- type MonitoringAlertPolicyCreationRecordOutputReference
- type MonitoringAlertPolicyDocumentation
- type MonitoringAlertPolicyDocumentationOutputReference
- type MonitoringAlertPolicyTimeouts
- type MonitoringAlertPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitoringAlertPolicy_IsConstruct ¶
func MonitoringAlertPolicy_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 MonitoringAlertPolicy_IsTerraformElement ¶
func MonitoringAlertPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func MonitoringAlertPolicy_IsTerraformResource ¶
func MonitoringAlertPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func MonitoringAlertPolicy_TfResourceType ¶
func MonitoringAlertPolicy_TfResourceType() *string
func NewMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override ¶
func NewMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference_Override(m MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyAlertStrategyOutputReference_Override ¶
func NewMonitoringAlertPolicyAlertStrategyOutputReference_Override(m MonitoringAlertPolicyAlertStrategyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionAbsentAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference_Override(m MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference_Override(m MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference_Override(m MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference_Override(m MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionThresholdAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList_Override(m MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference_Override(m MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyConditionsList_Override ¶
func NewMonitoringAlertPolicyConditionsList_Override(m MonitoringAlertPolicyConditionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitoringAlertPolicyConditionsOutputReference_Override ¶
func NewMonitoringAlertPolicyConditionsOutputReference_Override(m MonitoringAlertPolicyConditionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitoringAlertPolicyCreationRecordList_Override ¶
func NewMonitoringAlertPolicyCreationRecordList_Override(m MonitoringAlertPolicyCreationRecordList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitoringAlertPolicyCreationRecordOutputReference_Override ¶
func NewMonitoringAlertPolicyCreationRecordOutputReference_Override(m MonitoringAlertPolicyCreationRecordOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitoringAlertPolicyDocumentationOutputReference_Override ¶
func NewMonitoringAlertPolicyDocumentationOutputReference_Override(m MonitoringAlertPolicyDocumentationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicyTimeoutsOutputReference_Override ¶
func NewMonitoringAlertPolicyTimeoutsOutputReference_Override(m MonitoringAlertPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitoringAlertPolicy_Override ¶
func NewMonitoringAlertPolicy_Override(m MonitoringAlertPolicy, scope constructs.Construct, id *string, config *MonitoringAlertPolicyConfig)
Create a new {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy google_monitoring_alert_policy} Resource.
Types ¶
type MonitoringAlertPolicy ¶
type MonitoringAlertPolicy interface { cdktf.TerraformResource AlertStrategy() MonitoringAlertPolicyAlertStrategyOutputReference AlertStrategyInput() *MonitoringAlertPolicyAlertStrategy // Experimental. CdktfStack() cdktf.TerraformStack Combiner() *string SetCombiner(val *string) CombinerInput() *string Conditions() MonitoringAlertPolicyConditionsList ConditionsInput() interface{} // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreationRecord() MonitoringAlertPolicyCreationRecordList // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string Documentation() MonitoringAlertPolicyDocumentationOutputReference DocumentationInput() *MonitoringAlertPolicyDocumentation 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() MonitoringAlertPolicyTimeoutsOutputReference 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 *MonitoringAlertPolicyAlertStrategy) PutConditions(value interface{}) PutDocumentation(value *MonitoringAlertPolicyDocumentation) PutTimeouts(value *MonitoringAlertPolicyTimeouts) 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/r/monitoring_alert_policy google_monitoring_alert_policy}.
func NewMonitoringAlertPolicy ¶
func NewMonitoringAlertPolicy(scope constructs.Construct, id *string, config *MonitoringAlertPolicyConfig) MonitoringAlertPolicy
Create a new {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy google_monitoring_alert_policy} Resource.
type MonitoringAlertPolicyAlertStrategy ¶
type MonitoringAlertPolicyAlertStrategy 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/r/monitoring_alert_policy#auto_close MonitoringAlertPolicy#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/r/monitoring_alert_policy#notification_rate_limit MonitoringAlertPolicy#notification_rate_limit} NotificationRateLimit *MonitoringAlertPolicyAlertStrategyNotificationRateLimit `field:"optional" json:"notificationRateLimit" yaml:"notificationRateLimit"` }
type MonitoringAlertPolicyAlertStrategyNotificationRateLimit ¶
type MonitoringAlertPolicyAlertStrategyNotificationRateLimit struct { // Not more than one notification per period. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#period MonitoringAlertPolicy#period} Period *string `field:"optional" json:"period" yaml:"period"` }
type MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference ¶
type MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference 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() *MonitoringAlertPolicyAlertStrategyNotificationRateLimit SetInternalValue(val *MonitoringAlertPolicyAlertStrategyNotificationRateLimit) 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 NewMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference ¶
func NewMonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference
type MonitoringAlertPolicyAlertStrategyOutputReference ¶
type MonitoringAlertPolicyAlertStrategyOutputReference 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() *MonitoringAlertPolicyAlertStrategy SetInternalValue(val *MonitoringAlertPolicyAlertStrategy) NotificationRateLimit() MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference NotificationRateLimitInput() *MonitoringAlertPolicyAlertStrategyNotificationRateLimit // 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 *MonitoringAlertPolicyAlertStrategyNotificationRateLimit) 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 NewMonitoringAlertPolicyAlertStrategyOutputReference ¶
func NewMonitoringAlertPolicyAlertStrategyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyAlertStrategyOutputReference
type MonitoringAlertPolicyConditions ¶
type MonitoringAlertPolicyConditions 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/r/monitoring_alert_policy#display_name MonitoringAlertPolicy#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/r/monitoring_alert_policy#condition_absent MonitoringAlertPolicy#condition_absent} ConditionAbsent *MonitoringAlertPolicyConditionsConditionAbsent `field:"optional" json:"conditionAbsent" yaml:"conditionAbsent"` // condition_matched_log block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#condition_matched_log MonitoringAlertPolicy#condition_matched_log} ConditionMatchedLog *MonitoringAlertPolicyConditionsConditionMatchedLog `field:"optional" json:"conditionMatchedLog" yaml:"conditionMatchedLog"` // condition_monitoring_query_language block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#condition_monitoring_query_language MonitoringAlertPolicy#condition_monitoring_query_language} ConditionMonitoringQueryLanguage *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage `field:"optional" json:"conditionMonitoringQueryLanguage" yaml:"conditionMonitoringQueryLanguage"` // condition_threshold block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#condition_threshold MonitoringAlertPolicy#condition_threshold} ConditionThreshold *MonitoringAlertPolicyConditionsConditionThreshold `field:"optional" json:"conditionThreshold" yaml:"conditionThreshold"` }
type MonitoringAlertPolicyConditionsConditionAbsent ¶
type MonitoringAlertPolicyConditionsConditionAbsent 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/r/monitoring_alert_policy#duration MonitoringAlertPolicy#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#aggregations MonitoringAlertPolicy#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/r/monitoring_alert_policy#filter MonitoringAlertPolicy#filter} Filter *string `field:"optional" json:"filter" yaml:"filter"` // trigger block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#trigger MonitoringAlertPolicy#trigger} Trigger *MonitoringAlertPolicyConditionsConditionAbsentTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type MonitoringAlertPolicyConditionsConditionAbsentAggregations ¶
type MonitoringAlertPolicyConditionsConditionAbsentAggregations 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/r/monitoring_alert_policy#alignment_period MonitoringAlertPolicy#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/r/monitoring_alert_policy#cross_series_reducer MonitoringAlertPolicy#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/r/monitoring_alert_policy#group_by_fields MonitoringAlertPolicy#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/r/monitoring_alert_policy#per_series_aligner MonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type MonitoringAlertPolicyConditionsConditionAbsentAggregationsList ¶
type MonitoringAlertPolicyConditionsConditionAbsentAggregationsList 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) MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference // 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 NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsList ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitoringAlertPolicyConditionsConditionAbsentAggregationsList
type MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference ¶
type MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference 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 NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference
type MonitoringAlertPolicyConditionsConditionAbsentOutputReference ¶
type MonitoringAlertPolicyConditionsConditionAbsentOutputReference interface { cdktf.ComplexObject Aggregations() MonitoringAlertPolicyConditionsConditionAbsentAggregationsList 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() *MonitoringAlertPolicyConditionsConditionAbsent SetInternalValue(val *MonitoringAlertPolicyConditionsConditionAbsent) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Trigger() MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference TriggerInput() *MonitoringAlertPolicyConditionsConditionAbsentTrigger // 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 *MonitoringAlertPolicyConditionsConditionAbsentTrigger) 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 NewMonitoringAlertPolicyConditionsConditionAbsentOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionAbsentOutputReference
type MonitoringAlertPolicyConditionsConditionAbsentTrigger ¶
type MonitoringAlertPolicyConditionsConditionAbsentTrigger 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/r/monitoring_alert_policy#count MonitoringAlertPolicy#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/r/monitoring_alert_policy#percent MonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference ¶
type MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference 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() *MonitoringAlertPolicyConditionsConditionAbsentTrigger SetInternalValue(val *MonitoringAlertPolicyConditionsConditionAbsentTrigger) 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 NewMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference
type MonitoringAlertPolicyConditionsConditionMatchedLog ¶
type MonitoringAlertPolicyConditionsConditionMatchedLog struct { // A logs-based filter. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#filter MonitoringAlertPolicy#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/r/monitoring_alert_policy#label_extractors MonitoringAlertPolicy#label_extractors} LabelExtractors *map[string]*string `field:"optional" json:"labelExtractors" yaml:"labelExtractors"` }
type MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ¶
type MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference 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() *MonitoringAlertPolicyConditionsConditionMatchedLog SetInternalValue(val *MonitoringAlertPolicyConditionsConditionMatchedLog) 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 NewMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionMatchedLogOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage ¶
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage 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/r/monitoring_alert_policy#duration MonitoringAlertPolicy#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/r/monitoring_alert_policy#query MonitoringAlertPolicy#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/r/monitoring_alert_policy#evaluation_missing_data MonitoringAlertPolicy#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/r/monitoring_alert_policy#trigger MonitoringAlertPolicy#trigger} Trigger *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ¶
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference 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() *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage SetInternalValue(val *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage) Query() *string SetQuery(val *string) QueryInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Trigger() MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference TriggerInput() *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger // 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 *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger) 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 NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger ¶
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger 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/r/monitoring_alert_policy#count MonitoringAlertPolicy#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/r/monitoring_alert_policy#percent MonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference ¶
type MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference 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() *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger SetInternalValue(val *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger) 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 NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference
type MonitoringAlertPolicyConditionsConditionThreshold ¶
type MonitoringAlertPolicyConditionsConditionThreshold 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/r/monitoring_alert_policy#comparison MonitoringAlertPolicy#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/r/monitoring_alert_policy#duration MonitoringAlertPolicy#duration} Duration *string `field:"required" json:"duration" yaml:"duration"` // aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#aggregations MonitoringAlertPolicy#aggregations} Aggregations interface{} `field:"optional" json:"aggregations" yaml:"aggregations"` // denominator_aggregations block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#denominator_aggregations MonitoringAlertPolicy#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/r/monitoring_alert_policy#denominator_filter MonitoringAlertPolicy#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/r/monitoring_alert_policy#evaluation_missing_data MonitoringAlertPolicy#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/r/monitoring_alert_policy#filter MonitoringAlertPolicy#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/r/monitoring_alert_policy#threshold_value MonitoringAlertPolicy#threshold_value} ThresholdValue *float64 `field:"optional" json:"thresholdValue" yaml:"thresholdValue"` // trigger block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#trigger MonitoringAlertPolicy#trigger} Trigger *MonitoringAlertPolicyConditionsConditionThresholdTrigger `field:"optional" json:"trigger" yaml:"trigger"` }
type MonitoringAlertPolicyConditionsConditionThresholdAggregations ¶
type MonitoringAlertPolicyConditionsConditionThresholdAggregations 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/r/monitoring_alert_policy#alignment_period MonitoringAlertPolicy#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/r/monitoring_alert_policy#cross_series_reducer MonitoringAlertPolicy#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/r/monitoring_alert_policy#group_by_fields MonitoringAlertPolicy#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/r/monitoring_alert_policy#per_series_aligner MonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type MonitoringAlertPolicyConditionsConditionThresholdAggregationsList ¶
type MonitoringAlertPolicyConditionsConditionThresholdAggregationsList 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) MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference // 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 NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsList ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitoringAlertPolicyConditionsConditionThresholdAggregationsList
type MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference ¶
type MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference 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 NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations ¶
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations 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/r/monitoring_alert_policy#alignment_period MonitoringAlertPolicy#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/r/monitoring_alert_policy#cross_series_reducer MonitoringAlertPolicy#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/r/monitoring_alert_policy#group_by_fields MonitoringAlertPolicy#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/r/monitoring_alert_policy#per_series_aligner MonitoringAlertPolicy#per_series_aligner} PerSeriesAligner *string `field:"optional" json:"perSeriesAligner" yaml:"perSeriesAligner"` }
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList ¶
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList 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) MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference // 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 NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference ¶
type MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference 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 NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference
type MonitoringAlertPolicyConditionsConditionThresholdOutputReference ¶
type MonitoringAlertPolicyConditionsConditionThresholdOutputReference interface { cdktf.ComplexObject Aggregations() MonitoringAlertPolicyConditionsConditionThresholdAggregationsList 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() MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList 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() *MonitoringAlertPolicyConditionsConditionThreshold SetInternalValue(val *MonitoringAlertPolicyConditionsConditionThreshold) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ThresholdValue() *float64 SetThresholdValue(val *float64) ThresholdValueInput() *float64 Trigger() MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference TriggerInput() *MonitoringAlertPolicyConditionsConditionThresholdTrigger // 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 *MonitoringAlertPolicyConditionsConditionThresholdTrigger) 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 NewMonitoringAlertPolicyConditionsConditionThresholdOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionThresholdOutputReference
type MonitoringAlertPolicyConditionsConditionThresholdTrigger ¶
type MonitoringAlertPolicyConditionsConditionThresholdTrigger 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/r/monitoring_alert_policy#count MonitoringAlertPolicy#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/r/monitoring_alert_policy#percent MonitoringAlertPolicy#percent} Percent *float64 `field:"optional" json:"percent" yaml:"percent"` }
type MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference ¶
type MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference 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() *MonitoringAlertPolicyConditionsConditionThresholdTrigger SetInternalValue(val *MonitoringAlertPolicyConditionsConditionThresholdTrigger) 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 NewMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference ¶
func NewMonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference
type MonitoringAlertPolicyConditionsList ¶
type MonitoringAlertPolicyConditionsList 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) MonitoringAlertPolicyConditionsOutputReference // 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 NewMonitoringAlertPolicyConditionsList ¶
func NewMonitoringAlertPolicyConditionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitoringAlertPolicyConditionsList
type MonitoringAlertPolicyConditionsOutputReference ¶
type MonitoringAlertPolicyConditionsOutputReference 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() MonitoringAlertPolicyConditionsConditionAbsentOutputReference ConditionAbsentInput() *MonitoringAlertPolicyConditionsConditionAbsent ConditionMatchedLog() MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference ConditionMatchedLogInput() *MonitoringAlertPolicyConditionsConditionMatchedLog ConditionMonitoringQueryLanguage() MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference ConditionMonitoringQueryLanguageInput() *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage ConditionThreshold() MonitoringAlertPolicyConditionsConditionThresholdOutputReference ConditionThresholdInput() *MonitoringAlertPolicyConditionsConditionThreshold // 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 *MonitoringAlertPolicyConditionsConditionAbsent) PutConditionMatchedLog(value *MonitoringAlertPolicyConditionsConditionMatchedLog) PutConditionMonitoringQueryLanguage(value *MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage) PutConditionThreshold(value *MonitoringAlertPolicyConditionsConditionThreshold) 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 NewMonitoringAlertPolicyConditionsOutputReference ¶
func NewMonitoringAlertPolicyConditionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitoringAlertPolicyConditionsOutputReference
type MonitoringAlertPolicyConfig ¶
type MonitoringAlertPolicyConfig 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/r/monitoring_alert_policy#combiner MonitoringAlertPolicy#combiner} Combiner *string `field:"required" json:"combiner" yaml:"combiner"` // conditions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#conditions MonitoringAlertPolicy#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/r/monitoring_alert_policy#display_name MonitoringAlertPolicy#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/r/monitoring_alert_policy#alert_strategy MonitoringAlertPolicy#alert_strategy} AlertStrategy *MonitoringAlertPolicyAlertStrategy `field:"optional" json:"alertStrategy" yaml:"alertStrategy"` // documentation block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#documentation MonitoringAlertPolicy#documentation} Documentation *MonitoringAlertPolicyDocumentation `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/r/monitoring_alert_policy#enabled MonitoringAlertPolicy#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#id MonitoringAlertPolicy#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/r/monitoring_alert_policy#notification_channels MonitoringAlertPolicy#notification_channels} NotificationChannels *[]*string `field:"optional" json:"notificationChannels" yaml:"notificationChannels"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#project MonitoringAlertPolicy#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#timeouts MonitoringAlertPolicy#timeouts} Timeouts *MonitoringAlertPolicyTimeouts `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/r/monitoring_alert_policy#user_labels MonitoringAlertPolicy#user_labels} UserLabels *map[string]*string `field:"optional" json:"userLabels" yaml:"userLabels"` }
type MonitoringAlertPolicyCreationRecord ¶
type MonitoringAlertPolicyCreationRecord struct { }
type MonitoringAlertPolicyCreationRecordList ¶
type MonitoringAlertPolicyCreationRecordList 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) MonitoringAlertPolicyCreationRecordOutputReference // 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 NewMonitoringAlertPolicyCreationRecordList ¶
func NewMonitoringAlertPolicyCreationRecordList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitoringAlertPolicyCreationRecordList
type MonitoringAlertPolicyCreationRecordOutputReference ¶
type MonitoringAlertPolicyCreationRecordOutputReference 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() *MonitoringAlertPolicyCreationRecord SetInternalValue(val *MonitoringAlertPolicyCreationRecord) 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 NewMonitoringAlertPolicyCreationRecordOutputReference ¶
func NewMonitoringAlertPolicyCreationRecordOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitoringAlertPolicyCreationRecordOutputReference
type MonitoringAlertPolicyDocumentation ¶
type MonitoringAlertPolicyDocumentation 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/r/monitoring_alert_policy#content MonitoringAlertPolicy#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/r/monitoring_alert_policy#mime_type MonitoringAlertPolicy#mime_type} MimeType *string `field:"optional" json:"mimeType" yaml:"mimeType"` }
type MonitoringAlertPolicyDocumentationOutputReference ¶
type MonitoringAlertPolicyDocumentationOutputReference 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() *MonitoringAlertPolicyDocumentation SetInternalValue(val *MonitoringAlertPolicyDocumentation) 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 NewMonitoringAlertPolicyDocumentationOutputReference ¶
func NewMonitoringAlertPolicyDocumentationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyDocumentationOutputReference
type MonitoringAlertPolicyTimeouts ¶
type MonitoringAlertPolicyTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#create MonitoringAlertPolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#delete MonitoringAlertPolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/monitoring_alert_policy#update MonitoringAlertPolicy#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type MonitoringAlertPolicyTimeoutsOutputReference ¶
type MonitoringAlertPolicyTimeoutsOutputReference 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 NewMonitoringAlertPolicyTimeoutsOutputReference ¶
func NewMonitoringAlertPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitoringAlertPolicyTimeoutsOutputReference
Source Files ¶
- MonitoringAlertPolicy.go
- MonitoringAlertPolicyAlertStrategy.go
- MonitoringAlertPolicyAlertStrategyNotificationRateLimit.go
- MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference.go
- MonitoringAlertPolicyAlertStrategyNotificationRateLimitOutputReference__checks.go
- MonitoringAlertPolicyAlertStrategyOutputReference.go
- MonitoringAlertPolicyAlertStrategyOutputReference__checks.go
- MonitoringAlertPolicyConditions.go
- MonitoringAlertPolicyConditionsConditionAbsent.go
- MonitoringAlertPolicyConditionsConditionAbsentAggregations.go
- MonitoringAlertPolicyConditionsConditionAbsentAggregationsList.go
- MonitoringAlertPolicyConditionsConditionAbsentAggregationsList__checks.go
- MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference.go
- MonitoringAlertPolicyConditionsConditionAbsentAggregationsOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionAbsentOutputReference.go
- MonitoringAlertPolicyConditionsConditionAbsentOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionAbsentTrigger.go
- MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference.go
- MonitoringAlertPolicyConditionsConditionAbsentTriggerOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionMatchedLog.go
- MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference.go
- MonitoringAlertPolicyConditionsConditionMatchedLogOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguage.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTrigger.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference.go
- MonitoringAlertPolicyConditionsConditionMonitoringQueryLanguageTriggerOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionThreshold.go
- MonitoringAlertPolicyConditionsConditionThresholdAggregations.go
- MonitoringAlertPolicyConditionsConditionThresholdAggregationsList.go
- MonitoringAlertPolicyConditionsConditionThresholdAggregationsList__checks.go
- MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference.go
- MonitoringAlertPolicyConditionsConditionThresholdAggregationsOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregations.go
- MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList.go
- MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsList__checks.go
- MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference.go
- MonitoringAlertPolicyConditionsConditionThresholdDenominatorAggregationsOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionThresholdOutputReference.go
- MonitoringAlertPolicyConditionsConditionThresholdOutputReference__checks.go
- MonitoringAlertPolicyConditionsConditionThresholdTrigger.go
- MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference.go
- MonitoringAlertPolicyConditionsConditionThresholdTriggerOutputReference__checks.go
- MonitoringAlertPolicyConditionsList.go
- MonitoringAlertPolicyConditionsList__checks.go
- MonitoringAlertPolicyConditionsOutputReference.go
- MonitoringAlertPolicyConditionsOutputReference__checks.go
- MonitoringAlertPolicyConfig.go
- MonitoringAlertPolicyCreationRecord.go
- MonitoringAlertPolicyCreationRecordList.go
- MonitoringAlertPolicyCreationRecordList__checks.go
- MonitoringAlertPolicyCreationRecordOutputReference.go
- MonitoringAlertPolicyCreationRecordOutputReference__checks.go
- MonitoringAlertPolicyDocumentation.go
- MonitoringAlertPolicyDocumentationOutputReference.go
- MonitoringAlertPolicyDocumentationOutputReference__checks.go
- MonitoringAlertPolicyTimeouts.go
- MonitoringAlertPolicyTimeoutsOutputReference.go
- MonitoringAlertPolicyTimeoutsOutputReference__checks.go
- MonitoringAlertPolicy__checks.go
- main.go