azure-native.awsconnector.CloudWatchAlarm
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
CloudWatchAlarms_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cloudWatchAlarm = new AzureNative.AwsConnector.CloudWatchAlarm("cloudWatchAlarm", new()
{
Location = "nbymldrgacokglzmyglynjohhnj",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.CloudWatchAlarmPropertiesArgs
{
Arn = "uhqszqzfmdpnmiwu",
AwsAccountId = "qcoqhrkbfdowqmkzarqbtwcprj",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsCloudWatchAlarmPropertiesArgs
{
ActionsEnabled = true,
AlarmActions = new[]
{
"ydnvbaggrnyxwzika",
},
AlarmDescription = "idvyiwmbllvlfvjcibommfbp",
AlarmName = "ooriavzb",
Arn = "twsifnftkdrfzflvvsuka",
ComparisonOperator = "qo",
DatapointsToAlarm = 30,
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Value = "lnphxdrevivdil",
},
},
EvaluateLowSampleCountPercentile = "oihpnjstsw",
EvaluationPeriods = 15,
ExtendedStatistic = "czkqsxjyzryvvkzoshk",
InsufficientDataActions = new[]
{
"dfkb",
},
MetricName = "bkdkskukix",
Metrics = new[]
{
new AzureNative.AwsConnector.Inputs.MetricDataQueryArgs
{
AccountId = "rbtogpxgrissdcvqupcuhqqesz",
Expression = "hhxrpieqtbvafrujybxxa",
Id = "zcevmcxhujphx",
Label = "jmeaobrgk",
MetricStat = new AzureNative.AwsConnector.Inputs.MetricStatArgs
{
Metric = new AzureNative.AwsConnector.Inputs.MetricArgs
{
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Value = "lnphxdrevivdil",
},
},
MetricName = "mabmwxjydr",
Namespace = "wwoppcactqawdnkpxvjlo",
},
Period = 22,
Stat = "znmppqcobugvvlzccemylhxzsfsg",
Unit = "vu",
},
Period = 27,
ReturnData = true,
},
},
Namespace = "ptrnxovqoagxfepnjkpewbbusjkkzr",
OkActions = new[]
{
"afskbnaohvdlb",
},
Period = 5,
Statistic = "yrrnvsfpyvhnzlmw",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "mdkzoktp",
Value = "zswuuw",
},
},
Threshold = 17,
ThresholdMetricId = "sqtfzityufokpxbthucjitcljvo",
TreatMissingData = "iqrbyvljxufjwybtkjc",
Unit = "vbjipwqqaobwlyebv",
},
AwsRegion = "afpgkhpukllavze",
AwsSourceSchema = "drehzmurfidpdlcf",
AwsTags =
{
{ "key6400", "ivxpvjindvijzvpazekctf" },
},
PublicCloudConnectorsResourceId = "upovlpslvvatbmxiuwhvj",
PublicCloudResourceName = "sjxcsoycs",
},
ResourceGroupName = "rgcloudWatchAlarm",
Tags =
{
{ "key7594", "abbryoyexzxxwsdyfpvtliccd" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewCloudWatchAlarm(ctx, "cloudWatchAlarm", &awsconnector.CloudWatchAlarmArgs{
Location: pulumi.String("nbymldrgacokglzmyglynjohhnj"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.CloudWatchAlarmPropertiesArgs{
Arn: pulumi.String("uhqszqzfmdpnmiwu"),
AwsAccountId: pulumi.String("qcoqhrkbfdowqmkzarqbtwcprj"),
AwsProperties: &awsconnector.AwsCloudWatchAlarmPropertiesArgs{
ActionsEnabled: pulumi.Bool(true),
AlarmActions: pulumi.StringArray{
pulumi.String("ydnvbaggrnyxwzika"),
},
AlarmDescription: pulumi.String("idvyiwmbllvlfvjcibommfbp"),
AlarmName: pulumi.String("ooriavzb"),
Arn: pulumi.String("twsifnftkdrfzflvvsuka"),
ComparisonOperator: pulumi.String("qo"),
DatapointsToAlarm: pulumi.Int(30),
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Value: pulumi.String("lnphxdrevivdil"),
},
},
EvaluateLowSampleCountPercentile: pulumi.String("oihpnjstsw"),
EvaluationPeriods: pulumi.Int(15),
ExtendedStatistic: pulumi.String("czkqsxjyzryvvkzoshk"),
InsufficientDataActions: pulumi.StringArray{
pulumi.String("dfkb"),
},
MetricName: pulumi.String("bkdkskukix"),
Metrics: awsconnector.MetricDataQueryArray{
&awsconnector.MetricDataQueryArgs{
AccountId: pulumi.String("rbtogpxgrissdcvqupcuhqqesz"),
Expression: pulumi.String("hhxrpieqtbvafrujybxxa"),
Id: pulumi.String("zcevmcxhujphx"),
Label: pulumi.String("jmeaobrgk"),
MetricStat: &awsconnector.MetricStatArgs{
Metric: &awsconnector.MetricArgs{
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Value: pulumi.String("lnphxdrevivdil"),
},
},
MetricName: pulumi.String("mabmwxjydr"),
Namespace: pulumi.String("wwoppcactqawdnkpxvjlo"),
},
Period: pulumi.Int(22),
Stat: pulumi.String("znmppqcobugvvlzccemylhxzsfsg"),
Unit: pulumi.String("vu"),
},
Period: pulumi.Int(27),
ReturnData: pulumi.Bool(true),
},
},
Namespace: pulumi.String("ptrnxovqoagxfepnjkpewbbusjkkzr"),
OkActions: pulumi.StringArray{
pulumi.String("afskbnaohvdlb"),
},
Period: pulumi.Int(5),
Statistic: pulumi.String("yrrnvsfpyvhnzlmw"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("mdkzoktp"),
Value: pulumi.String("zswuuw"),
},
},
Threshold: pulumi.Float64(17),
ThresholdMetricId: pulumi.String("sqtfzityufokpxbthucjitcljvo"),
TreatMissingData: pulumi.String("iqrbyvljxufjwybtkjc"),
Unit: pulumi.String("vbjipwqqaobwlyebv"),
},
AwsRegion: pulumi.String("afpgkhpukllavze"),
AwsSourceSchema: pulumi.String("drehzmurfidpdlcf"),
AwsTags: pulumi.StringMap{
"key6400": pulumi.String("ivxpvjindvijzvpazekctf"),
},
PublicCloudConnectorsResourceId: pulumi.String("upovlpslvvatbmxiuwhvj"),
PublicCloudResourceName: pulumi.String("sjxcsoycs"),
},
ResourceGroupName: pulumi.String("rgcloudWatchAlarm"),
Tags: pulumi.StringMap{
"key7594": pulumi.String("abbryoyexzxxwsdyfpvtliccd"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.CloudWatchAlarm;
import com.pulumi.azurenative.awsconnector.CloudWatchAlarmArgs;
import com.pulumi.azurenative.awsconnector.inputs.CloudWatchAlarmPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsCloudWatchAlarmPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cloudWatchAlarm = new CloudWatchAlarm("cloudWatchAlarm", CloudWatchAlarmArgs.builder()
.location("nbymldrgacokglzmyglynjohhnj")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(CloudWatchAlarmPropertiesArgs.builder()
.arn("uhqszqzfmdpnmiwu")
.awsAccountId("qcoqhrkbfdowqmkzarqbtwcprj")
.awsProperties(AwsCloudWatchAlarmPropertiesArgs.builder()
.actionsEnabled(true)
.alarmActions("ydnvbaggrnyxwzika")
.alarmDescription("idvyiwmbllvlfvjcibommfbp")
.alarmName("ooriavzb")
.arn("twsifnftkdrfzflvvsuka")
.comparisonOperator("qo")
.datapointsToAlarm(30)
.dimensions(DimensionArgs.builder()
.value("lnphxdrevivdil")
.build())
.evaluateLowSampleCountPercentile("oihpnjstsw")
.evaluationPeriods(15)
.extendedStatistic("czkqsxjyzryvvkzoshk")
.insufficientDataActions("dfkb")
.metricName("bkdkskukix")
.metrics(MetricDataQueryArgs.builder()
.accountId("rbtogpxgrissdcvqupcuhqqesz")
.expression("hhxrpieqtbvafrujybxxa")
.id("zcevmcxhujphx")
.label("jmeaobrgk")
.metricStat(MetricStatArgs.builder()
.metric(MetricArgs.builder()
.dimensions(DimensionArgs.builder()
.value("lnphxdrevivdil")
.build())
.metricName("mabmwxjydr")
.namespace("wwoppcactqawdnkpxvjlo")
.build())
.period(22)
.stat("znmppqcobugvvlzccemylhxzsfsg")
.unit("vu")
.build())
.period(27)
.returnData(true)
.build())
.namespace("ptrnxovqoagxfepnjkpewbbusjkkzr")
.okActions("afskbnaohvdlb")
.period(5)
.statistic("yrrnvsfpyvhnzlmw")
.tags(TagArgs.builder()
.key("mdkzoktp")
.value("zswuuw")
.build())
.threshold(17)
.thresholdMetricId("sqtfzityufokpxbthucjitcljvo")
.treatMissingData("iqrbyvljxufjwybtkjc")
.unit("vbjipwqqaobwlyebv")
.build())
.awsRegion("afpgkhpukllavze")
.awsSourceSchema("drehzmurfidpdlcf")
.awsTags(Map.of("key6400", "ivxpvjindvijzvpazekctf"))
.publicCloudConnectorsResourceId("upovlpslvvatbmxiuwhvj")
.publicCloudResourceName("sjxcsoycs")
.build())
.resourceGroupName("rgcloudWatchAlarm")
.tags(Map.of("key7594", "abbryoyexzxxwsdyfpvtliccd"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
cloud_watch_alarm = azure_native.awsconnector.CloudWatchAlarm("cloudWatchAlarm",
location="nbymldrgacokglzmyglynjohhnj",
name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties={
"arn": "uhqszqzfmdpnmiwu",
"aws_account_id": "qcoqhrkbfdowqmkzarqbtwcprj",
"aws_properties": {
"actions_enabled": True,
"alarm_actions": ["ydnvbaggrnyxwzika"],
"alarm_description": "idvyiwmbllvlfvjcibommfbp",
"alarm_name": "ooriavzb",
"arn": "twsifnftkdrfzflvvsuka",
"comparison_operator": "qo",
"datapoints_to_alarm": 30,
"dimensions": [{
"value": "lnphxdrevivdil",
}],
"evaluate_low_sample_count_percentile": "oihpnjstsw",
"evaluation_periods": 15,
"extended_statistic": "czkqsxjyzryvvkzoshk",
"insufficient_data_actions": ["dfkb"],
"metric_name": "bkdkskukix",
"metrics": [{
"account_id": "rbtogpxgrissdcvqupcuhqqesz",
"expression": "hhxrpieqtbvafrujybxxa",
"id": "zcevmcxhujphx",
"label": "jmeaobrgk",
"metric_stat": {
"metric": {
"dimensions": [{
"value": "lnphxdrevivdil",
}],
"metric_name": "mabmwxjydr",
"namespace": "wwoppcactqawdnkpxvjlo",
},
"period": 22,
"stat": "znmppqcobugvvlzccemylhxzsfsg",
"unit": "vu",
},
"period": 27,
"return_data": True,
}],
"namespace": "ptrnxovqoagxfepnjkpewbbusjkkzr",
"ok_actions": ["afskbnaohvdlb"],
"period": 5,
"statistic": "yrrnvsfpyvhnzlmw",
"tags": [{
"key": "mdkzoktp",
"value": "zswuuw",
}],
"threshold": 17,
"threshold_metric_id": "sqtfzityufokpxbthucjitcljvo",
"treat_missing_data": "iqrbyvljxufjwybtkjc",
"unit": "vbjipwqqaobwlyebv",
},
"aws_region": "afpgkhpukllavze",
"aws_source_schema": "drehzmurfidpdlcf",
"aws_tags": {
"key6400": "ivxpvjindvijzvpazekctf",
},
"public_cloud_connectors_resource_id": "upovlpslvvatbmxiuwhvj",
"public_cloud_resource_name": "sjxcsoycs",
},
resource_group_name="rgcloudWatchAlarm",
tags={
"key7594": "abbryoyexzxxwsdyfpvtliccd",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudWatchAlarm = new azure_native.awsconnector.CloudWatchAlarm("cloudWatchAlarm", {
location: "nbymldrgacokglzmyglynjohhnj",
name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties: {
arn: "uhqszqzfmdpnmiwu",
awsAccountId: "qcoqhrkbfdowqmkzarqbtwcprj",
awsProperties: {
actionsEnabled: true,
alarmActions: ["ydnvbaggrnyxwzika"],
alarmDescription: "idvyiwmbllvlfvjcibommfbp",
alarmName: "ooriavzb",
arn: "twsifnftkdrfzflvvsuka",
comparisonOperator: "qo",
datapointsToAlarm: 30,
dimensions: [{
value: "lnphxdrevivdil",
}],
evaluateLowSampleCountPercentile: "oihpnjstsw",
evaluationPeriods: 15,
extendedStatistic: "czkqsxjyzryvvkzoshk",
insufficientDataActions: ["dfkb"],
metricName: "bkdkskukix",
metrics: [{
accountId: "rbtogpxgrissdcvqupcuhqqesz",
expression: "hhxrpieqtbvafrujybxxa",
id: "zcevmcxhujphx",
label: "jmeaobrgk",
metricStat: {
metric: {
dimensions: [{
value: "lnphxdrevivdil",
}],
metricName: "mabmwxjydr",
namespace: "wwoppcactqawdnkpxvjlo",
},
period: 22,
stat: "znmppqcobugvvlzccemylhxzsfsg",
unit: "vu",
},
period: 27,
returnData: true,
}],
namespace: "ptrnxovqoagxfepnjkpewbbusjkkzr",
okActions: ["afskbnaohvdlb"],
period: 5,
statistic: "yrrnvsfpyvhnzlmw",
tags: [{
key: "mdkzoktp",
value: "zswuuw",
}],
threshold: 17,
thresholdMetricId: "sqtfzityufokpxbthucjitcljvo",
treatMissingData: "iqrbyvljxufjwybtkjc",
unit: "vbjipwqqaobwlyebv",
},
awsRegion: "afpgkhpukllavze",
awsSourceSchema: "drehzmurfidpdlcf",
awsTags: {
key6400: "ivxpvjindvijzvpazekctf",
},
publicCloudConnectorsResourceId: "upovlpslvvatbmxiuwhvj",
publicCloudResourceName: "sjxcsoycs",
},
resourceGroupName: "rgcloudWatchAlarm",
tags: {
key7594: "abbryoyexzxxwsdyfpvtliccd",
},
});
resources:
cloudWatchAlarm:
type: azure-native:awsconnector:CloudWatchAlarm
properties:
location: nbymldrgacokglzmyglynjohhnj
name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
properties:
arn: uhqszqzfmdpnmiwu
awsAccountId: qcoqhrkbfdowqmkzarqbtwcprj
awsProperties:
actionsEnabled: true
alarmActions:
- ydnvbaggrnyxwzika
alarmDescription: idvyiwmbllvlfvjcibommfbp
alarmName: ooriavzb
arn: twsifnftkdrfzflvvsuka
comparisonOperator: qo
datapointsToAlarm: 30
dimensions:
- value: lnphxdrevivdil
evaluateLowSampleCountPercentile: oihpnjstsw
evaluationPeriods: 15
extendedStatistic: czkqsxjyzryvvkzoshk
insufficientDataActions:
- dfkb
metricName: bkdkskukix
metrics:
- accountId: rbtogpxgrissdcvqupcuhqqesz
expression: hhxrpieqtbvafrujybxxa
id: zcevmcxhujphx
label: jmeaobrgk
metricStat:
metric:
dimensions:
- value: lnphxdrevivdil
metricName: mabmwxjydr
namespace: wwoppcactqawdnkpxvjlo
period: 22
stat: znmppqcobugvvlzccemylhxzsfsg
unit: vu
period: 27
returnData: true
namespace: ptrnxovqoagxfepnjkpewbbusjkkzr
okActions:
- afskbnaohvdlb
period: 5
statistic: yrrnvsfpyvhnzlmw
tags:
- key: mdkzoktp
value: zswuuw
threshold: 17
thresholdMetricId: sqtfzityufokpxbthucjitcljvo
treatMissingData: iqrbyvljxufjwybtkjc
unit: vbjipwqqaobwlyebv
awsRegion: afpgkhpukllavze
awsSourceSchema: drehzmurfidpdlcf
awsTags:
key6400: ivxpvjindvijzvpazekctf
publicCloudConnectorsResourceId: upovlpslvvatbmxiuwhvj
publicCloudResourceName: sjxcsoycs
resourceGroupName: rgcloudWatchAlarm
tags:
key7594: abbryoyexzxxwsdyfpvtliccd
Create CloudWatchAlarm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudWatchAlarm(name: string, args: CloudWatchAlarmArgs, opts?: CustomResourceOptions);
@overload
def CloudWatchAlarm(resource_name: str,
args: CloudWatchAlarmArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudWatchAlarm(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[CloudWatchAlarmPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewCloudWatchAlarm(ctx *Context, name string, args CloudWatchAlarmArgs, opts ...ResourceOption) (*CloudWatchAlarm, error)
public CloudWatchAlarm(string name, CloudWatchAlarmArgs args, CustomResourceOptions? opts = null)
public CloudWatchAlarm(String name, CloudWatchAlarmArgs args)
public CloudWatchAlarm(String name, CloudWatchAlarmArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:CloudWatchAlarm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudWatchAlarmArgs
- 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 CloudWatchAlarmArgs
- 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 CloudWatchAlarmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudWatchAlarmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudWatchAlarmArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudWatchAlarmResource = new AzureNative.AwsConnector.CloudWatchAlarm("cloudWatchAlarmResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties = new AzureNative.AwsConnector.Inputs.CloudWatchAlarmPropertiesArgs
{
Arn = "string",
AwsAccountId = "string",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsCloudWatchAlarmPropertiesArgs
{
ActionsEnabled = false,
AlarmActions = new[]
{
"string",
},
AlarmDescription = "string",
AlarmName = "string",
Arn = "string",
ComparisonOperator = "string",
DatapointsToAlarm = 0,
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Key = "string",
Name = "string",
Value = "string",
},
},
EvaluateLowSampleCountPercentile = "string",
EvaluationPeriods = 0,
ExtendedStatistic = "string",
InsufficientDataActions = new[]
{
"string",
},
MetricName = "string",
Metrics = new[]
{
new AzureNative.AwsConnector.Inputs.MetricDataQueryArgs
{
AccountId = "string",
Expression = "string",
Id = "string",
Label = "string",
MetricStat = new AzureNative.AwsConnector.Inputs.MetricStatArgs
{
Metric = new AzureNative.AwsConnector.Inputs.MetricArgs
{
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Key = "string",
Name = "string",
Value = "string",
},
},
MetricName = "string",
Namespace = "string",
},
Period = 0,
Stat = "string",
Unit = "string",
},
Period = 0,
ReturnData = false,
},
},
Namespace = "string",
OkActions = new[]
{
"string",
},
Period = 0,
Statistic = "string",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "string",
Value = "string",
},
},
Threshold = 0,
ThresholdMetricId = "string",
TreatMissingData = "string",
Unit = "string",
},
AwsRegion = "string",
AwsSourceSchema = "string",
AwsTags =
{
{ "string", "string" },
},
PublicCloudConnectorsResourceId = "string",
PublicCloudResourceName = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewCloudWatchAlarm(ctx, "cloudWatchAlarmResource", &awsconnector.CloudWatchAlarmArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &awsconnector.CloudWatchAlarmPropertiesArgs{
Arn: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
AwsProperties: &awsconnector.AwsCloudWatchAlarmPropertiesArgs{
ActionsEnabled: pulumi.Bool(false),
AlarmActions: pulumi.StringArray{
pulumi.String("string"),
},
AlarmDescription: pulumi.String("string"),
AlarmName: pulumi.String("string"),
Arn: pulumi.String("string"),
ComparisonOperator: pulumi.String("string"),
DatapointsToAlarm: pulumi.Int(0),
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Key: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
EvaluateLowSampleCountPercentile: pulumi.String("string"),
EvaluationPeriods: pulumi.Int(0),
ExtendedStatistic: pulumi.String("string"),
InsufficientDataActions: pulumi.StringArray{
pulumi.String("string"),
},
MetricName: pulumi.String("string"),
Metrics: awsconnector.MetricDataQueryArray{
&awsconnector.MetricDataQueryArgs{
AccountId: pulumi.String("string"),
Expression: pulumi.String("string"),
Id: pulumi.String("string"),
Label: pulumi.String("string"),
MetricStat: &awsconnector.MetricStatArgs{
Metric: &awsconnector.MetricArgs{
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Key: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MetricName: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
Period: pulumi.Int(0),
Stat: pulumi.String("string"),
Unit: pulumi.String("string"),
},
Period: pulumi.Int(0),
ReturnData: pulumi.Bool(false),
},
},
Namespace: pulumi.String("string"),
OkActions: pulumi.StringArray{
pulumi.String("string"),
},
Period: pulumi.Int(0),
Statistic: pulumi.String("string"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Threshold: pulumi.Float64(0),
ThresholdMetricId: pulumi.String("string"),
TreatMissingData: pulumi.String("string"),
Unit: pulumi.String("string"),
},
AwsRegion: pulumi.String("string"),
AwsSourceSchema: pulumi.String("string"),
AwsTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicCloudConnectorsResourceId: pulumi.String("string"),
PublicCloudResourceName: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var cloudWatchAlarmResource = new CloudWatchAlarm("cloudWatchAlarmResource", CloudWatchAlarmArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(CloudWatchAlarmPropertiesArgs.builder()
.arn("string")
.awsAccountId("string")
.awsProperties(AwsCloudWatchAlarmPropertiesArgs.builder()
.actionsEnabled(false)
.alarmActions("string")
.alarmDescription("string")
.alarmName("string")
.arn("string")
.comparisonOperator("string")
.datapointsToAlarm(0)
.dimensions(DimensionArgs.builder()
.key("string")
.name("string")
.value("string")
.build())
.evaluateLowSampleCountPercentile("string")
.evaluationPeriods(0)
.extendedStatistic("string")
.insufficientDataActions("string")
.metricName("string")
.metrics(MetricDataQueryArgs.builder()
.accountId("string")
.expression("string")
.id("string")
.label("string")
.metricStat(MetricStatArgs.builder()
.metric(MetricArgs.builder()
.dimensions(DimensionArgs.builder()
.key("string")
.name("string")
.value("string")
.build())
.metricName("string")
.namespace("string")
.build())
.period(0)
.stat("string")
.unit("string")
.build())
.period(0)
.returnData(false)
.build())
.namespace("string")
.okActions("string")
.period(0)
.statistic("string")
.tags(TagArgs.builder()
.key("string")
.value("string")
.build())
.threshold(0)
.thresholdMetricId("string")
.treatMissingData("string")
.unit("string")
.build())
.awsRegion("string")
.awsSourceSchema("string")
.awsTags(Map.of("string", "string"))
.publicCloudConnectorsResourceId("string")
.publicCloudResourceName("string")
.build())
.tags(Map.of("string", "string"))
.build());
cloud_watch_alarm_resource = azure_native.awsconnector.CloudWatchAlarm("cloudWatchAlarmResource",
resource_group_name="string",
location="string",
name="string",
properties={
"arn": "string",
"aws_account_id": "string",
"aws_properties": {
"actions_enabled": False,
"alarm_actions": ["string"],
"alarm_description": "string",
"alarm_name": "string",
"arn": "string",
"comparison_operator": "string",
"datapoints_to_alarm": 0,
"dimensions": [{
"key": "string",
"name": "string",
"value": "string",
}],
"evaluate_low_sample_count_percentile": "string",
"evaluation_periods": 0,
"extended_statistic": "string",
"insufficient_data_actions": ["string"],
"metric_name": "string",
"metrics": [{
"account_id": "string",
"expression": "string",
"id": "string",
"label": "string",
"metric_stat": {
"metric": {
"dimensions": [{
"key": "string",
"name": "string",
"value": "string",
}],
"metric_name": "string",
"namespace": "string",
},
"period": 0,
"stat": "string",
"unit": "string",
},
"period": 0,
"return_data": False,
}],
"namespace": "string",
"ok_actions": ["string"],
"period": 0,
"statistic": "string",
"tags": [{
"key": "string",
"value": "string",
}],
"threshold": 0,
"threshold_metric_id": "string",
"treat_missing_data": "string",
"unit": "string",
},
"aws_region": "string",
"aws_source_schema": "string",
"aws_tags": {
"string": "string",
},
"public_cloud_connectors_resource_id": "string",
"public_cloud_resource_name": "string",
},
tags={
"string": "string",
})
const cloudWatchAlarmResource = new azure_native.awsconnector.CloudWatchAlarm("cloudWatchAlarmResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
actionsEnabled: false,
alarmActions: ["string"],
alarmDescription: "string",
alarmName: "string",
arn: "string",
comparisonOperator: "string",
datapointsToAlarm: 0,
dimensions: [{
key: "string",
name: "string",
value: "string",
}],
evaluateLowSampleCountPercentile: "string",
evaluationPeriods: 0,
extendedStatistic: "string",
insufficientDataActions: ["string"],
metricName: "string",
metrics: [{
accountId: "string",
expression: "string",
id: "string",
label: "string",
metricStat: {
metric: {
dimensions: [{
key: "string",
name: "string",
value: "string",
}],
metricName: "string",
namespace: "string",
},
period: 0,
stat: "string",
unit: "string",
},
period: 0,
returnData: false,
}],
namespace: "string",
okActions: ["string"],
period: 0,
statistic: "string",
tags: [{
key: "string",
value: "string",
}],
threshold: 0,
thresholdMetricId: "string",
treatMissingData: "string",
unit: "string",
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:CloudWatchAlarm
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
actionsEnabled: false
alarmActions:
- string
alarmDescription: string
alarmName: string
arn: string
comparisonOperator: string
datapointsToAlarm: 0
dimensions:
- key: string
name: string
value: string
evaluateLowSampleCountPercentile: string
evaluationPeriods: 0
extendedStatistic: string
insufficientDataActions:
- string
metricName: string
metrics:
- accountId: string
expression: string
id: string
label: string
metricStat:
metric:
dimensions:
- key: string
name: string
value: string
metricName: string
namespace: string
period: 0
stat: string
unit: string
period: 0
returnData: false
namespace: string
okActions:
- string
period: 0
statistic: string
tags:
- key: string
value: string
threshold: 0
thresholdMetricId: string
treatMissingData: string
unit: string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
CloudWatchAlarm 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 CloudWatchAlarm resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of CloudWatchAlarm
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Cloud Watch Alarm Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of CloudWatchAlarm
- Properties
Cloud
Watch Alarm Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of CloudWatchAlarm
- properties
Cloud
Watch Alarm Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of CloudWatchAlarm
- properties
Cloud
Watch Alarm Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of CloudWatchAlarm
- properties
Cloud
Watch Alarm Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of CloudWatchAlarm
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudWatchAlarm resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AwsCloudWatchAlarmProperties, AwsCloudWatchAlarmPropertiesArgs
- Actions
Enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- Alarm
Actions List<string> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- Alarm
Description string - The description of the alarm.
- Alarm
Name string - 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.
- Arn string
- Property arn
- Comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- Datapoints
To intAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension> - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - Evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - Evaluation
Periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - Extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - Insufficient
Data List<string>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - Metrics
List<Pulumi.
Azure Native. Aws Connector. Inputs. Metric Data Query> - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - Ok
Actions List<string> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag> - Property tags
- Threshold double
- The value to compare with the specified statistic.
- Threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - Treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- Actions
Enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- Alarm
Actions []string - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- Alarm
Description string - The description of the alarm.
- Alarm
Name string - 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.
- Arn string
- Property arn
- Comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- Datapoints
To intAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - Dimensions []Dimension
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - Evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - Evaluation
Periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - Extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - Insufficient
Data []stringActions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - Metrics
[]Metric
Data Query - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - Ok
Actions []string - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - []Tag
- Property tags
- Threshold float64
- The value to compare with the specified statistic.
- Threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - Treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled Boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions List<String> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description String - The description of the alarm.
- alarm
Name String - 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.
- arn String
- Property arn
- comparison
Operator String - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To IntegerAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions List<Dimension>
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low StringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods Integer - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic String - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data List<String>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name String - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
List<Metric
Data Query> - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions List<String> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period Integer
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Tag>
- Property tags
- threshold Double
- The value to compare with the specified statistic.
- threshold
Metric StringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing StringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions string[] - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description string - The description of the alarm.
- alarm
Name string - 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.
- arn string
- Property arn
- comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To numberAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions Dimension[]
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods number - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data string[]Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
Metric
Data Query[] - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions string[] - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - Tag[]
- Property tags
- threshold number
- The value to compare with the specified statistic.
- threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions_
enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm_
actions Sequence[str] - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm_
description str - The description of the alarm.
- alarm_
name str - 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.
- arn str
- Property arn
- comparison_
operator str - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints_
to_ intalarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions Sequence[Dimension]
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate_
low_ strsample_ count_ percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation_
periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended_
statistic str - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient_
data_ Sequence[str]actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric_
name str - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
Sequence[Metric
Data Query] - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace str
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok_
actions Sequence[str] - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic str
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - Sequence[Tag]
- Property tags
- threshold float
- The value to compare with the specified statistic.
- threshold_
metric_ strid - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat_
missing_ strdata - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit str
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled Boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions List<String> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description String - The description of the alarm.
- alarm
Name String - 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.
- arn String
- Property arn
- comparison
Operator String - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To NumberAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions List<Property Map>
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low StringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods Number - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic String - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data List<String>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name String - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics List<Property Map>
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions List<String> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period Number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Property Map>
- Property tags
- threshold Number
- The value to compare with the specified statistic.
- threshold
Metric StringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing StringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
AwsCloudWatchAlarmPropertiesResponse, AwsCloudWatchAlarmPropertiesResponseArgs
- Actions
Enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- Alarm
Actions List<string> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- Alarm
Description string - The description of the alarm.
- Alarm
Name string - 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.
- Arn string
- Property arn
- Comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- Datapoints
To intAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension Response> - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - Evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - Evaluation
Periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - Extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - Insufficient
Data List<string>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - Metrics
List<Pulumi.
Azure Native. Aws Connector. Inputs. Metric Data Query Response> - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - Ok
Actions List<string> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Pulumi.
Azure Native. Aws Connector. Inputs. Tag Response> - Property tags
- Threshold double
- The value to compare with the specified statistic.
- Threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - Treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- Actions
Enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- Alarm
Actions []string - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- Alarm
Description string - The description of the alarm.
- Alarm
Name string - 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.
- Arn string
- Property arn
- Comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- Datapoints
To intAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - Dimensions
[]Dimension
Response - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - Evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - Evaluation
Periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - Extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - Insufficient
Data []stringActions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - Metrics
[]Metric
Data Query Response - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - Ok
Actions []string - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - []Tag
Response - Property tags
- Threshold float64
- The value to compare with the specified statistic.
- Threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - Treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled Boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions List<String> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description String - The description of the alarm.
- alarm
Name String - 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.
- arn String
- Property arn
- comparison
Operator String - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To IntegerAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions
List<Dimension
Response> - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low StringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods Integer - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic String - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data List<String>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name String - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
List<Metric
Data Query Response> - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions List<String> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period Integer
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Tag
Response> - Property tags
- threshold Double
- The value to compare with the specified statistic.
- threshold
Metric StringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing StringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions string[] - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description string - The description of the alarm.
- alarm
Name string - 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.
- arn string
- Property arn
- comparison
Operator string - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To numberAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions
Dimension
Response[] - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low stringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods number - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic string - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data string[]Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name string - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
Metric
Data Query Response[] - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions string[] - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - Tag
Response[] - Property tags
- threshold number
- The value to compare with the specified statistic.
- threshold
Metric stringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing stringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions_
enabled bool - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm_
actions Sequence[str] - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm_
description str - The description of the alarm.
- alarm_
name str - 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.
- arn str
- Property arn
- comparison_
operator str - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints_
to_ intalarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions
Sequence[Dimension
Response] - The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate_
low_ strsample_ count_ percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation_
periods int - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended_
statistic str - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient_
data_ Sequence[str]actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric_
name str - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics
Sequence[Metric
Data Query Response] - An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace str
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok_
actions Sequence[str] - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic str
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - Sequence[Tag
Response] - Property tags
- threshold float
- The value to compare with the specified statistic.
- threshold_
metric_ strid - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat_
missing_ strdata - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit str
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions
Enabled Boolean - Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm
Actions List<String> - The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm
Description String - The description of the alarm.
- alarm
Name String - 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.
- arn String
- Property arn
- comparison
Operator String - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints
To NumberAlarm - The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for
EvaluationPeriods
is the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods
, and the alarm goes to alarm state if that many consecutive periods are breaching. - dimensions List<Property Map>
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify
Dimensions
. Instead, you useMetrics
. - evaluate
Low StringSample Count Percentile - Used only for alarms based on percentiles. If
ignore
, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. - evaluation
Periods Number - The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and
DatapointsToAlarm
is the M. For more information, see Evaluating an Alarm in the User Guide. - extended
Statistic String - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either
Statistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyExtendedStatistic
. Instead, you useMetrics
. - insufficient
Data List<String>Actions - The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - metric
Name String - The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use
Metrics
instead and you can't specifyMetricName
. - metrics List<Property Map>
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the
Metrics
parameter, you cannot specifyMetricName
,Dimensions
,Period
,Namespace
,Statistic
,ExtendedStatistic
, orUnit
. - namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify
Namespace
and you useMetrics
instead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics. - ok
Actions List<String> - The actions to execute when this alarm transitions to the
OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN). - period Number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify
Period
, and instead you use theMetrics
parameter. Minimum: 10 - statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use
ExtendedStatistic
. For an alarm based on a metric, you must specify eitherStatistic
orExtendedStatistic
but not both. For an alarm based on a math expression, you can't specifyStatistic
. Instead, you useMetrics
. - List<Property Map>
- Property tags
- threshold Number
- The value to compare with the specified statistic.
- threshold
Metric StringId - In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. - treat
Missing StringData - Sets how this alarm is to handle missing data points. Valid values are
breaching
,notBreaching
,ignore
, andmissing
. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissing
is used. - unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a
Metrics
array. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
CloudWatchAlarmProperties, CloudWatchAlarmPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Cloud Watch Alarm Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsCloud Watch Alarm Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsCloud Watch Alarm Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsCloud Watch Alarm Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsCloud Watch Alarm Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
CloudWatchAlarmPropertiesResponse, CloudWatchAlarmPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Cloud Watch Alarm Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsCloud Watch Alarm Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsCloud Watch Alarm Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsCloud Watch Alarm Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsCloud Watch Alarm Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
Dimension, DimensionArgs
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
- key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value string
- Property value
- key str
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name str
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value str
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
DimensionResponse, DimensionResponseArgs
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
- key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value string
- Property value
- key str
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name str
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value str
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
Metric, MetricArgs
- Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension> - The metric dimensions that you want to be used for the metric that the alarm will watch.
- Metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- Dimensions []Dimension
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- Metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- dimensions List<Dimension>
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name String - The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
- dimensions Dimension[]
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- namespace string
- The namespace of the metric that the alarm will watch.
- dimensions Sequence[Dimension]
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric_
name str - The name of the metric that you want the alarm to watch. This is a required field.
- namespace str
- The namespace of the metric that the alarm will watch.
- dimensions List<Property Map>
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name String - The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
MetricDataQuery, MetricDataQueryArgs
- Account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - Metric
Stat Pulumi.Azure Native. Aws Connector. Inputs. Metric Stat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - Return
Data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- Account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - Metric
Stat MetricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - Return
Data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id String - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat MetricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data Boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat MetricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account_
id str - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression str
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id str
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label str
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric_
stat MetricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return_
data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id String - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat Property Map - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data Boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
MetricDataQueryResponse, MetricDataQueryResponseArgs
- Account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - Metric
Stat Pulumi.Azure Native. Aws Connector. Inputs. Metric Stat Response - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - Return
Data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- Account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - Metric
Stat MetricStat Response - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - Return
Data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id String - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat MetricStat Response - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data Boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id string - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat MetricStat Response - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account_
id str - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression str
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id str
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label str
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric_
stat MetricStat Response - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return_
data bool - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
- account
Id String - The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the
Id
of the other metrics to refer to those metrics, and can also use theId
of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpression
orMetricStat
but not both. - id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to
GetMetricData
. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. - label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If
Label
is omitted, CW generates a default. - metric
Stat Property Map - The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either
Expression
orMetricStat
but not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStat
is a property of the MetricDataQuery property type. - period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
operation that includes aStorageResolution of 1 second
. - return
Data Boolean - This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify
True
for this value for only the one math expression that the alarm is based on. You must specifyFalse
forReturnData
for all the other metrics and expressions used in the alarm. This field is required.
MetricResponse, MetricResponseArgs
- Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension Response> - The metric dimensions that you want to be used for the metric that the alarm will watch.
- Metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- Dimensions
[]Dimension
Response - The metric dimensions that you want to be used for the metric that the alarm will watch.
- Metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- dimensions
List<Dimension
Response> - The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name String - The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
- dimensions
Dimension
Response[] - The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name string - The name of the metric that you want the alarm to watch. This is a required field.
- namespace string
- The namespace of the metric that the alarm will watch.
- dimensions
Sequence[Dimension
Response] - The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric_
name str - The name of the metric that you want the alarm to watch. This is a required field.
- namespace str
- The namespace of the metric that the alarm will watch.
- dimensions List<Property Map>
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric
Name String - The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
MetricStat, MetricStatArgs
- Metric
Pulumi.
Azure Native. Aws Connector. Inputs. Metric - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- Metric Metric
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Metric
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Metric
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Metric
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat str
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit str
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Property Map
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
MetricStatResponse, MetricStatResponseArgs
- Metric
Pulumi.
Azure Native. Aws Connector. Inputs. Metric Response - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- Metric
Metric
Response - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
Metric
Response - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
Metric
Response - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
Metric
Response - The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat str
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit str
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Property Map
- The metric to return, including the metric name, namespace, and dimensions. The
Metric
property type represents a specific metric.Metric
is a property of the MetricStat property type. - period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a
PutMetricData
call that includes aStorageResolution
of 1 second. If theStartTime
parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). - stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Tag, TagArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
TagResponse, TagResponseArgs
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:CloudWatchAlarm ilbblftqsxtuikyupkiwbiaybdej /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/cloudWatchAlarms/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0