1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudwatch
  6. Alert

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::CloudWatch::Alert. An alert runs a SQL or PromQL query in a CloudWatch Omni space on a fixed interval, compares the result against warning and critical thresholds, and sends notifications to Amazon SNS topics or integrations when its state changes.

    Create Alert Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
    @overload
    def Alert(resource_name: str,
              args: AlertArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Alert(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              profile_id: Optional[str] = None,
              rule: Optional[AlertRuleArgs] = None,
              space_id: Optional[str] = None,
              description: Optional[str] = None,
              name: Optional[str] = None,
              notification_rules: Optional[Sequence[AlertNotificationRuleArgs]] = None,
              notifications_enabled: Optional[bool] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
    public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
    public Alert(String name, AlertArgs args)
    public Alert(String name, AlertArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudwatch:Alert
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_cloudwatch_alert" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Alert Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Alert resource accepts the following input properties:

    ProfileId string
    The ID of the access profile the alert uses to run its query and send notifications.
    Rule Pulumi.AwsNative.CloudWatch.Inputs.AlertRule
    SpaceId string
    The ID of the space to create the alert in. Changing this value replaces the alert.
    Description string
    A description of the alert.
    Name string
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    NotificationRules List<Pulumi.AwsNative.CloudWatch.Inputs.AlertNotificationRule>
    The notification rules that determine when and where notifications are sent.
    NotificationsEnabled bool
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    ProfileId string
    The ID of the access profile the alert uses to run its query and send notifications.
    Rule AlertRuleArgs
    SpaceId string
    The ID of the space to create the alert in. Changing this value replaces the alert.
    Description string
    A description of the alert.
    Name string
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    NotificationRules []AlertNotificationRuleArgs
    The notification rules that determine when and where notifications are sent.
    NotificationsEnabled bool
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    profile_id string
    The ID of the access profile the alert uses to run its query and send notifications.
    rule object
    space_id string
    The ID of the space to create the alert in. Changing this value replaces the alert.
    description string
    A description of the alert.
    name string
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    notification_rules list(object)
    The notification rules that determine when and where notifications are sent.
    notifications_enabled bool
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    profileId String
    The ID of the access profile the alert uses to run its query and send notifications.
    rule AlertRule
    spaceId String
    The ID of the space to create the alert in. Changing this value replaces the alert.
    description String
    A description of the alert.
    name String
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    notificationRules List<AlertNotificationRule>
    The notification rules that determine when and where notifications are sent.
    notificationsEnabled Boolean
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    profileId string
    The ID of the access profile the alert uses to run its query and send notifications.
    rule AlertRule
    spaceId string
    The ID of the space to create the alert in. Changing this value replaces the alert.
    description string
    A description of the alert.
    name string
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    notificationRules AlertNotificationRule[]
    The notification rules that determine when and where notifications are sent.
    notificationsEnabled boolean
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    profile_id str
    The ID of the access profile the alert uses to run its query and send notifications.
    rule AlertRuleArgs
    space_id str
    The ID of the space to create the alert in. Changing this value replaces the alert.
    description str
    A description of the alert.
    name str
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    notification_rules Sequence[AlertNotificationRuleArgs]
    The notification rules that determine when and where notifications are sent.
    notifications_enabled bool
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    profileId String
    The ID of the access profile the alert uses to run its query and send notifications.
    rule Property Map
    spaceId String
    The ID of the space to create the alert in. Changing this value replaces the alert.
    description String
    A description of the alert.
    name String
    The display name of the alert. Names don't need to be unique within a space; the alert is identified by AlertId.
    notificationRules List<Property Map>
    The notification rules that determine when and where notifications are sent.
    notificationsEnabled Boolean
    Whether the alert sends notifications. When false, the alert is still evaluated and records its state, but sends nothing. Defaults to true.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Alert resource produces the following output properties:

    AccountId string
    The AWS account ID that owns the alert.
    AlertId string
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    Arn string
    The Amazon Resource Name (ARN) of the alert.
    CreatedAt string
    The time the alert was created, in ISO 8601 format (UTC).
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The time the alert was last updated, in ISO 8601 format (UTC).
    AccountId string
    The AWS account ID that owns the alert.
    AlertId string
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    Arn string
    The Amazon Resource Name (ARN) of the alert.
    CreatedAt string
    The time the alert was created, in ISO 8601 format (UTC).
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The time the alert was last updated, in ISO 8601 format (UTC).
    account_id string
    The AWS account ID that owns the alert.
    alert_id string
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    arn string
    The Amazon Resource Name (ARN) of the alert.
    created_at string
    The time the alert was created, in ISO 8601 format (UTC).
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    The time the alert was last updated, in ISO 8601 format (UTC).
    accountId String
    The AWS account ID that owns the alert.
    alertId String
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    arn String
    The Amazon Resource Name (ARN) of the alert.
    createdAt String
    The time the alert was created, in ISO 8601 format (UTC).
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The time the alert was last updated, in ISO 8601 format (UTC).
    accountId string
    The AWS account ID that owns the alert.
    alertId string
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    arn string
    The Amazon Resource Name (ARN) of the alert.
    createdAt string
    The time the alert was created, in ISO 8601 format (UTC).
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The time the alert was last updated, in ISO 8601 format (UTC).
    account_id str
    The AWS account ID that owns the alert.
    alert_id str
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    arn str
    The Amazon Resource Name (ARN) of the alert.
    created_at str
    The time the alert was created, in ISO 8601 format (UTC).
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The time the alert was last updated, in ISO 8601 format (UTC).
    accountId String
    The AWS account ID that owns the alert.
    alertId String
    The ID of the alert, assigned by CloudWatch when the alert is created. It doesn't change when the alert is updated, and it is the resource ID in the alert's ARN.
    arn String
    The Amazon Resource Name (ARN) of the alert.
    createdAt String
    The time the alert was created, in ISO 8601 format (UTC).
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The time the alert was last updated, in ISO 8601 format (UTC).

    Look up Existing Alert Resource

    Get an existing Alert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Alert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Alert
    func GetAlert(ctx *Context, name string, id IDInput, state *AlertState, opts ...ResourceOption) (*Alert, error)
    public static Alert Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Alert get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAlert:    type: aws-native:cloudwatch:Alert    get:      id: ${id}
    import {
      to = aws-native_cloudwatch_alert.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AlertState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AlertCondition, AlertConditionArgs

    The thresholds that set the alert's state. Specify at least one of WarningThreshold and CriticalThreshold.

    Comparator Pulumi.AwsNative.CloudWatch.AlertConditionComparator
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    CriticalThreshold double
    The value at which the alert enters the CRITICAL state.
    ThresholdField string
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    ThresholdMode Pulumi.AwsNative.CloudWatch.AlertConditionThresholdMode
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    WarningThreshold double
    The value at which the alert enters the WARNING state.
    Comparator AlertConditionComparator
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    CriticalThreshold float64
    The value at which the alert enters the CRITICAL state.
    ThresholdField string
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    ThresholdMode AlertConditionThresholdMode
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    WarningThreshold float64
    The value at which the alert enters the WARNING state.
    comparator "GT" | "LT" | "GTE" | "LTE"
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    critical_threshold number
    The value at which the alert enters the CRITICAL state.
    threshold_field string
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    threshold_mode "COUNT_OF_RESULTS" | "FIELD_VALUE"
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    warning_threshold number
    The value at which the alert enters the WARNING state.
    comparator AlertConditionComparator
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    criticalThreshold Double
    The value at which the alert enters the CRITICAL state.
    thresholdField String
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    thresholdMode AlertConditionThresholdMode
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    warningThreshold Double
    The value at which the alert enters the WARNING state.
    comparator AlertConditionComparator
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    criticalThreshold number
    The value at which the alert enters the CRITICAL state.
    thresholdField string
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    thresholdMode AlertConditionThresholdMode
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    warningThreshold number
    The value at which the alert enters the WARNING state.
    comparator AlertConditionComparator
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    critical_threshold float
    The value at which the alert enters the CRITICAL state.
    threshold_field str
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    threshold_mode AlertConditionThresholdMode
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    warning_threshold float
    The value at which the alert enters the WARNING state.
    comparator "GT" | "LT" | "GTE" | "LTE"
    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).
    criticalThreshold Number
    The value at which the alert enters the CRITICAL state.
    thresholdField String
    The result field to compare against the threshold. Required when ThresholdMode is FIELD_VALUE.
    thresholdMode "COUNT_OF_RESULTS" | "FIELD_VALUE"
    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.
    warningThreshold Number
    The value at which the alert enters the WARNING state.

    AlertConditionComparator

    The comparison operator. Valid values: GT, GTE, LT, LTE (greater than, greater than or equal to, less than, less than or equal to).

    NameValue
    GtGT
    LtLT
    GteGTE
    LteLTE
    NameValue
    AlertConditionComparatorGtGT
    AlertConditionComparatorLtLT
    AlertConditionComparatorGteGTE
    AlertConditionComparatorLteLTE
    Value
    GT
    LT
    GTE
    LTE
    NameValue
    GtGT
    LtLT
    GteGTE
    LteLTE
    NameValue
    GtGT
    LtLT
    GteGTE
    LteLTE
    NameValue
    GTGT
    LTLT
    GTEGTE
    LTELTE
    Value
    GT
    LT
    GTE
    LTE

    AlertConditionThresholdMode

    How the threshold is applied. COUNT_OF_RESULTS compares the number of rows the query returns. FIELD_VALUE compares the value of ThresholdField in each result row; each row is tracked separately.

    NameValue
    CountOfResultsCOUNT_OF_RESULTS
    FieldValueFIELD_VALUE
    NameValue
    AlertConditionThresholdModeCountOfResultsCOUNT_OF_RESULTS
    AlertConditionThresholdModeFieldValueFIELD_VALUE
    Value
    COUNT_OF_RESULTS
    FIELD_VALUE
    NameValue
    CountOfResultsCOUNT_OF_RESULTS
    FieldValueFIELD_VALUE
    NameValue
    CountOfResultsCOUNT_OF_RESULTS
    FieldValueFIELD_VALUE
    NameValue
    COUNT_OF_RESULTSCOUNT_OF_RESULTS
    FIELD_VALUEFIELD_VALUE
    Value
    COUNT_OF_RESULTS
    FIELD_VALUE

    AlertEvaluation, AlertEvaluationArgs

    How often the alert is evaluated, and how long a change must last before the state changes.

    IntervalSeconds int
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    PendingDurationSeconds int
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    RecoveryDurationSeconds int
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    IntervalSeconds int
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    PendingDurationSeconds int
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    RecoveryDurationSeconds int
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    interval_seconds number
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    pending_duration_seconds number
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    recovery_duration_seconds number
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    intervalSeconds Integer
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    pendingDurationSeconds Integer
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    recoveryDurationSeconds Integer
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    intervalSeconds number
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    pendingDurationSeconds number
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    recoveryDurationSeconds number
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    interval_seconds int
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    pending_duration_seconds int
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    recovery_duration_seconds int
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.
    intervalSeconds Number
    The time between evaluations, in seconds. Valid values: 30, 60, 120, 300, 600, 900, 1800, 3600.
    pendingDurationSeconds Number
    How long a threshold breach must last before the alert changes state, in seconds. Must be a multiple of IntervalSeconds. 0 changes state immediately.
    recoveryDurationSeconds Number
    How long the result must stay within its thresholds before the alert returns to OK, in seconds. Must be a multiple of IntervalSeconds. 0 returns to OK immediately.

    AlertNoData, AlertNoDataArgs

    How the alert behaves when an evaluation returns no data. If omitted, the alert reports NODATA.

    TreatAs Pulumi.AwsNative.CloudWatch.AlertNoDataTreatAs
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    TreatAs AlertNoDataTreatAs
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    treat_as "OK" | "WARNING" | "CRITICAL" | "NODATA"
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    treatAs AlertNoDataTreatAs
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    treatAs AlertNoDataTreatAs
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    treat_as AlertNoDataTreatAs
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.
    treatAs "OK" | "WARNING" | "CRITICAL" | "NODATA"
    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.

    AlertNoDataTreatAs

    The state to report when an evaluation returns no data. Valid values: OK, WARNING, CRITICAL, NODATA.

    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    AlertNoDataTreatAsOkOK
    AlertNoDataTreatAsWarningWARNING
    AlertNoDataTreatAsCriticalCRITICAL
    AlertNoDataTreatAsNodataNODATA
    Value
    OK
    WARNING
    CRITICAL
    NODATA
    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    OKOK
    WARNINGWARNING
    CRITICALCRITICAL
    NODATANODATA
    Value
    OK
    WARNING
    CRITICAL
    NODATA

    AlertNotificationRule, AlertNotificationRuleArgs

    A notification rule: which alert states trigger it, and where the notification is sent.

    AlertQuery, AlertQueryArgs

    The query the alert runs, and the language it is written in.

    Expression string
    The query expression. For PromQL, the series value is returned in a field named value.
    Language Pulumi.AwsNative.CloudWatch.AlertQueryLanguage
    The query language. Valid values: SQL, PROMQL.
    Expression string
    The query expression. For PromQL, the series value is returned in a field named value.
    Language AlertQueryLanguage
    The query language. Valid values: SQL, PROMQL.
    expression string
    The query expression. For PromQL, the series value is returned in a field named value.
    language "SQL" | "PROMQL"
    The query language. Valid values: SQL, PROMQL.
    expression String
    The query expression. For PromQL, the series value is returned in a field named value.
    language AlertQueryLanguage
    The query language. Valid values: SQL, PROMQL.
    expression string
    The query expression. For PromQL, the series value is returned in a field named value.
    language AlertQueryLanguage
    The query language. Valid values: SQL, PROMQL.
    expression str
    The query expression. For PromQL, the series value is returned in a field named value.
    language AlertQueryLanguage
    The query language. Valid values: SQL, PROMQL.
    expression String
    The query expression. For PromQL, the series value is returned in a field named value.
    language "SQL" | "PROMQL"
    The query language. Valid values: SQL, PROMQL.

    AlertQueryLanguage

    The query language. Valid values: SQL, PROMQL.

    NameValue
    SqlSQL
    PromqlPROMQL
    NameValue
    AlertQueryLanguageSqlSQL
    AlertQueryLanguagePromqlPROMQL
    Value
    SQL
    PROMQL
    NameValue
    SqlSQL
    PromqlPROMQL
    NameValue
    SqlSQL
    PromqlPROMQL
    NameValue
    SQLSQL
    PROMQLPROMQL
    Value
    SQL
    PROMQL

    AlertRule, AlertRuleArgs

    The rule that defines how the alert is evaluated.

    AlertTarget, AlertTargetArgs

    Where the notification is sent.

    Arn string
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    Type Pulumi.AwsNative.CloudWatch.AlertTargetType
    The target type. Valid values: sns, slack, pagerduty.
    Metadata Dictionary<string, string>
    Arn string
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    Type AlertTargetType
    The target type. Valid values: sns, slack, pagerduty.
    Metadata map[string]string
    arn string
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    type "sns" | "slack" | "pagerduty"
    The target type. Valid values: sns, slack, pagerduty.
    metadata map(string)
    arn String
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    type AlertTargetType
    The target type. Valid values: sns, slack, pagerduty.
    metadata Map<String,String>
    arn string
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    type AlertTargetType
    The target type. Valid values: sns, slack, pagerduty.
    metadata {[key: string]: string}
    arn str
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    type AlertTargetType
    The target type. Valid values: sns, slack, pagerduty.
    metadata Mapping[str, str]
    arn String
    The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.
    type "sns" | "slack" | "pagerduty"
    The target type. Valid values: sns, slack, pagerduty.
    metadata Map<String>

    AlertTargetType

    The target type. Valid values: sns, slack, pagerduty.

    NameValue
    Snssns
    Slackslack
    Pagerdutypagerduty
    NameValue
    AlertTargetTypeSnssns
    AlertTargetTypeSlackslack
    AlertTargetTypePagerdutypagerduty
    Value
    sns
    slack
    pagerduty
    NameValue
    Snssns
    Slackslack
    Pagerdutypagerduty
    NameValue
    Snssns
    Slackslack
    Pagerdutypagerduty
    NameValue
    SNSsns
    SLACKslack
    PAGERDUTYpagerduty
    Value
    sns
    slack
    pagerduty

    AlertTelemetryRule, AlertTelemetryRuleArgs

    A rule that queries telemetry, evaluates the result against a condition, and sets how missing data is handled.

    AlertTrigger, AlertTriggerArgs

    The alert states that trigger the notification rule.

    StateValues List<Pulumi.AwsNative.CloudWatch.AlertTriggerStateValuesItem>
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    StateValues []AlertTriggerStateValuesItem
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    state_values list("OK" | "WARNING" | "CRITICAL" | "NODATA")
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    stateValues List<AlertTriggerStateValuesItem>
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    stateValues AlertTriggerStateValuesItem[]
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    state_values Sequence[AlertTriggerStateValuesItem]
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.
    stateValues List<"OK" | "WARNING" | "CRITICAL" | "NODATA">
    The alert states that trigger this rule. A notification is sent when the alert enters any listed state. If omitted or empty, every state triggers the rule.

    AlertTriggerStateValuesItem

    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    AlertTriggerStateValuesItemOkOK
    AlertTriggerStateValuesItemWarningWARNING
    AlertTriggerStateValuesItemCriticalCRITICAL
    AlertTriggerStateValuesItemNodataNODATA
    Value
    OK
    WARNING
    CRITICAL
    NODATA
    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    OkOK
    WarningWARNING
    CriticalCRITICAL
    NodataNODATA
    NameValue
    OKOK
    WARNINGWARNING
    CRITICALCRITICAL
    NODATANODATA
    Value
    OK
    WARNING
    CRITICAL
    NODATA

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial