interface EnvironmentAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.EnvironmentAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#EnvironmentAttributes |
![]() | software.amazon.awscdk.services.appconfig.EnvironmentAttributes |
![]() | aws_cdk.aws_appconfig.EnvironmentAttributes |
![]() | aws-cdk-lib » aws_appconfig » EnvironmentAttributes |
Attributes of an existing AWS AppConfig environment to import it.
Example
// 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
Name | Type | Description |
---|---|---|
application | IApplication | The application associated with the environment. |
environment | string | The ID of the environment. |
description? | string | The description of the environment. |
monitors? | Monitor [] | The monitors for the environment. |
name? | string | The name of the environment. |
application
Type:
IApplication
The application associated with the environment.
environmentId
Type:
string
The ID of the environment.
description?
Type:
string
(optional, default: None.)
The description of the environment.
monitors?
Type:
Monitor
[]
(optional, default: None.)
The monitors for the environment.
name?
Type:
string
(optional, default: None.)
The name of the environment.