AwsAuthProps Struct
Configuration props for the AwsAuth construct.
| Source | aws-eks/lib/aws-auth.ts |
|---|
Example
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
# 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
// 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();
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
};
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,
}