# AddonAttributes

Represents the attributes of an addon for an Amazon EKS cluster.

- Source: [`aws-eks/lib/addon.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-eks/lib/addon.ts#L81)
- Type last changed: v2.148.0 · 5 Jul 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const addonAttributes: eks.AddonAttributes = {
  addonName: 'addonName',
  clusterName: 'clusterName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks

addon_attributes = eks.AddonAttributes(
    addon_name="addonName",
    cluster_name="clusterName"
)
```

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.services.eks.*;

AddonAttributes addonAttributes = AddonAttributes.builder()
        .addonName("addonName")
        .clusterName("clusterName")
        .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.AWS.EKS;

var addonAttributes = new AddonAttributes {
    AddonName = "addonName",
    ClusterName = "clusterName"
};
```

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 "github.com/aws/aws-cdk-go/awscdk"

addonAttributes := &AddonAttributes{
	AddonName: jsii.String("addonName"),
	ClusterName: jsii.String("clusterName"),
}
```

## Properties

- `addonName`: string (required) — The name of the addon.

- `clusterName`: string (required) — The name of the Amazon EKS cluster the addon is associated with.
