AwsExecution
Hierarchy
- Execution
- AwsExecution
Index
Constructors
Properties
Accessors
Methods
- addAnchor
- addChild
- addRelationship
- addSecurityGroupRule
- diff
- diffProperties
- getAncestors
- getAnchor
- getAnchorIndex
- getAnchors
- getBoundaryMembers
- getChild
- getChildren
- getContext
- getDependencies
- getDependency
- getDependencyIndex
- getParents
- getSecurityGroupRules
- getSiblings
- hasAncestor
- init
- mountFilesystem
- removeAllAnchors
- removeAnchor
- removeDependency
- removeRelationship
- setContext
- synth
- updateDesiredCount
- unSynth
Constructors
constructor
Parameters
deployment: AwsDeployment
environment: AwsEnvironment
subnet: AwsSubnet
_calledFromUnSynth: boolean = false
Returns AwsExecution
Properties
readonlyNODE_NAME
readonlyNODE_TYPE
readonlyenvironmentVariables
Accessors
executionId
An
executionId
is a unique identifier for this execution.- Format of executionId is
{serverKey}-{deploymentTag}-{regionId}-{environmentName}-{subnetName}
Returns string
- Format of executionId is
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
addSecurityGroupRule
Parameters
rule: ISecurityGroupAnchorRule
Returns void
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[]
getSecurityGroupRules
Returns ISecurityGroupAnchorRule[]
getSiblings
Parameters
optionalname: string
Returns {}
[key string]: Dependency[]
hasAncestor
Parameters
node: UnknownNode
Returns boolean
init
Returns Promise<void>
mountFilesystem
Parameters
filesystemName: string
Returns Promise<void>
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 IExecution
updateDesiredCount
Parameters
desiredCount: number
Returns void
staticunSynth
Parameters
execution: IExecution
deReferenceContext: (context: string) => Promise<UnknownModel>
Returns Promise<AwsExecution>
A set of environment variables to be passed to the Docker container. It represents setting the --env option while running a Docker container.