Interface AddonProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AddonProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:41.232Z")
@Stability(Stable)
public interface AddonProps
extends software.amazon.jsii.JsiiSerializable
Properties for creating an Amazon EKS Add-On.
Example:
Cluster cluster;
Addon.Builder.create(this, "Addon")
.cluster(cluster)
.addonName("coredns")
.addonVersion("v1.11.4-eksbuild.2")
// whether to preserve the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.
.preserveOnDelete(false)
.configurationValues(Map.of(
"replicaCount", 2))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAddonPropsstatic final classAn implementation forAddonProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AddonProps.Builderbuilder()Name of the Add-On.default StringVersion of the Add-On.The EKS cluster the Add-On is associated with.The configuration values for the Add-on.default BooleanSpecifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddonName
Name of the Add-On. -
getCluster
The EKS cluster the Add-On is associated with. -
getAddonVersion
Version of the Add-On.You can check all available versions with describe-addon-versions. For example, this lists all available versions for the
eks-pod-identity-agentaddon: $ aws eks describe-addon-versions --addon-name eks-pod-identity-agent \ --query 'addons[].addonVersions[].addonVersion'Default: the latest version.
-
getConfigurationValues
The configuration values for the Add-on.Default: - Use default configuration.
-
getPreserveOnDelete
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on.If an IAM account is associated with the add-on, it isn't removed.
Default: true
-
builder
- Returns:
- a
AddonProps.BuilderofAddonProps
-