Class MonitoringAlertPolicyConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.monitoring_alert_policy.MonitoringAlertPolicyConfig.Jsii$Proxy
-
- All Implemented Interfaces:
MonitoringAlertPolicyConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MonitoringAlertPolicyConfig
@Stability(Stable) @Internal public static final class MonitoringAlertPolicyConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MonitoringAlertPolicyConfig
An implementation forMonitoringAlertPolicyConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.monitoring_alert_policy.MonitoringAlertPolicyConfig
MonitoringAlertPolicyConfig.Builder, MonitoringAlertPolicyConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MonitoringAlertPolicyConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theMonitoringAlertPolicyConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)MonitoringAlertPolicyAlertStrategygetAlertStrategy()alert_strategy block.StringgetCombiner()How to combine the results of multiple conditions to determine if an incident should be opened.ObjectgetConditions()conditions block.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDisplayName()A short name or phrase used to identify the policy in dashboards, notifications, and incidents.MonitoringAlertPolicyDocumentationgetDocumentation()documentation block.ObjectgetEnabled()Whether or not the policy is enabled.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#id MonitoringAlertPolicy#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()List<String>getNotificationChannels()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.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#project MonitoringAlertPolicy#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetSeverity()The severity of an alert policy indicates how important incidents generated by that policy are.MonitoringAlertPolicyTimeoutsgetTimeouts()timeouts block.Map<String,String>getUserLabels()This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MonitoringAlertPolicyConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theMonitoringAlertPolicyConfig.Builder.
-
-
Method Detail
-
getCombiner
public final String getCombiner()
Description copied from interface:MonitoringAlertPolicyConfigHow 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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#combiner MonitoringAlertPolicy#combiner}
- Specified by:
getCombinerin interfaceMonitoringAlertPolicyConfig
-
getConditions
public final Object getConditions()
Description copied from interface:MonitoringAlertPolicyConfigconditions block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#conditions MonitoringAlertPolicy#conditions}
- Specified by:
getConditionsin interfaceMonitoringAlertPolicyConfig
-
getDisplayName
public final String getDisplayName()
Description copied from interface:MonitoringAlertPolicyConfigA 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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#display_name MonitoringAlertPolicy#display_name}
- Specified by:
getDisplayNamein interfaceMonitoringAlertPolicyConfig
-
getAlertStrategy
public final MonitoringAlertPolicyAlertStrategy getAlertStrategy()
Description copied from interface:MonitoringAlertPolicyConfigalert_strategy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#alert_strategy MonitoringAlertPolicy#alert_strategy}
- Specified by:
getAlertStrategyin interfaceMonitoringAlertPolicyConfig
-
getDocumentation
public final MonitoringAlertPolicyDocumentation getDocumentation()
Description copied from interface:MonitoringAlertPolicyConfigdocumentation block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#documentation MonitoringAlertPolicy#documentation}
- Specified by:
getDocumentationin interfaceMonitoringAlertPolicyConfig
-
getEnabled
public final Object getEnabled()
Description copied from interface:MonitoringAlertPolicyConfigWhether or not the policy is enabled. The default is true.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#enabled MonitoringAlertPolicy#enabled}
- Specified by:
getEnabledin interfaceMonitoringAlertPolicyConfig
-
getId
public final String getId()
Description copied from interface:MonitoringAlertPolicyConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/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.
- Specified by:
getIdin interfaceMonitoringAlertPolicyConfig
-
getNotificationChannels
public final List<String> getNotificationChannels()
Description copied from interface:MonitoringAlertPolicyConfigIdentifies 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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#notification_channels MonitoringAlertPolicy#notification_channels}
- Specified by:
getNotificationChannelsin interfaceMonitoringAlertPolicyConfig
-
getProject
public final String getProject()
Description copied from interface:MonitoringAlertPolicyConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#project MonitoringAlertPolicy#project}.- Specified by:
getProjectin interfaceMonitoringAlertPolicyConfig
-
getSeverity
public final String getSeverity()
Description copied from interface:MonitoringAlertPolicyConfigThe severity of an alert policy indicates how important incidents generated by that policy are.The severity level will be displayed on the Incident detail page and in notifications. Possible values: ["CRITICAL", "ERROR", "WARNING"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#severity MonitoringAlertPolicy#severity}
- Specified by:
getSeverityin interfaceMonitoringAlertPolicyConfig
-
getTimeouts
public final MonitoringAlertPolicyTimeouts getTimeouts()
Description copied from interface:MonitoringAlertPolicyConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#timeouts MonitoringAlertPolicy#timeouts}
- Specified by:
getTimeoutsin interfaceMonitoringAlertPolicyConfig
-
getUserLabels
public final Map<String,String> getUserLabels()
Description copied from interface:MonitoringAlertPolicyConfigThis 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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#user_labels MonitoringAlertPolicy#user_labels}
- Specified by:
getUserLabelsin interfaceMonitoringAlertPolicyConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-