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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.ce.getAnomalySubscription

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 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. Create subscription to be notified

    Using getAnomalySubscription

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAnomalySubscription(args: GetAnomalySubscriptionArgs, opts?: InvokeOptions): Promise<GetAnomalySubscriptionResult>
    function getAnomalySubscriptionOutput(args: GetAnomalySubscriptionOutputArgs, opts?: InvokeOptions): Output<GetAnomalySubscriptionResult>
    def get_anomaly_subscription(subscription_arn: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAnomalySubscriptionResult
    def get_anomaly_subscription_output(subscription_arn: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAnomalySubscriptionResult]
    func LookupAnomalySubscription(ctx *Context, args *LookupAnomalySubscriptionArgs, opts ...InvokeOption) (*LookupAnomalySubscriptionResult, error)
    func LookupAnomalySubscriptionOutput(ctx *Context, args *LookupAnomalySubscriptionOutputArgs, opts ...InvokeOption) LookupAnomalySubscriptionResultOutput

    > Note: This function is named LookupAnomalySubscription in the Go SDK.

    public static class GetAnomalySubscription 
    {
        public static Task<GetAnomalySubscriptionResult> InvokeAsync(GetAnomalySubscriptionArgs args, InvokeOptions? opts = null)
        public static Output<GetAnomalySubscriptionResult> Invoke(GetAnomalySubscriptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnomalySubscriptionResult> getAnomalySubscription(GetAnomalySubscriptionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ce:getAnomalySubscription
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getAnomalySubscription Result

    The following output properties are available:

    AccountId string
    The accountId
    Frequency Pulumi.AwsNative.Ce.AnomalySubscriptionFrequency
    The frequency at which anomaly reports are sent over email.
    MonitorArnList List<string>
    A list of cost anomaly monitors.
    Subscribers List<Pulumi.AwsNative.Ce.Outputs.AnomalySubscriptionSubscriber>
    A list of subscriber
    SubscriptionArn string
    SubscriptionName string
    The name of the subscription.
    Threshold double
    The dollar value that triggers a notification if the threshold is exceeded.
    ThresholdExpression string
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
    AccountId string
    The accountId
    Frequency AnomalySubscriptionFrequency
    The frequency at which anomaly reports are sent over email.
    MonitorArnList []string
    A list of cost anomaly monitors.
    Subscribers []AnomalySubscriptionSubscriber
    A list of subscriber
    SubscriptionArn string
    SubscriptionName string
    The name of the subscription.
    Threshold float64
    The dollar value that triggers a notification if the threshold is exceeded.
    ThresholdExpression string
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
    accountId String
    The accountId
    frequency AnomalySubscriptionFrequency
    The frequency at which anomaly reports are sent over email.
    monitorArnList List<String>
    A list of cost anomaly monitors.
    subscribers List<AnomalySubscriptionSubscriber>
    A list of subscriber
    subscriptionArn String
    subscriptionName String
    The name of the subscription.
    threshold Double
    The dollar value that triggers a notification if the threshold is exceeded.
    thresholdExpression String
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
    accountId string
    The accountId
    frequency AnomalySubscriptionFrequency
    The frequency at which anomaly reports are sent over email.
    monitorArnList string[]
    A list of cost anomaly monitors.
    subscribers AnomalySubscriptionSubscriber[]
    A list of subscriber
    subscriptionArn string
    subscriptionName string
    The name of the subscription.
    threshold number
    The dollar value that triggers a notification if the threshold is exceeded.
    thresholdExpression string
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
    account_id str
    The accountId
    frequency AnomalySubscriptionFrequency
    The frequency at which anomaly reports are sent over email.
    monitor_arn_list Sequence[str]
    A list of cost anomaly monitors.
    subscribers Sequence[AnomalySubscriptionSubscriber]
    A list of subscriber
    subscription_arn str
    subscription_name str
    The name of the subscription.
    threshold float
    The dollar value that triggers a notification if the threshold is exceeded.
    threshold_expression str
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
    accountId String
    The accountId
    frequency "DAILY" | "IMMEDIATE" | "WEEKLY"
    The frequency at which anomaly reports are sent over email.
    monitorArnList List<String>
    A list of cost anomaly monitors.
    subscribers List<Property Map>
    A list of subscriber
    subscriptionArn String
    subscriptionName String
    The name of the subscription.
    threshold Number
    The dollar value that triggers a notification if the threshold is exceeded.
    thresholdExpression String
    An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.

    Supporting Types

    AnomalySubscriptionFrequency

    AnomalySubscriptionSubscriber

    AnomalySubscriptionSubscriberStatus

    AnomalySubscriptionSubscriberType

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi