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. |
- Type: constructs.Construct
- Type: string
- Type: BudgetNotifierProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { BudgetNotifier } from 'aws_budget_notifier'
BudgetNotifier.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
Configuration options of the {@link BudgetNotifier BudgetNotifier}.
import { BudgetNotifierProps } from 'aws_budget_notifier'
const budgetNotifierProps: BudgetNotifierProps = { ... }
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. |
public readonly limit: number;
- Type: number
The cost associated with the budget threshold.
public readonly threshold: number;
- Type: number
The threshold value in percent (0-100).
public readonly unit: string;
- Type: string
The unit of measurement that is used for the budget threshold, such as dollars or GB.
public readonly application: string;
- Type: string
If specified the application name will be added as tag filter.
public readonly availabilityZones: string[];
- Type: string[]
If specified the availability zones will be added as tag filter.
public readonly costCenter: string;
- Type: string
If specified the cost center will be added as tag filter.
public readonly notificationType: NotificationType;
- Type: NotificationType
Whether the notification is for how much you have spent (ACTUAL) or for how much you're forecasted to spend (FORECASTED).
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.
public readonly service: string;
- Type: string
If specified the service will be added as tag filter.
public readonly timeUnit: TimeUnit;
- Type: TimeUnit
The length of time until a budget resets the actual and forecasted spend.
public readonly topicArn: string;
- Type: string
Name | Description |
---|---|
ACTUAL |
No description. |
FORECASTED |
No description. |
Name | Description |
---|---|
MONTHLY |
No description. |
QUARTERLY |
No description. |
ANNUALLY |
No description. |