1. Packages
  2. AWS Native
  3. API Docs
  4. ce
  5. AnomalyMonitor

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ce.AnomalyMonitor

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    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:

    MonitorType Pulumi.AwsNative.Ce.AnomalyMonitorMonitorType
    The possible type values.
    MonitorDimension Pulumi.AwsNative.Ce.AnomalyMonitorMonitorDimension
    The dimensions to evaluate
    MonitorName string
    The name of the monitor.
    MonitorSpecification string
    The array of MonitorSpecification in JSON array format. For instance, you can use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    ResourceTags List<Pulumi.AwsNative.Ce.Inputs.AnomalyMonitorResourceTag>
    Tags to assign to monitor.
    MonitorType AnomalyMonitorMonitorType
    The possible type values.
    MonitorDimension AnomalyMonitorMonitorDimension
    The dimensions to evaluate
    MonitorName string
    The name of the monitor.
    MonitorSpecification string
    The array of MonitorSpecification in JSON array format. For instance, you can use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    ResourceTags []AnomalyMonitorResourceTagArgs
    Tags to assign to monitor.
    monitorType AnomalyMonitorMonitorType
    The possible type values.
    monitorDimension AnomalyMonitorMonitorDimension
    The dimensions to evaluate
    monitorName String
    The name of the monitor.
    monitorSpecification String
    The array of MonitorSpecification in JSON array format. For instance, you can use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    resourceTags List<AnomalyMonitorResourTag>
    Tags to assign to monitor.
    monitorType AnomalyMonitorMonitorType
    The possible type values.
    monitorDimension AnomalyMonitorMonitorDimension
    The dimensions to evaluate
    monitorName string
    The name of the monitor.
    monitorSpecification string
    The array of MonitorSpecification in JSON array format. For instance, you can use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    resourceTags AnomalyMonitorResourceTag[]
    Tags to assign to monitor.
    monitor_type AnomalyMonitorMonitorType
    The possible type values.
    monitor_dimension AnomalyMonitorMonitorDimension
    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 use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    resource_tags Sequence[AnomalyMonitorResourceTagArgs]
    Tags to assign to monitor.
    monitorType "DIMENSIONAL" | "CUSTOM"
    The possible type values.
    monitorDimension "SERVICE"
    The dimensions to evaluate
    monitorName String
    The name of the monitor.
    monitorSpecification String
    The array of MonitorSpecification in JSON array format. For instance, you can use MonitorSpecification to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
    resourceTags 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:

    CreationDate string
    The date when the monitor was created.
    DimensionalValueCount int
    The value for evaluated dimensions.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEvaluatedDate string
    The date when the monitor last evaluated for anomalies.
    LastUpdatedDate string
    The date when the monitor was last updated.
    MonitorArn string
    The Amazon Resource Name (ARN) value for the monitor.
    CreationDate string
    The date when the monitor was created.
    DimensionalValueCount int
    The value for evaluated dimensions.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEvaluatedDate string
    The date when the monitor last evaluated for anomalies.
    LastUpdatedDate string
    The date when the monitor was last updated.
    MonitorArn string
    The Amazon Resource Name (ARN) value for the monitor.
    creationDate String
    The date when the monitor was created.
    dimensionalValueCount Integer
    The value for evaluated dimensions.
    id String
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedDate String
    The date when the monitor last evaluated for anomalies.
    lastUpdatedDate String
    The date when the monitor was last updated.
    monitorArn String
    The Amazon Resource Name (ARN) value for the monitor.
    creationDate string
    The date when the monitor was created.
    dimensionalValueCount number
    The value for evaluated dimensions.
    id string
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedDate string
    The date when the monitor last evaluated for anomalies.
    lastUpdatedDate string
    The date when the monitor was last updated.
    monitorArn string
    The Amazon Resource Name (ARN) value for the monitor.
    creation_date str
    The date when the monitor was created.
    dimensional_value_count int
    The value for evaluated dimensions.
    id str
    The provider-assigned unique ID for this managed resource.
    last_evaluated_date str
    The date when the monitor last evaluated for anomalies.
    last_updated_date str
    The date when the monitor was last updated.
    monitor_arn str
    The Amazon Resource Name (ARN) value for the monitor.
    creationDate String
    The date when the monitor was created.
    dimensionalValueCount Number
    The value for evaluated dimensions.
    id String
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedDate String
    The date when the monitor last evaluated for anomalies.
    lastUpdatedDate String
    The date when the monitor was last updated.
    monitorArn String
    The Amazon Resource Name (ARN) value for the monitor.

    Supporting Types

    AnomalyMonitorMonitorDimension, AnomalyMonitorMonitorDimensionArgs

    Service
    SERVICE
    AnomalyMonitorMonitorDimensionService
    SERVICE
    Service
    SERVICE
    Service
    SERVICE
    SERVICE
    SERVICE
    "SERVICE"
    SERVICE

    AnomalyMonitorMonitorType, AnomalyMonitorMonitorTypeArgs

    Dimensional
    DIMENSIONAL
    Custom
    CUSTOM
    AnomalyMonitorMonitorTypeDimensional
    DIMENSIONAL
    AnomalyMonitorMonitorTypeCustom
    CUSTOM
    Dimensional
    DIMENSIONAL
    Custom
    CUSTOM
    Dimensional
    DIMENSIONAL
    Custom
    CUSTOM
    DIMENSIONAL
    DIMENSIONAL
    CUSTOM
    CUSTOM
    "DIMENSIONAL"
    DIMENSIONAL
    "CUSTOM"
    CUSTOM

    AnomalyMonitorResourceTag, AnomalyMonitorResourceTagArgs

    Key string
    The key name for the tag.
    Value string
    The value for the tag.
    Key string
    The key name for the tag.
    Value string
    The value for the tag.
    key String
    The key name for the tag.
    value String
    The value for the tag.
    key string
    The key name for the tag.
    value string
    The value for the tag.
    key str
    The key name for the tag.
    value str
    The value for the tag.
    key String
    The key name for the tag.
    value String
    The value for the tag.

    Package Details

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

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi