EnvironmentUtils

class aws_cdk.cx_api.EnvironmentUtils

Bases: object

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.cx_api as cx_api

environment_utils = cx_api.EnvironmentUtils()

Static Methods

classmethod format(account, region)

Format an environment string from an account and region.

Parameters:
  • account (str) –

  • region (str) –

Return type:

str

classmethod make(account, region)

Build an environment object from an account and region.

Parameters:
  • account (str) –

  • region (str) –

Return type:

Environment

classmethod parse(environment)
Parameters:

environment (str) –

Return type:

Environment