CfnEnvironmentProps
- class aws_cdk.aws_appconfig.CfnEnvironmentProps(*, application_id, name, description=None, monitors=None, tags=None)
Bases:
objectProperties for defining a
CfnEnvironment.- Parameters:
application_id (
str) – The application ID.name (
str) – A name for the environment.description (
Optional[str]) – A description of the environment.monitors (
Union[IResolvable,Sequence[Union[IResolvable,MonitorsProperty,Dict[str,Any]]],None]) – Amazon CloudWatch alarms to monitor during the deployment process.tags (
Optional[Sequence[Union[TagsProperty,Dict[str,Any]]]]) – 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.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appconfig as appconfig cfn_environment_props = appconfig.CfnEnvironmentProps( application_id="applicationId", name="name", # the properties below are optional description="description", monitors=[appconfig.CfnEnvironment.MonitorsProperty( alarm_arn="alarmArn", alarm_role_arn="alarmRoleArn" )], tags=[appconfig.CfnEnvironment.TagsProperty( key="key", value="value" )] )
Attributes
- application_id
The application ID.
- description
A description of the environment.
- monitors
Amazon CloudWatch alarms to monitor during the deployment process.
- name
A name for the environment.
- tags
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.