# MixinApplication

Represents a successful mixin application.

- Source: [`core/lib/mixins/applicator.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/core/lib/mixins/applicator.ts#L11)
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import * as constructs from 'constructs';

declare const construct: constructs.Construct;
declare const mixin: constructs.IMixin;
const mixinApplication: cdk.MixinApplication = {
  construct: construct,
  mixin: mixin,
};
```

Python:

```python
# 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
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.constructs.*;

Construct construct;
IMixin mixin;

MixinApplication mixinApplication = MixinApplication.builder()
        .construct(construct)
        .mixin(mixin)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Constructs;

Construct construct;
IMixin mixin;
var mixinApplication = new MixinApplication {
    Construct = construct,
    Mixin = mixin
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"
import constructs "github.com/aws/constructs-go/constructs"

var construct Construct
var mixin IMixin

mixinApplication := &MixinApplication{
	Construct: construct,
	Mixin: mixin,
}
```

## Properties

- `construct`: [IConstruct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IConstruct.html) (required) — The construct the mixin was applied to.

- `mixin`: [IMixin](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IMixin.html) (required) — The mixin that was applied.
