# AwsAuthProps

Configuration props for the AwsAuth construct.

Used as props by: [AwsAuth](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.AwsAuth.html)

- Source: [`aws-eks/lib/aws-auth.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-eks/lib/aws-auth.ts#L16)

## 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';

declare const cluster: eks.Cluster;
const awsAuthProps: eks.AwsAuthProps = {
  cluster: cluster,
};
```

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

# cluster: eks.Cluster

aws_auth_props = eks.AwsAuthProps(
    cluster=cluster
)
```

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

Cluster cluster;

AwsAuthProps awsAuthProps = AwsAuthProps.builder()
        .cluster(cluster)
        .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;

Cluster cluster;

var awsAuthProps = new AwsAuthProps {
    Cluster = cluster
};
```

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"

var cluster Cluster

awsAuthProps := &AwsAuthProps{
	Cluster: cluster,
}
```

## Properties

- `cluster`: [Cluster](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.Cluster.html) (required) — The EKS cluster to apply this configuration to.

  [disable-awslint:ref-via-interface]
