sym.sdk.flow.Environment

class sym.sdk.flow.Environment(srn: Union[sym.sdk.resource.SRN, str])

Bases: sym.sdk.resource.SymResource

The Environment class represents an instance of a sym_environment resource, which contains shared configuration values across Flow instances.

Read more about Environments.

Methods

dict()

Represent this resource as a dictionary.

Attributes

integrations

A dictionary containing all Integrations that may be used in the implementation for a Flow, as defined in Terraform.

name

An alias for this resource's slug, derived from its SRN.

srn

A SRN object that represents the unique identifier for this resource.

dict()

Represent this resource as a dictionary.

property integrations

A dictionary containing all Integrations that may be used in the implementation for a Flow, as defined in Terraform.

For example, if Slack and AWS Lambda Integrations are specified in the Environment, the integrations dictionary would look like this:

{
    "slack": <sym.sdk.strategies.integration.Integration>,
    "aws_lambda": <sym.sdk.strategies.integration.Integration>
}
property name

An alias for this resource’s slug, derived from its SRN.

property srn

A SRN object that represents the unique identifier for this resource.