# EnvironmentAttributes

Attributes of an existing AWS AppConfig environment to import it.

- Source: [`aws-appconfig/lib/environment.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-appconfig/lib/environment.ts#L21)
- Type last changed: v2.130.0 · 23 Feb 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';

declare const application: appconfig.Application;
declare const monitor: appconfig.Monitor;
const environmentAttributes: appconfig.EnvironmentAttributes = {
  application: application,
  environmentId: 'environmentId',

  // the properties below are optional
  description: 'description',
  monitors: [monitor],
  name: 'name',
};
```

## Properties

- `application`: [IApplication](/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.IApplication.html) (required) — The application associated with the environment.

- `description`: string = None. — The description of the environment.

- `environmentId`: string (required) — The ID of the environment.

- `monitors`: [Monitor](/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.Monitor.html)[] = None. — The monitors for the environment.

- `name`: string = None. — The name of the environment.
