Skip to content

Latest commit

 

History

History
322 lines (188 loc) · 10.8 KB

API.md

File metadata and controls

322 lines (188 loc) · 10.8 KB

API Reference

Constructs

BudgetNotifier

Initializers

import { BudgetNotifier } from 'aws_budget_notifier'

new BudgetNotifier(scope: Construct, id: string, props: BudgetNotifierProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props BudgetNotifierProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

Methods

Name Description
toString Returns a string representation of this construct.

toString
public toString(): string

Returns a string representation of this construct.

Static Functions

Name Description
isConstruct Checks if x is a construct.

isConstruct
import { BudgetNotifier } from 'aws_budget_notifier'

BudgetNotifier.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


Structs

BudgetNotifierProps

Configuration options of the {@link BudgetNotifier BudgetNotifier}.

Initializer

import { BudgetNotifierProps } from 'aws_budget_notifier'

const budgetNotifierProps: BudgetNotifierProps = { ... }

Properties

Name Type Description
limit number The cost associated with the budget threshold.
threshold number The threshold value in percent (0-100).
unit string The unit of measurement that is used for the budget threshold, such as dollars or GB.
application string If specified the application name will be added as tag filter.
availabilityZones string[] If specified the availability zones will be added as tag filter.
costCenter string If specified the cost center will be added as tag filter.
notificationType NotificationType Whether the notification is for how much you have spent (ACTUAL) or for how much you're forecasted to spend (FORECASTED).
recipients string[] Budget notifications will be sent to each of the recipients (e-mail addresses).
service string If specified the service will be added as tag filter.
timeUnit TimeUnit The length of time until a budget resets the actual and forecasted spend.
topicArn string No description.

limitRequired
public readonly limit: number;
  • Type: number

The cost associated with the budget threshold.


thresholdRequired
public readonly threshold: number;
  • Type: number

The threshold value in percent (0-100).


unitRequired
public readonly unit: string;
  • Type: string

The unit of measurement that is used for the budget threshold, such as dollars or GB.


applicationOptional
public readonly application: string;
  • Type: string

If specified the application name will be added as tag filter.


availabilityZonesOptional
public readonly availabilityZones: string[];
  • Type: string[]

If specified the availability zones will be added as tag filter.


costCenterOptional
public readonly costCenter: string;
  • Type: string

If specified the cost center will be added as tag filter.


notificationTypeOptional
public readonly notificationType: NotificationType;

Whether the notification is for how much you have spent (ACTUAL) or for how much you're forecasted to spend (FORECASTED).

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html#cfn-budgets-budget-notification-notificationtype


recipientsOptional
public readonly recipients: string[];
  • Type: string[]

Budget notifications will be sent to each of the recipients (e-mail addresses).

A maximum of 10 recipients is allowed.


serviceOptional
public readonly service: string;
  • Type: string

If specified the service will be added as tag filter.


timeUnitOptional
public readonly timeUnit: TimeUnit;

The length of time until a budget resets the actual and forecasted spend.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-timeunit


topicArnOptional
public readonly topicArn: string;
  • Type: string

Enums

NotificationType

Members

Name Description
ACTUAL No description.
FORECASTED No description.

ACTUAL

FORECASTED

TimeUnit

Members

Name Description
MONTHLY No description.
QUARTERLY No description.
ANNUALLY No description.

MONTHLY

QUARTERLY

ANNUALLY