AwsRegion
Hierarchy
- Region
- AwsRegion
Index
Constructors
Properties
Methods
- addAnchor
- addChild
- addEnvironment
- addFilesystem
- addRelationship
- addSubnet
- diff
- diffProperties
- getAncestors
- getAnchor
- getAnchorIndex
- getAnchors
- getBoundaryMembers
- getChild
- getChildren
- getContext
- getDependencies
- getDependency
- getDependencyIndex
- getParents
- getSiblings
- hasAncestor
- removeAllAnchors
- removeAnchor
- removeDependency
- removeRelationship
- setContext
- synth
- getRandomRegionIdFromAwsRegionId
- getRegionIdParts
- unSynth
Constructors
constructor
Properties
readonlyNODE_NAME
readonlyNODE_TYPE
readonlyawsRegionAZ
readonlyawsRegionId
readonlyfilesystems
readonlyregionId
Methods
addAnchor
Parameters
anchor: AAnchor
Returns void
addChild
Parameters
onField: string
child: UnknownNode
toField: string
Returns { childToParentDependency: Dependency; parentToChildDependency: Dependency }
childToParentDependency: Dependency
parentToChildDependency: Dependency
addEnvironment
Parameters
environment: Environment
Returns void
addFilesystem
Parameters
filesystemName: string
Returns Promise<void>
addRelationship
Parameters
to: UnknownNode
Returns { thatToThisDependency: Dependency; thisToThatDependency: Dependency }
thatToThisDependency: Dependency
thisToThatDependency: Dependency
addSubnet
To add a Subnet.
Parameters
subnet: Subnet
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[]
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 IAwsRegion
staticgetRandomRegionIdFromAwsRegionId
Parameters
awsRegionId: string
Returns undefined | RegionId
staticgetRegionIdParts
Parameters
regionId: RegionId
Returns { awsRegionAZ: string; awsRegionId: string }
awsRegionAZ: string
awsRegionId: string
staticunSynth
Parameters
awsRegion: IAwsRegion
Returns Promise<AwsRegion>
To add an Environment.