Skip to main content
Aspects can be applied to CDK tree scopes and can operate on the tree before synthesis.

Methods


add

Adds an aspect to apply this scope before synthesis.

aspectRequired

The aspect to add.

Static Functions


of

Returns the Aspects object associated with a construct scope.

scopeRequired

  • Type: software.constructs.IConstruct
The scope for which these aspects will apply.

Properties


allRequired

The list of aspects which were directly applied on this scope.