sym.sdk.flow.Flow

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

Bases: sym.sdk.resource.SymResource

The Flow class represents an instance of a sym_flow resource, which defines an approval workflow in Sym, allowing users to request temporary and auto-expiring access to sensitive resources.

Read more about Flows.

Methods

dict()

Represent this resource as a dictionary.

Attributes

environment

A reference to the Environment attached to this Flow.

fields

A dictionary of Prompt Field names to Prompt Field objects, as defined by the prompt_field blocks 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.

strategy

A reference to the Strategy attached to this Flow, if any.

vars

A dict containing user-supplied values from the Flow's definition in Terraform.

dict()

Represent this resource as a dictionary.

property environment

A reference to the Environment attached to this Flow.

property fields

A dictionary of Prompt Field names to Prompt Field objects, as defined by the prompt_field blocks in Terraform.

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.

property strategy

A reference to the Strategy attached to this Flow, if any.

property vars

A dict containing user-supplied values from the Flow’s definition in Terraform.

This dict might contain, for example, your team’s PagerDuty schedule ID.