Skip to main content

Aws/ce

@swamp/aws/cev2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS CE infrastructure models

02Behaviors3
@swamp/aws/ce/anomaly-monitorv2026.10.23.1anomaly_monitor.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
MonitorTypeenum
MonitorNamestringThe name of the monitor.
MonitorDimension?enumThe dimensions to evaluate
MonitorSpecification?string
ResourceTags?arrayTags to assign to monitor.
fn create()
Create a CE AnomalyMonitor
fn get(identifier: string)
Get a CE AnomalyMonitor
ArgumentTypeDescription
identifierstringThe primary identifier of the CE AnomalyMonitor
fn update()
Update a CE AnomalyMonitor
fn delete(identifier: string)
Delete a CE AnomalyMonitor
ArgumentTypeDescription
identifierstringThe primary identifier of the CE AnomalyMonitor
fn sync()
Sync CE AnomalyMonitor state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CE AnomalyMonitor resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CE AnomalyMonitor resource state
@swamp/aws/ce/anomaly-subscriptionv2026.10.23.1anomaly_subscription.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
SubscriptionNamestringThe name of the subscription.
MonitorArnListarrayA list of cost anomaly monitors.
SubscribersarrayA list of subscriber
Threshold?numberThe dollar value that triggers a notification if the threshold is exceeded.
ThresholdExpression?stringAn Expression object in JSON String format used to specify the anomalies that you want to generate alerts for.
FrequencyenumThe frequency at which anomaly reports are sent over email.
ResourceTags?arrayTags to assign to subscription.
fn create()
Create a CE AnomalySubscription
fn get(identifier: string)
Get a CE AnomalySubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CE AnomalySubscription
fn update()
Update a CE AnomalySubscription
fn delete(identifier: string)
Delete a CE AnomalySubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CE AnomalySubscription
fn sync()
Sync CE AnomalySubscription state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CE AnomalySubscription resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CE AnomalySubscription resource state
@swamp/aws/ce/cost-categoryv2026.10.23.1cost_category.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Namestring
RuleVersionenum
RulesstringJSON array format of Expression in Billing and Cost Management API
SplitChargeRules?stringJson array format of CostCategorySplitChargeRule in Billing and Cost Management API
DefaultValue?stringThe default value for the cost category
Tags?arrayTags to assign to the cost category.
fn create()
Create a CE CostCategory
fn get(identifier: string)
Get a CE CostCategory
ArgumentTypeDescription
identifierstringThe primary identifier of the CE CostCategory
fn update()
Update a CE CostCategory
fn delete(identifier: string)
Delete a CE CostCategory
ArgumentTypeDescription
identifierstringThe primary identifier of the CE CostCategory
fn sync()
Sync CE CostCategory state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CE CostCategory resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CE CostCategory resource state
03Previous Versions19
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
  • Updated: anomaly_monitor, anomaly_subscription, cost_category
2026.10.13.1
  • Updated: anomaly_monitor, anomaly_subscription, cost_category
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
04Stats
A
100 / 100
Downloads
72
Archive size
621.2 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels