UNPKG

@taimos/cdk-controltower

Version:

[![npm version](https://badge.fury.io/js/@taimos%2Fcdk-controltower.svg)](https://badge.fury.io/js/@taimos%2Fcdk-controltower)

15 lines (14 loc) 620 B
import { Stack, StackProps } from 'aws-cdk-lib'; import { Construct } from 'constructs'; import { AccountConfig, ControlTowerProps } from './aws-org'; export interface AccountBudgetOptions { readonly amount: number; readonly email?: string; } export interface BudgetConfig<T extends string> { readonly budgets: AccountConfig<T, number | AccountBudgetOptions>; } export type BudgetStackProps<T extends string> = BudgetConfig<T> & StackProps & ControlTowerProps<T>; export declare class BudgetStack<T extends string> extends Stack { constructor(scope: Construct, id: string, props: BudgetStackProps<T>); }