Skip to content
v2.277.0

AddonReference Struct ​

A reference to a Addon resource.

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 interfaces_eks } from 'aws-cdk-lib/interfaces';
const addonReference: interfaces_eks.AddonReference = {
  addonArn: 'addonArn',
  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.interfaces import aws_eks as interfaces_eks

addon_reference = interfaces_eks.AddonReference(
    addon_arn="addonArn",
    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.interfaces.eks.*;

AddonReference addonReference = AddonReference.builder()
        .addonArn("addonArn")
        .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.Interfaces.EKS;

var addonReference = new AddonReference {
    AddonArn = "addonArn",
    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"

addonReference := &AddonReference{
	AddonArn: jsii.String("addonArn"),
	AddonName: jsii.String("addonName"),
	ClusterName: jsii.String("clusterName"),
}

Properties ​

addonArnstringaddon_arnstraddonArnStringAddonArnstringAddonArn*string required #
The ARN of the Addon resource.
addonNamestringaddon_namestraddonNameStringAddonNamestringAddonName*string required #
The AddonName of the Addon resource.
clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*string required #
The ClusterName of the Addon resource.