Interface CfnPlan.EksResourceScalingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.EksResourceScalingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.EksResourceScalingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.arcregionswitch.*; EksResourceScalingConfigurationProperty eksResourceScalingConfigurationProperty = EksResourceScalingConfigurationProperty.builder() .kubernetesResourceType(KubernetesResourceTypeProperty.builder() .apiVersion("apiVersion") .kind("kind") .build()) // the properties below are optional .capacityMonitoringApproach("capacityMonitoringApproach") .eksClusters(List.of(EksClusterProperty.builder() .clusterArn("clusterArn") // the properties below are optional .crossAccountRole("crossAccountRole") .externalId("externalId") .build())) .scalingResources(List.of(Map.of( "scalingResourcesKey", Map.of( "scalingResourcesKey", KubernetesScalingResourceProperty.builder() .name("name") .namespace("namespace") // the properties below are optional .hpaName("hpaName") .build())))) .targetPercent(123) .timeoutMinutes(123) .ungraceful(EksResourceScalingUngracefulProperty.builder() .minimumSuccessPercentage(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlan.EksResourceScalingConfigurationProperty
static final class
An implementation forCfnPlan.EksResourceScalingConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default 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.default Object
The clusters for the configuration.The Kubernetes resource type for the configuration.default Object
The scaling resources for the configuration.default Number
The target percentage for the configuration.default Number
The timeout value specified for the configuration.default Object
The settings for ungraceful execution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKubernetesResourceType
The Kubernetes resource type for the configuration.- See Also:
-
getCapacityMonitoringApproach
The monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.- See Also:
-
getEksClusters
The clusters for the configuration.- See Also:
-
getScalingResources
The scaling resources for the configuration.- See Also:
-
getTargetPercent
The target percentage for the configuration.Default: - 100
- See Also:
-
getTimeoutMinutes
The timeout value specified for the configuration.Default: - 60
- See Also:
-
getUngraceful
The settings for ungraceful execution.- See Also:
-
builder
-