AwsEnvironment
Hierarchy
- Environment
- AwsEnvironment
Index
Constructors
Properties
Methods
- addAnchor
- addChild
- addRelationship
- diff
- diffProperties
- getAncestors
- getAnchor
- getAnchorIndex
- getAnchors
- getBoundaryMembers
- getChild
- getChildren
- getContext
- getDependencies
- getDependency
- getDependencyIndex
- getParents
- getSiblings
- hasAncestor
- removeAllAnchors
- removeAnchor
- removeDependency
- removeRelationship
- setContext
- synth
- unSynth
Constructors
constructor
Parameters
environmentName: string
Returns AwsEnvironment
Properties
readonlyNODE_NAME
readonlyNODE_TYPE
readonlyenvironmentName
readonlyenvironmentVariables
A set of environment variables to be passed to any Execution running in this environment.
Methods
addAnchor
Parameters
anchor: AAnchor
Returns void
addChild
Parameters
onField: string
child: UnknownNode
toField: string
Returns { childToParentDependency: Dependency; parentToChildDependency: Dependency }
childToParentDependency: Dependency
parentToChildDependency: Dependency
addRelationship
Parameters
to: UnknownNode
Returns { thatToThisDependency: Dependency; thisToThatDependency: Dependency }
thatToThisDependency: Dependency
thisToThatDependency: Dependency
diff
Returns Promise<Diff[]>
diffProperties
Returns Promise<Diff[]>
getAncestors
Returns UnknownNode[]
getAnchor
Parameters
anchorId: string
optionalparent: UnknownModel
Returns undefined | AAnchor
getAnchorIndex
Parameters
anchorId: string
optionalparent: UnknownModel
Returns number
getAnchors
Parameters
optionalfilters: { key: string; value: any }[]
Returns AAnchor[]
getBoundaryMembers
Returns UnknownNode[]
getChild
Parameters
name: string
optionalfilters: { key: string; value: any }[]
Returns undefined | UnknownNode
getChildren
Parameters
optionalname: string
Returns {}
[key string]: Dependency[]
getContext
Returns string
getDependencies
Parameters
optionalto: UnknownNode
Returns Dependency[]
getDependency
Parameters
to: UnknownNode
relationship: DependencyRelationship
Returns undefined | Dependency
getDependencyIndex
Parameters
to: UnknownNode
relationship: DependencyRelationship
Returns number
getParents
Parameters
optionalname: string
Returns {}
[key string]: Dependency[]
getSiblings
Parameters
optionalname: string
Returns {}
[key string]: Dependency[]
hasAncestor
Parameters
node: UnknownNode
Returns boolean
removeAllAnchors
Returns void
removeAnchor
Parameters
anchor: AAnchor
Returns void
removeDependency
Parameters
dependencyIndex: number
Returns void
removeRelationship
Parameters
node: UnknownNode
Returns void
setContext
Returns string
synth
Returns IEnvironment
staticunSynth
Parameters
environment: IEnvironment
Returns Promise<AwsEnvironment>
The name of the environment. An environment must be unique within a Region. But multiple Regions can share the same environment name.