MCPcopy Create free account

hub / github.com/aws/constructs / functions

Functions56 in github.com/aws/constructs

↓ 5 callersMethodaddValidation
* Adds a validation to this construct. * * When `node.validate()` is called, the `validate()` method will be called on * all validations and
src/construct.ts:454
↓ 4 callersMethodof
* Returns the node associated with a construct. * @param construct the construct * * @deprecated use `construct.node` instead
src/construct.ts:46
↓ 3 callersMethodadd
* Add a construct to the dependency roots
src/dependency.ts:46
↓ 3 callersMethodtryFindChild
* Return a direct child by id, or undefined * * @param id Identifier of direct child * @returns the child if found, or undefined
src/construct.ts:157
↓ 3 callersMethodvalidate
* Validate the current construct. * * This method can be implemented by derived constructs in order to perform * validation logic. It is call
src/construct.ts:625
↓ 2 callersMethodfindAll
* Return this construct and all of its children in the given order
src/construct.ts:223
↓ 2 callersMethodremoveDependency
* Remove an ordering dependency on a Dependenable (a construct or set of constructs) * * This removes any dependency added using `node.addDepend
src/construct.ts:408
↓ 2 callersFunctionsanitizeId
* Return a sanitized version of an arbitrary string, so it can be used as an ID
src/construct.ts:648
↓ 2 callersMethodsetContext
* This can be used to set contextual values. * Context must be set before any children are added, since children may consult context info during co
src/construct.ts:250
↓ 2 callersMethodwith
* Applies one or more mixins to this construct. * * Mixins are applied in order. The list of constructs is captured at the * start of the cal
src/construct.ts:28
↓ 1 callersMethodaddChild
* Adds a child construct to this node. * * @param child The child construct * @param childName The type name of the child construct. * @re
src/construct.ts:512
↓ 1 callersMethodaddDependency
* Add an ordering dependency on a Dependable (a construct or set of constructs) * * It is up to the target document language to decide what an o
src/construct.ts:393
↓ 1 callersMethodaddMetadata
* Adds a metadata entry to this construct. * Entries are arbitrary values and will also include a stack trace to allow tracing back to * the cod
src/construct.ts:332
↓ 1 callersFunctionaddressOf
(components: string[])
src/private/node-addr.ts:25
↓ 1 callersMethodapplyTo
* Applies the mixin functionality to the target construct.
src/mixin.ts:16
↓ 1 callersFunctioncaptureStackTrace
(below?: Function)
src/private/stack-trace.ts:2
↓ 1 callersFunctioncreateTree
(context?: any)
test/construct.test.ts:737
↓ 1 callersFunctionexists
(key: string)
test/construct.test.ts:371
↓ 1 callersMethodfindChild
* Return a direct child by id * * Throws an error if the child is not found. * * @param id Identifier of direct child * @returns Child
src/construct.ts:169
↓ 1 callersMethodgetAllContext
* Retrieves the all context of a node from tree context. * * Context is usually initialized at the root, but can be overridden at any point in t
src/construct.ts:289
↓ 1 callersMethodgetContext
* Retrieves a value from tree context if present. Otherwise, would throw an error. * * Context is usually initialized at the root, but can be ov
src/construct.ts:269
↓ 1 callersMethodisConstruct
* Checks if `x` is a construct. * * Use this method instead of `instanceof` to properly detect `Construct` * instances, even when the constru
src/construct.ts:564
↓ 1 callersMethodlock
* Locks this construct from allowing more children to be added. After this * call, no more children can be added to this construct or to any childr
src/construct.ts:478
↓ 1 callersMethodsupports
* Determines whether this mixin can be applied to the given construct.
src/mixin.ts:11
↓ 1 callersMethodtoString
* Returns a string representation of this construct.
src/construct.ts:608
↓ 1 callersMethodtryGetContext
* Retrieves a value from tree context. * * Context is usually initialized at the root, but can be overridden at any point in the tree. * *
src/construct.ts:305
↓ 1 callersMethodtryRemoveChild
* Remove the child with the given name, if present. * * @returns Whether a child with the given name was deleted.
src/construct.ts:440
↓ 1 callersFunctionvalidateTree
(root: Construct)
test/construct.test.ts:431
Methodaddr
* An opaque, deterministic address for this construct, derived from its path. * * The address is a 42 character string: the prefix "c8" followed
src/construct.ts:143
Methodchildren
* All direct children of this construct.
src/construct.ts:216
Methodconstructor
()
test/util.ts:4
Methodconstructor
(scope: Construct, id: string)
test/construct.test.ts:393
Methodconstructor
(scope: Construct, id: string)
test/construct.test.ts:401
Methodconstructor
(scope: Construct, id: string)
test/construct.test.ts:409
Methodconstructor
()
test/construct.test.ts:419
Methodconstructor
(scope: Construct, id: string)
test/construct.test.ts:757
Methodconstructor
(...deps: IDependable[])
src/dependency.ts:27
Methodconstructor
(private readonly host: Construct, scope: IConstruct, id: string)
src/construct.ts:83
Methodconstructor
* Creates a new construct node. * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be uni
src/construct.ts:581
Methodconstructor
* Creates a new root construct node. * * @param id The scoped construct ID. Must be unique amongst siblings. If * the ID includes a path sepa
src/construct.ts:701
MethoddefaultChild
* Returns the child construct that has the id `Default` or `Resource`. * This is usually the construct that provides the bulk of the underlying fun
src/construct.ts:185
Methoddependencies
* Constructs that this construct depends on directly * * This expands the sets of `Dependables` to the set of `Constructs` that they * repres
src/construct.ts:423
FunctiondependencyRoots
()
test/construct.test.ts:639
MethoddependencyRoots
()
src/dependency.ts:31
Functionget
* Return the matching Dependable for the given class instance. * @deprecated use `of`
src/dependency.ts:98
MethodgetTrace
()
src/construct.ts:338
Functionimplement
* Turn any object into an IDependable.
src/dependency.ts:76
Methodlocked
* Returns true if this construct or the scopes in which it is defined are * locked.
src/construct.ts:364
Methodmetadata
* An immutable array of metadata objects associated with this construct. * This can be used, for example, to implement support for deprecation noti
src/construct.ts:316
Functionof
* Return the matching Dependable for the given class instance.
src/dependency.ts:86
Methodroot
* Returns the root of the construct tree. * @returns The root of the construct tree.
src/construct.ts:356
Methodscopes
* All parent scopes of this construct. * * @returns a list of parent scopes. The last element in the list will always * be the current constr
src/construct.ts:110
Methodvalidate
* Validates this construct. * * Invokes the `validate()` method on all validations added through * `addValidation()`. * * @returns an a
src/construct.ts:470
Methodvisit
(c: IConstruct)
src/construct.ts:228
Methodwith
* Applies one or more mixins to this construct. * * Mixins are applied in order. The list of constructs is captured at the * start of the cal
src/construct.ts:493
Methodwith
* Applies one or more mixins to this construct. * * Mixins are applied in order. The list of constructs is captured at the * start of the cal
src/construct.ts:601