MixinApplication

class aws_cdk.mixins_preview.core.MixinApplication(*, construct, mixin)

Bases: object

(experimental) Represents a successful mixin application.

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

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

# construct: constructs.Construct
# mixin: core.Mixin

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

Attributes

construct

(experimental) The construct the mixin was applied to.

Stability:

experimental

mixin

(experimental) The mixin that was applied.

Stability:

experimental