Skip to content
v2.278.0

UpgradePolicyProperty Struct ​

The support policy to use for the cluster.

Extended support allows you to remain on specific Kubernetes versions for longer. Clusters in extended support have higher costs. The default value is EXTENDED . Use STANDARD to disable extended support.

Learn more about EKS Extended Support in the Amazon EKS User Guide .

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 upgradePolicyProperty: eks.CfnCluster.UpgradePolicyProperty = {
  supportType: 'supportType',
};
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

upgrade_policy_property = eks.CfnCluster.UpgradePolicyProperty(
    support_type="supportType"
)
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.*;

UpgradePolicyProperty upgradePolicyProperty = UpgradePolicyProperty.builder()
        .supportType("supportType")
        .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 upgradePolicyProperty = new UpgradePolicyProperty {
    SupportType = "supportType"
};
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"

upgradePolicyProperty := &UpgradePolicyProperty{
	SupportType: jsii.String("supportType"),
}

Properties ​

supportTypeoptionalstringsupport_typeoptionalstrsupportTypeoptionalStringSupportTypeoptionalstringSupportTypeoptional*string #
If the cluster is set to `EXTENDED` , it will enter extended support at the end of standard support.
notes

If the cluster is set to STANDARD , it will be automatically upgraded at the end of standard support.

Learn more about EKS Extended Support in the Amazon EKS User Guide .