CfnEnvironmentProps
- class aws_cdk.aws_appconfig.CfnEnvironmentProps(*, application_id, name, description=None, monitors=None, tags=None)
Bases:
object
Properties 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
[CfnTag
,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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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=[CfnTag( 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.