EnvironmentAttributes

class aws_cdk.aws_appconfig.EnvironmentAttributes(*, application, environment_id, description=None, monitors=None, name=None)

Bases: object

Attributes of an existing AWS AppConfig environment to import it.

Parameters:
  • application (IApplication) – The application associated with the environment.

  • environment_id (str) – The ID of the environment.

  • description (Optional[str]) – The description of the environment. Default: - None.

  • monitors (Optional[Sequence[Monitor]]) – The monitors for the environment. Default: - None.

  • name (Optional[str]) – The name of the environment. Default: - None.

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

# application: appconfig.Application
# monitor: appconfig.Monitor

environment_attributes = appconfig.EnvironmentAttributes(
    application=application,
    environment_id="environmentId",

    # the properties below are optional
    description="description",
    monitors=[monitor],
    name="name"
)

Attributes

application

The application associated with the environment.

description

The description of the environment.

Default:
  • None.

environment_id

The ID of the environment.

monitors

The monitors for the environment.

Default:
  • None.

name

The name of the environment.

Default:
  • None.