# UpgradePolicyProperty

Struct · External

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* .](https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html)

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `supportType`: string — If the cluster is set to `EXTENDED` , it will enter extended support at the end of standard support.

  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* .](https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html)
