We recommend new projects start with resources from the AWS provider.
aws-native.ce.AnomalyMonitor
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. You can use Cost Anomaly Detection by creating monitor.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithTags = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithTags", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithTags", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_tags = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithTags",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithTags = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithTags", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithTags = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithTags", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithTags", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_tags = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithTags",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithTags = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithTags", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Tags\" : { \"Key\" : \"Tag Key\", \"Values\" : [ \"TagValue1\", \"TagValue2\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithCC = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithCC", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithCC", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_cc = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithCC",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithCC = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithCC", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithCC = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithCC", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithCC", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_cc = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithCC",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithCC = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithCC", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"CostCategories\" : { \"Key\" : \"CostCategoryKey\", \"Values\" : [ \"CostCategoryValue\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
var anomalySubscription = new AwsNative.Ce.AnomalySubscription("anomalySubscription", new()
{
SubscriptionName = "SubscriptionName",
Threshold = 100,
Frequency = AwsNative.Ce.AnomalySubscriptionFrequency.Daily,
MonitorArnList = new[]
{
customAnomalyMonitorWithLinkedAccount.Id,
anomalyServiceMonitor.Id,
},
Subscribers = new[]
{
new AwsNative.Ce.Inputs.AnomalySubscriptionSubscriberArgs
{
Type = AwsNative.Ce.AnomalySubscriptionSubscriberType.Email,
Address = "abc@def.com",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
customAnomalyMonitorWithLinkedAccount, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
anomalyServiceMonitor, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
_, err = ce.NewAnomalySubscription(ctx, "anomalySubscription", &ce.AnomalySubscriptionArgs{
SubscriptionName: pulumi.String("SubscriptionName"),
Threshold: pulumi.Float64(100),
Frequency: ce.AnomalySubscriptionFrequencyDaily,
MonitorArnList: pulumi.StringArray{
customAnomalyMonitorWithLinkedAccount.ID(),
anomalyServiceMonitor.ID(),
},
Subscribers: ce.AnomalySubscriptionSubscriberArray{
&ce.AnomalySubscriptionSubscriberArgs{
Type: ce.AnomalySubscriptionSubscriberTypeEmail,
Address: pulumi.String("abc@def.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
anomaly_subscription = aws_native.ce.AnomalySubscription("anomalySubscription",
subscription_name="SubscriptionName",
threshold=100,
frequency=aws_native.ce.AnomalySubscriptionFrequency.DAILY,
monitor_arn_list=[
custom_anomaly_monitor_with_linked_account.id,
anomaly_service_monitor.id,
],
subscribers=[{
"type": aws_native.ce.AnomalySubscriptionSubscriberType.EMAIL,
"address": "abc@def.com",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
const anomalySubscription = new aws_native.ce.AnomalySubscription("anomalySubscription", {
subscriptionName: "SubscriptionName",
threshold: 100,
frequency: aws_native.ce.AnomalySubscriptionFrequency.Daily,
monitorArnList: [
customAnomalyMonitorWithLinkedAccount.id,
anomalyServiceMonitor.id,
],
subscribers: [{
type: aws_native.ce.AnomalySubscriptionSubscriberType.Email,
address: "abc@def.com",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
var anomalySubscription = new AwsNative.Ce.AnomalySubscription("anomalySubscription", new()
{
SubscriptionName = "SubscriptionName",
Threshold = 100,
Frequency = AwsNative.Ce.AnomalySubscriptionFrequency.Daily,
MonitorArnList = new[]
{
customAnomalyMonitorWithLinkedAccount.Id,
anomalyServiceMonitor.Id,
},
Subscribers = new[]
{
new AwsNative.Ce.Inputs.AnomalySubscriptionSubscriberArgs
{
Type = AwsNative.Ce.AnomalySubscriptionSubscriberType.Email,
Address = "abc@def.com",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
customAnomalyMonitorWithLinkedAccount, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
anomalyServiceMonitor, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
_, err = ce.NewAnomalySubscription(ctx, "anomalySubscription", &ce.AnomalySubscriptionArgs{
SubscriptionName: pulumi.String("SubscriptionName"),
Threshold: pulumi.Float64(100),
Frequency: ce.AnomalySubscriptionFrequencyDaily,
MonitorArnList: pulumi.StringArray{
customAnomalyMonitorWithLinkedAccount.ID(),
anomalyServiceMonitor.ID(),
},
Subscribers: ce.AnomalySubscriptionSubscriberArray{
&ce.AnomalySubscriptionSubscriberArgs{
Type: ce.AnomalySubscriptionSubscriberTypeEmail,
Address: pulumi.String("abc@def.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
anomaly_subscription = aws_native.ce.AnomalySubscription("anomalySubscription",
subscription_name="SubscriptionName",
threshold=100,
frequency=aws_native.ce.AnomalySubscriptionFrequency.DAILY,
monitor_arn_list=[
custom_anomaly_monitor_with_linked_account.id,
anomaly_service_monitor.id,
],
subscribers=[{
"type": aws_native.ce.AnomalySubscriptionSubscriberType.EMAIL,
"address": "abc@def.com",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
const anomalySubscription = new aws_native.ce.AnomalySubscription("anomalySubscription", {
subscriptionName: "SubscriptionName",
threshold: 100,
frequency: aws_native.ce.AnomalySubscriptionFrequency.Daily,
monitorArnList: [
customAnomalyMonitorWithLinkedAccount.id,
anomalyServiceMonitor.id,
],
subscribers: [{
type: aws_native.ce.AnomalySubscriptionSubscriberType.Email,
address: "abc@def.com",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
var anomalySubscription = new AwsNative.Ce.AnomalySubscription("anomalySubscription", new()
{
SubscriptionName = "SubscriptionName",
Threshold = 100,
Frequency = AwsNative.Ce.AnomalySubscriptionFrequency.Daily,
MonitorArnList = new[]
{
customAnomalyMonitorWithLinkedAccount.Id,
anomalyServiceMonitor.Id,
},
Subscribers = new[]
{
new AwsNative.Ce.Inputs.AnomalySubscriptionSubscriberArgs
{
Type = AwsNative.Ce.AnomalySubscriptionSubscriberType.Email,
Address = "abc@def.com",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
customAnomalyMonitorWithLinkedAccount, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
anomalyServiceMonitor, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
_, err = ce.NewAnomalySubscription(ctx, "anomalySubscription", &ce.AnomalySubscriptionArgs{
SubscriptionName: pulumi.String("SubscriptionName"),
Threshold: pulumi.Float64(100),
Frequency: ce.AnomalySubscriptionFrequencyDaily,
MonitorArnList: pulumi.StringArray{
customAnomalyMonitorWithLinkedAccount.ID(),
anomalyServiceMonitor.ID(),
},
Subscribers: ce.AnomalySubscriptionSubscriberArray{
&ce.AnomalySubscriptionSubscriberArgs{
Type: ce.AnomalySubscriptionSubscriberTypeEmail,
Address: pulumi.String("abc@def.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
anomaly_subscription = aws_native.ce.AnomalySubscription("anomalySubscription",
subscription_name="SubscriptionName",
threshold=100,
frequency=aws_native.ce.AnomalySubscriptionFrequency.DAILY,
monitor_arn_list=[
custom_anomaly_monitor_with_linked_account.id,
anomaly_service_monitor.id,
],
subscribers=[{
"type": aws_native.ce.AnomalySubscriptionSubscriberType.EMAIL,
"address": "abc@def.com",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
const anomalySubscription = new aws_native.ce.AnomalySubscription("anomalySubscription", {
subscriptionName: "SubscriptionName",
threshold: 100,
frequency: aws_native.ce.AnomalySubscriptionFrequency.Daily,
monitorArnList: [
customAnomalyMonitorWithLinkedAccount.id,
anomalyServiceMonitor.id,
],
subscribers: [{
type: aws_native.ce.AnomalySubscriptionSubscriberType.Email,
address: "abc@def.com",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var customAnomalyMonitorWithLinkedAccount = new AwsNative.Ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Custom,
MonitorSpecification = " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
var anomalyServiceMonitor = new AwsNative.Ce.AnomalyMonitor("anomalyServiceMonitor", new()
{
MonitorName = "MonitorName",
MonitorType = AwsNative.Ce.AnomalyMonitorMonitorType.Dimensional,
MonitorDimension = AwsNative.Ce.AnomalyMonitorMonitorDimension.Service,
});
var anomalySubscription = new AwsNative.Ce.AnomalySubscription("anomalySubscription", new()
{
SubscriptionName = "SubscriptionName",
Threshold = 100,
Frequency = AwsNative.Ce.AnomalySubscriptionFrequency.Daily,
MonitorArnList = new[]
{
customAnomalyMonitorWithLinkedAccount.Id,
anomalyServiceMonitor.Id,
},
Subscribers = new[]
{
new AwsNative.Ce.Inputs.AnomalySubscriptionSubscriberArgs
{
Type = AwsNative.Ce.AnomalySubscriptionSubscriberType.Email,
Address = "abc@def.com",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ce"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
customAnomalyMonitorWithLinkedAccount, err := ce.NewAnomalyMonitor(ctx, "customAnomalyMonitorWithLinkedAccount", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeCustom,
MonitorSpecification: pulumi.String(" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }"),
})
if err != nil {
return err
}
anomalyServiceMonitor, err := ce.NewAnomalyMonitor(ctx, "anomalyServiceMonitor", &ce.AnomalyMonitorArgs{
MonitorName: pulumi.String("MonitorName"),
MonitorType: ce.AnomalyMonitorMonitorTypeDimensional,
MonitorDimension: ce.AnomalyMonitorMonitorDimensionService,
})
if err != nil {
return err
}
_, err = ce.NewAnomalySubscription(ctx, "anomalySubscription", &ce.AnomalySubscriptionArgs{
SubscriptionName: pulumi.String("SubscriptionName"),
Threshold: pulumi.Float64(100),
Frequency: ce.AnomalySubscriptionFrequencyDaily,
MonitorArnList: pulumi.StringArray{
customAnomalyMonitorWithLinkedAccount.ID(),
anomalyServiceMonitor.ID(),
},
Subscribers: ce.AnomalySubscriptionSubscriberArray{
&ce.AnomalySubscriptionSubscriberArgs{
Type: ce.AnomalySubscriptionSubscriberTypeEmail,
Address: pulumi.String("abc@def.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
custom_anomaly_monitor_with_linked_account = aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.CUSTOM,
monitor_specification=" { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }")
anomaly_service_monitor = aws_native.ce.AnomalyMonitor("anomalyServiceMonitor",
monitor_name="MonitorName",
monitor_type=aws_native.ce.AnomalyMonitorMonitorType.DIMENSIONAL,
monitor_dimension=aws_native.ce.AnomalyMonitorMonitorDimension.SERVICE)
anomaly_subscription = aws_native.ce.AnomalySubscription("anomalySubscription",
subscription_name="SubscriptionName",
threshold=100,
frequency=aws_native.ce.AnomalySubscriptionFrequency.DAILY,
monitor_arn_list=[
custom_anomaly_monitor_with_linked_account.id,
anomaly_service_monitor.id,
],
subscribers=[{
"type": aws_native.ce.AnomalySubscriptionSubscriberType.EMAIL,
"address": "abc@def.com",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const customAnomalyMonitorWithLinkedAccount = new aws_native.ce.AnomalyMonitor("customAnomalyMonitorWithLinkedAccount", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Custom,
monitorSpecification: " { \"Dimensions\" : { \"Key\" : \"LINKED_ACCOUNT\", \"Values\" : [ \"123456789012\", \"123456789013\" ] } }",
});
const anomalyServiceMonitor = new aws_native.ce.AnomalyMonitor("anomalyServiceMonitor", {
monitorName: "MonitorName",
monitorType: aws_native.ce.AnomalyMonitorMonitorType.Dimensional,
monitorDimension: aws_native.ce.AnomalyMonitorMonitorDimension.Service,
});
const anomalySubscription = new aws_native.ce.AnomalySubscription("anomalySubscription", {
subscriptionName: "SubscriptionName",
threshold: 100,
frequency: aws_native.ce.AnomalySubscriptionFrequency.Daily,
monitorArnList: [
customAnomalyMonitorWithLinkedAccount.id,
anomalyServiceMonitor.id,
],
subscribers: [{
type: aws_native.ce.AnomalySubscriptionSubscriberType.Email,
address: "abc@def.com",
}],
});
Coming soon!
Create AnomalyMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AnomalyMonitor(name: string, args: AnomalyMonitorArgs, opts?: CustomResourceOptions);
@overload
def AnomalyMonitor(resource_name: str,
args: AnomalyMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AnomalyMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_type: Optional[AnomalyMonitorMonitorType] = None,
monitor_dimension: Optional[AnomalyMonitorMonitorDimension] = None,
monitor_name: Optional[str] = None,
monitor_specification: Optional[str] = None,
resource_tags: Optional[Sequence[AnomalyMonitorResourceTagArgs]] = None)
func NewAnomalyMonitor(ctx *Context, name string, args AnomalyMonitorArgs, opts ...ResourceOption) (*AnomalyMonitor, error)
public AnomalyMonitor(string name, AnomalyMonitorArgs args, CustomResourceOptions? opts = null)
public AnomalyMonitor(String name, AnomalyMonitorArgs args)
public AnomalyMonitor(String name, AnomalyMonitorArgs args, CustomResourceOptions options)
type: aws-native:ce:AnomalyMonitor
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 AnomalyMonitorArgs
- 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 AnomalyMonitorArgs
- 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 AnomalyMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnomalyMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AnomalyMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AnomalyMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AnomalyMonitor resource accepts the following input properties:
- Monitor
Type Pulumi.Aws Native. Ce. Anomaly Monitor Monitor Type - The possible type values.
- Monitor
Dimension Pulumi.Aws Native. Ce. Anomaly Monitor Monitor Dimension - The dimensions to evaluate
- Monitor
Name string - The name of the monitor.
- Monitor
Specification string - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - List<Pulumi.
Aws Native. Ce. Inputs. Anomaly Monitor Resource Tag> - Tags to assign to monitor.
- Monitor
Type AnomalyMonitor Monitor Type - The possible type values.
- Monitor
Dimension AnomalyMonitor Monitor Dimension - The dimensions to evaluate
- Monitor
Name string - The name of the monitor.
- Monitor
Specification string - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - []Anomaly
Monitor Resource Tag Args - Tags to assign to monitor.
- monitor
Type AnomalyMonitor Monitor Type - The possible type values.
- monitor
Dimension AnomalyMonitor Monitor Dimension - The dimensions to evaluate
- monitor
Name String - The name of the monitor.
- monitor
Specification String - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - List<Anomaly
Monitor Resour Tag> - Tags to assign to monitor.
- monitor
Type AnomalyMonitor Monitor Type - The possible type values.
- monitor
Dimension AnomalyMonitor Monitor Dimension - The dimensions to evaluate
- monitor
Name string - The name of the monitor.
- monitor
Specification string - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - Anomaly
Monitor Resource Tag[] - Tags to assign to monitor.
- monitor_
type AnomalyMonitor Monitor Type - The possible type values.
- monitor_
dimension AnomalyMonitor Monitor Dimension - The dimensions to evaluate
- monitor_
name str - The name of the monitor.
- monitor_
specification str - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - Sequence[Anomaly
Monitor Resource Tag Args] - Tags to assign to monitor.
- monitor
Type "DIMENSIONAL" | "CUSTOM" - The possible type values.
- monitor
Dimension "SERVICE" - The dimensions to evaluate
- monitor
Name String - The name of the monitor.
- monitor
Specification String - The array of
MonitorSpecification
in JSON array format. For instance, you can useMonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page. - List<Property Map>
- Tags to assign to monitor.
Outputs
All input properties are implicitly available as output properties. Additionally, the AnomalyMonitor resource produces the following output properties:
- Creation
Date string - The date when the monitor was created.
- Dimensional
Value intCount - The value for evaluated dimensions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Evaluated stringDate - The date when the monitor last evaluated for anomalies.
- Last
Updated stringDate - The date when the monitor was last updated.
- Monitor
Arn string - The Amazon Resource Name (ARN) value for the monitor.
- Creation
Date string - The date when the monitor was created.
- Dimensional
Value intCount - The value for evaluated dimensions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Evaluated stringDate - The date when the monitor last evaluated for anomalies.
- Last
Updated stringDate - The date when the monitor was last updated.
- Monitor
Arn string - The Amazon Resource Name (ARN) value for the monitor.
- creation
Date String - The date when the monitor was created.
- dimensional
Value IntegerCount - The value for evaluated dimensions.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Evaluated StringDate - The date when the monitor last evaluated for anomalies.
- last
Updated StringDate - The date when the monitor was last updated.
- monitor
Arn String - The Amazon Resource Name (ARN) value for the monitor.
- creation
Date string - The date when the monitor was created.
- dimensional
Value numberCount - The value for evaluated dimensions.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Evaluated stringDate - The date when the monitor last evaluated for anomalies.
- last
Updated stringDate - The date when the monitor was last updated.
- monitor
Arn string - The Amazon Resource Name (ARN) value for the monitor.
- creation_
date str - The date when the monitor was created.
- dimensional_
value_ intcount - The value for evaluated dimensions.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
evaluated_ strdate - The date when the monitor last evaluated for anomalies.
- last_
updated_ strdate - The date when the monitor was last updated.
- monitor_
arn str - The Amazon Resource Name (ARN) value for the monitor.
- creation
Date String - The date when the monitor was created.
- dimensional
Value NumberCount - The value for evaluated dimensions.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Evaluated StringDate - The date when the monitor last evaluated for anomalies.
- last
Updated StringDate - The date when the monitor was last updated.
- monitor
Arn String - The Amazon Resource Name (ARN) value for the monitor.
Supporting Types
AnomalyMonitorMonitorDimension, AnomalyMonitorMonitorDimensionArgs
- Service
- SERVICE
- Anomaly
Monitor Monitor Dimension Service - SERVICE
- Service
- SERVICE
- Service
- SERVICE
- SERVICE
- SERVICE
- "SERVICE"
- SERVICE
AnomalyMonitorMonitorType, AnomalyMonitorMonitorTypeArgs
- Dimensional
- DIMENSIONAL
- Custom
- CUSTOM
- Anomaly
Monitor Monitor Type Dimensional - DIMENSIONAL
- Anomaly
Monitor Monitor Type Custom - CUSTOM
- Dimensional
- DIMENSIONAL
- Custom
- CUSTOM
- Dimensional
- DIMENSIONAL
- Custom
- CUSTOM
- DIMENSIONAL
- DIMENSIONAL
- CUSTOM
- CUSTOM
- "DIMENSIONAL"
- DIMENSIONAL
- "CUSTOM"
- CUSTOM
AnomalyMonitorResourceTag, AnomalyMonitorResourceTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.