EnvironmentAttributes Struct
Attributes of an existing AWS AppConfig environment to import it.
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
applicationIApplicationapplicationIApplicationapplicationIApplicationApplicationIApplicationApplicationIApplicationrequired#The application associated with the environment.
The description of the environment.
environmentIdstringenvironment_idstrenvironmentIdStringEnvironmentIdstringEnvironmentId*stringrequired#The ID of the environment.
monitorsMonitor[]monitorstyping.List[Monitor]monitorsList<Monitor>MonitorsMonitor[]Monitors*[]Monitor= None.#The monitors for the environment.
The name of the environment.