MixinApplication

class aws_cdk.MixinApplication(*, construct, mixin)

Bases: object

Represents a successful mixin application.

Parameters:
  • construct (IConstruct) – The construct the mixin was applied to.

  • mixin (IMixin) – The mixin that was applied.

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

# construct: constructs.Construct
# mixin: constructs.IMixin

mixin_application = cdk.MixinApplication(
    construct=construct,
    mixin=mixin
)

Attributes

construct

The construct the mixin was applied to.

mixin

The mixin that was applied.