AddonAttributes Struct
Represents the attributes of an addon for an Amazon EKS cluster.
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';
const addonAttributes: eks.AddonAttributes = {
addonName: 'addonName',
clusterName: 'clusterName',
};
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
// 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();
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"
};
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"),
}