EnvironmentOptions
- class aws_cdk.aws_appconfig.EnvironmentOptions(*, deletion_protection_check=None, description=None, environment_name=None, monitors=None)
Bases:
object
Options for the Environment construct.
- Parameters:
deletion_protection_check (
Optional
[DeletionProtectionCheck
]) – A property to prevent accidental deletion of active environments. Default: undefined - AppConfig default is ACCOUNT_DEFAULTdescription (
Optional
[str
]) – The description of the environment. Default: - No description.environment_name (
Optional
[str
]) – The name of the environment. Default: - A name is generated.monitors (
Optional
[Sequence
[Monitor
]]) – The monitors for the environment. Default: - No monitors.
- 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 # monitor: appconfig.Monitor environment_options = appconfig.EnvironmentOptions( deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT, description="description", environment_name="environmentName", monitors=[monitor] )
Attributes
- deletion_protection_check
A property to prevent accidental deletion of active environments.
- Default:
undefined - AppConfig default is ACCOUNT_DEFAULT
- description
The description of the environment.
- Default:
No description.
- environment_name
The name of the environment.
- Default:
A name is generated.
- monitors
The monitors for the environment.
- Default:
No monitors.