Skip to main content

anomaly_subscription

Gets an individual anomaly_subscription resource

Overview

Nameanomaly_subscription
TypeResource
Descriptionanomaly_subscription
Idawscc.ce.anomaly_subscription

Fields

NameDatatypeDescription
subscription_arnstring
subscription_namestringThe name of the subscription.
account_idstringThe accountId
monitor_arn_listarrayA list of cost anomaly monitors.
subscribersarrayA list of subscriber
thresholdnumberThe dollar value that triggers a notification if the threshold is exceeded.
threshold_expressionstringAn Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
frequencystringThe frequency at which anomaly reports are sent over email.
resource_tagsarrayTags to assign to subscription.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
subscription_arn,
subscription_name,
account_id,
monitor_arn_list,
subscribers,
threshold,
threshold_expression,
frequency,
resource_tags
FROM awscc.ce.anomaly_subscription
WHERE data__Identifier = '<SubscriptionArn>';

Permissions

To operate on the anomaly_subscription resource, the following permissions are required:

Read

ce:GetAnomalySubscriptions

Update

ce:UpdateAnomalySubscription

Delete

ce:DeleteAnomalySubscription