Class MonitoringAlertPolicyConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getCombiner

        public final String getCombiner()
        Description copied from interface: MonitoringAlertPolicyConfig
        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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#combiner MonitoringAlertPolicy#combiner}

        Specified by:
        getCombiner in interface MonitoringAlertPolicyConfig
      • getConditions

        public final Object getConditions()
        Description copied from interface: MonitoringAlertPolicyConfig
        conditions 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:
        getConditions in interface MonitoringAlertPolicyConfig
      • getDisplayName

        public final String getDisplayName()
        Description copied from interface: MonitoringAlertPolicyConfig
        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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#display_name MonitoringAlertPolicy#display_name}

        Specified by:
        getDisplayName in interface MonitoringAlertPolicyConfig
      • getEnabled

        public final Object getEnabled()
        Description copied from interface: MonitoringAlertPolicyConfig
        Whether 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:
        getEnabled in interface MonitoringAlertPolicyConfig
      • getId

        public final String getId()
        Description copied from interface: MonitoringAlertPolicyConfig
        Docs 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:
        getId in interface MonitoringAlertPolicyConfig
      • getNotificationChannels

        public final List<String> getNotificationChannels()
        Description copied from interface: MonitoringAlertPolicyConfig
        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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#notification_channels MonitoringAlertPolicy#notification_channels}

        Specified by:
        getNotificationChannels in interface MonitoringAlertPolicyConfig
      • getProject

        public final String getProject()
        Description copied from interface: MonitoringAlertPolicyConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#project MonitoringAlertPolicy#project}.
        Specified by:
        getProject in interface MonitoringAlertPolicyConfig
      • getSeverity

        public final String getSeverity()
        Description copied from interface: MonitoringAlertPolicyConfig
        The 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:
        getSeverity in interface MonitoringAlertPolicyConfig
      • getUserLabels

        public final Map<String,​String> getUserLabels()
        Description copied from interface: MonitoringAlertPolicyConfig
        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://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#user_labels MonitoringAlertPolicy#user_labels}

        Specified by:
        getUserLabels in interface MonitoringAlertPolicyConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object