Package-level declarations

Types

Link copied to clipboard
class Alarm : KotlinCustomResource

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.

Link copied to clipboard
data class AlarmArgs(val actionsEnabled: Output<Boolean>? = null, val alarmActions: Output<List<String>>? = null, val alarmDescription: Output<String>? = null, val alarmName: Output<String>? = null, val comparisonOperator: Output<String>? = null, val datapointsToAlarm: Output<Int>? = null, val dimensions: Output<List<AlarmDimensionArgs>>? = null, val evaluateLowSampleCountPercentile: Output<String>? = null, val evaluationPeriods: Output<Int>? = null, val extendedStatistic: Output<String>? = null, val insufficientDataActions: Output<List<String>>? = null, val metricName: Output<String>? = null, val metrics: Output<List<AlarmMetricDataQueryArgs>>? = null, val namespace: Output<String>? = null, val okActions: Output<List<String>>? = null, val period: Output<Int>? = null, val statistic: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val threshold: Output<Double>? = null, val thresholdMetricId: Output<String>? = null, val treatMissingData: Output<String>? = null, val unit: Output<String>? = null) : ConvertibleToJava<AlarmArgs>

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.

Link copied to clipboard

Builder for AlarmArgs.

Link copied to clipboard
object AlarmMapper : ResourceMapper<Alarm>
Link copied to clipboard

Builder for Alarm.

Link copied to clipboard
Link copied to clipboard
class CompositeAlarm : KotlinCustomResource

The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression

Link copied to clipboard
data class CompositeAlarmArgs(val actionsEnabled: Output<Boolean>? = null, val actionsSuppressor: Output<String>? = null, val actionsSuppressorExtensionPeriod: Output<Int>? = null, val actionsSuppressorWaitPeriod: Output<Int>? = null, val alarmActions: Output<List<String>>? = null, val alarmDescription: Output<String>? = null, val alarmName: Output<String>? = null, val alarmRule: Output<String>? = null, val insufficientDataActions: Output<List<String>>? = null, val okActions: Output<List<String>>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<CompositeAlarmArgs>

The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression

Link copied to clipboard
Link copied to clipboard
object CompositeAlarmMapper : ResourceMapper<CompositeAlarm>
Link copied to clipboard
class Dashboard : KotlinCustomResource

Resource Type definition for AWS::CloudWatch::Dashboard

Link copied to clipboard
data class DashboardArgs(val dashboardBody: Output<String>? = null, val dashboardName: Output<String>? = null) : ConvertibleToJava<DashboardArgs>

Resource Type definition for AWS::CloudWatch::Dashboard

Link copied to clipboard
Link copied to clipboard
object DashboardMapper : ResourceMapper<Dashboard>
Link copied to clipboard
Link copied to clipboard
class MetricStream : KotlinCustomResource

Resource Type definition for Metric Stream

Link copied to clipboard
data class MetricStreamArgs(val excludeFilters: Output<List<MetricStreamFilterArgs>>? = null, val firehoseArn: Output<String>? = null, val includeFilters: Output<List<MetricStreamFilterArgs>>? = null, val includeLinkedAccountsMetrics: Output<Boolean>? = null, val name: Output<String>? = null, val outputFormat: Output<String>? = null, val roleArn: Output<String>? = null, val statisticsConfigurations: Output<List<MetricStreamStatisticsConfigurationArgs>>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<MetricStreamArgs>

Resource Type definition for Metric Stream

Link copied to clipboard
Link copied to clipboard
object MetricStreamMapper : ResourceMapper<MetricStream>
Link copied to clipboard

Functions

Link copied to clipboard
fun alarm(name: String): Alarm
suspend fun alarm(name: String, block: suspend AlarmResourceBuilder.() -> Unit): Alarm
Link copied to clipboard
Link copied to clipboard
suspend fun dashboard(name: String, block: suspend DashboardResourceBuilder.() -> Unit): Dashboard
Link copied to clipboard