interface EksResourceScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_arcregionswitch.CfnPlan.EksResourceScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_EksResourceScalingConfigurationProperty |
Java | software.amazon.awscdk.services.arcregionswitch.CfnPlan.EksResourceScalingConfigurationProperty |
Python | aws_cdk.aws_arcregionswitch.CfnPlan.EksResourceScalingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_arcregionswitch » CfnPlan » EksResourceScalingConfigurationProperty |
The AWS EKS resource scaling configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_arcregionswitch as arcregionswitch } from 'aws-cdk-lib';
const eksResourceScalingConfigurationProperty: arcregionswitch.CfnPlan.EksResourceScalingConfigurationProperty = {
kubernetesResourceType: {
apiVersion: 'apiVersion',
kind: 'kind',
},
// the properties below are optional
capacityMonitoringApproach: 'capacityMonitoringApproach',
eksClusters: [{
clusterArn: 'clusterArn',
// the properties below are optional
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
}],
scalingResources: [{
scalingResourcesKey: {
scalingResourcesKey: {
name: 'name',
namespace: 'namespace',
// the properties below are optional
hpaName: 'hpaName',
},
},
}],
targetPercent: 123,
timeoutMinutes: 123,
ungraceful: {
minimumSuccessPercentage: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| kubernetes | IResolvable | Kubernetes | The Kubernetes resource type for the configuration. |
| capacity | string | The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours. |
| eks | IResolvable | (IResolvable | Eks)[] | The clusters for the configuration. |
| scaling | IResolvable | (IResolvable | { [string]: IResolvable | { [string]: IResolvable | Kubernetes } })[] | The scaling resources for the configuration. |
| target | number | The target percentage for the configuration. |
| timeout | number | The timeout value specified for the configuration. |
| ungraceful? | IResolvable | Eks | The settings for ungraceful execution. |
kubernetesResourceType
Type:
IResolvable | Kubernetes
The Kubernetes resource type for the configuration.
capacityMonitoringApproach?
Type:
string
(optional)
The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.
eksClusters?
Type:
IResolvable | (IResolvable | Eks)[]
(optional)
The clusters for the configuration.
scalingResources?
Type:
IResolvable | (IResolvable | { [string]: IResolvable | { [string]: IResolvable | Kubernetes } })[]
(optional)
The scaling resources for the configuration.
targetPercent?
Type:
number
(optional, default: 100)
The target percentage for the configuration.
timeoutMinutes?
Type:
number
(optional, default: 60)
The timeout value specified for the configuration.
ungraceful?
Type:
IResolvable | Eks
(optional)
The settings for ungraceful execution.

.NET
Go
Java
Python
TypeScript