Created
October 9, 2022 19:52
-
-
Save timmyers/d69a61f85d68505cd33d0630264a0c9b to your computer and use it in GitHub Desktop.
Pulumi AWS Budget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as aws from '@pulumi/aws'; | |
new aws.budgets.Budget('total-monthly-cost', { | |
name: 'total-monthly-cost', | |
budgetType: 'COST', | |
limitAmount: '10', | |
limitUnit: 'USD', | |
timeUnit: 'MONTHLY', | |
notifications: [{ | |
comparisonOperator: 'GREATER_THAN', | |
threshold: 100, | |
thresholdType: 'PERCENTAGE', | |
notificationType: 'FORECASTED', | |
subscriberEmailAddresses: ['<[email protected]>'] | |
}], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment