AspectApplication

class aws_cdk.AspectApplication(construct, aspect, priority)

Bases: object

Object respresenting an Aspect application.

Stores the Aspect, the pointer to the construct it was applied to, and the priority value of that Aspect.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
import constructs as constructs

# aspect: cdk.IAspect
# construct: constructs.Construct

aspect_application = cdk.AspectApplication(construct, aspect, 123)

Initializes AspectApplication object.

Parameters:

Attributes

aspect

The Aspect that was applied.

construct

The construct that the Aspect was applied to.

priority

Gets the priority value.

Sets the priority value.