interface CfnEnvironmentProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.CfnEnvironmentProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#CfnEnvironmentProps |
![]() | software.amazon.awscdk.services.appconfig.CfnEnvironmentProps |
![]() | aws_cdk.aws_appconfig.CfnEnvironmentProps |
![]() | aws-cdk-lib » aws_appconfig » CfnEnvironmentProps |
Properties for defining a CfnEnvironment
.
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';
const cfnEnvironmentProps: appconfig.CfnEnvironmentProps = {
applicationId: 'applicationId',
name: 'name',
// the properties below are optional
deletionProtectionCheck: 'deletionProtectionCheck',
description: 'description',
monitors: [{
alarmArn: 'alarmArn',
alarmRoleArn: 'alarmRoleArn',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
application | string | The application ID. |
name | string | A name for the environment. |
deletion | string | On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. |
description? | string | A description of the environment. |
monitors? | IResolvable | IResolvable | Monitors [] | Amazon CloudWatch alarms to monitor during the deployment process. |
tags? | Cfn [] | Metadata to assign to the environment. |
applicationId
Type:
string
The application ID.
name
Type:
string
A name for the environment.
deletionProtectionCheck?
Type:
string
(optional)
On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting.
See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
description?
Type:
string
(optional)
A description of the environment.
monitors?
Type:
IResolvable
|
IResolvable
|
Monitors
[]
(optional)
Amazon CloudWatch alarms to monitor during the deployment process.
tags?
Type:
Cfn
[]
(optional)
Metadata to assign to the environment.
Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.