AwsSubnet
Hierarchy
- Subnet
- AwsSubnet
Index
Constructors
Properties
Accessors
Methods
- addAnchor
- addChild
- addFilesystemMount
- addRelationship
- diff
- diffProperties
- getAncestors
- getAnchor
- getAnchorIndex
- getAnchors
- getBoundaryMembers
- getChild
- getChildren
- getContext
- getDependencies
- getDependency
- getDependencyIndex
- getParents
- getSiblings
- hasAncestor
- removeAllAnchors
- removeAnchor
- removeDependency
- removeRelationship
- setContext
- synth
- updateNetworkingRules
- unSynth
Constructors
constructor
Properties
readonlyNODE_NAME
readonlyNODE_TYPE
readonlyfilesystemMounts
readonlysubnetId
readonlysubnetName
The name of the subnet.
Accessors
disableSubnetIntraNetwork
- experimental
To block/disable intra-network communication within self. When this is set to
true
, any execution within this subnet will not be able to communicate with other executions within the same subnet.Returns boolean
Parameters
disableSubnetIntraNetwork: boolean
Returns void
subnetType
Returns SubnetType
Parameters
subnetType: SubnetType
Returns void
Methods
addAnchor
Parameters
anchor: AAnchor
Returns void
addChild
Parameters
onField: string
child: UnknownNode
toField: string
Returns { childToParentDependency: Dependency; parentToChildDependency: Dependency }
childToParentDependency: Dependency
parentToChildDependency: Dependency
addFilesystemMount
Parameters
filesystemName: string
Returns Promise<void>
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 IAwsSubnet
updateNetworkingRules
To update the networking rules of this subnet to allow or deny connectivity from another subnet. The networking rules are bi-directional, i.e. if subnet A can connect to subnet B, then subnet B can also connect to subnet A.
Parameters
subnet: Subnet
The other subnet.
allowConnections: boolean
Set to
true
to allow this and the other subnet to connect. Set tofalse
to block this and the other subnet from connecting.
Returns void
staticunSynth
Parameters
subnet: IAwsSubnet
deReferenceContext: (context: string) => Promise<UnknownModel>
Returns Promise<AwsSubnet>
The ID of the subnet.
{regionId}-{subnetName}