getAlarm

suspend fun getAlarm(argument: GetAlarmPlainArgs): GetAlarmResult

The `AWS::CloudWatch::Alarm` type specifies an alarm and associates it with the specified metric or metric math expression. When this operation creates an alarm, the alarm state is immediately set to `INSUFFICIENT_DATA`. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.

Return

null

Parameters

argument

null


suspend fun getAlarm(alarmName: String): GetAlarmResult

Return

null

Parameters

alarmName

The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

See also


suspend fun getAlarm(argument: suspend GetAlarmPlainArgsBuilder.() -> Unit): GetAlarmResult

Return

null

Parameters

argument

Builder for com.pulumi.awsnative.cloudwatch.kotlin.inputs.GetAlarmPlainArgs.

See also