AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Environment

An AWS AppConfig environment. [disable-awslint:no-grants]

Import

import { Environment } from 'aws-cdk-lib/aws-appconfig';

Or use the module namespace:

import * as appconfig from 'aws-cdk-lib/aws-appconfig';
// appconfig.Environment

Properties

Configuration passed to the constructor as EnvironmentProps.

applicationRequired
IApplication

The application to be associated with the environment.

4 properties inherited from EnvironmentOptions
deletionProtectionCheckOptionalinherited from EnvironmentOptions
DeletionProtectionCheck

A property to prevent accidental deletion of active environments.

Default: undefined - AppConfig default is ACCOUNT_DEFAULT

descriptionOptionalinherited from EnvironmentOptions
string

The description of the environment.

Default: - No description.

environmentNameOptionalinherited from EnvironmentOptions
string

The name of the environment.

Default: - A name is generated.

monitorsOptionalinherited from EnvironmentOptions
Monitor[]

The monitors for the environment.

Default: - No monitors.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter