Skip to content

Defaults

The Data Landing Zone provides opinionated yet configurable setups by offering optional defaults for various parts of the configuration. These defaults help streamline setup while remaining adaptable to specific requirements.

Example: Using Defaults in Budgets

An example of applying defaults is demonstrated in the Budgets component, where the Defaults.budgets object is used to create two standard budgets.

Below is a code snippet illustrating how to configure a budget of $100 for the entire organization and $20 for resources created by the DLZ:

import {App} from 'aws-cdk-lib';
import { DataLandingZone } from 'aws-data-landing-zone';
const app = new App();
const dlz = new DataLandingZone(app, {
budgets: [
...Defaults.budgets(100, 20, {
emails: ['[email protected]'],
}),
],
...
});

List of Defaults

A comprehensive list of defaults referenced throughout the documentation: