Interface CfnPlanPropsMixin.EksResourceScalingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.EksResourceScalingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.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.cfnpropertymixins.services.arcregionswitch.*;
EksResourceScalingConfigurationProperty eksResourceScalingConfigurationProperty = EksResourceScalingConfigurationProperty.builder()
.capacityMonitoringApproach("capacityMonitoringApproach")
.eksClusters(List.of(EksClusterProperty.builder()
.clusterArn("clusterArn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.build()))
.kubernetesResourceType(KubernetesResourceTypeProperty.builder()
.apiVersion("apiVersion")
.kind("kind")
.build())
.scalingResources(List.of(Map.of(
"scalingResourcesKey", Map.of(
"scalingResourcesKey", KubernetesScalingResourceProperty.builder()
.hpaName("hpaName")
.name("name")
.namespace("namespace")
.build()))))
.targetPercent(123)
.timeoutMinutes(123)
.ungraceful(EksResourceScalingUngracefulProperty.builder()
.minimumSuccessPercentage(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPlanPropsMixin.EksResourceScalingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe monitoring approach for the configuration, that is, whether it was sampled in the last 24 hours or autoscaled in the last 24 hours.default ObjectThe clusters for the configuration.default ObjectThe Kubernetes resource type for the configuration.default ObjectThe scaling resources for the configuration.default NumberThe target percentage for the configuration.default NumberThe timeout value specified for the configuration.default ObjectThe settings for ungraceful execution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlanPropsMixin.EksClusterProperty>- See Also:
-
getKubernetesResourceType
The Kubernetes resource type for the configuration.Returns union: either
IResolvableorCfnPlanPropsMixin.KubernetesResourceTypeProperty- See Also:
-
getScalingResources
The scaling resources for the configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnPlanPropsMixin.KubernetesScalingResourceProperty>>>- 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.Returns union: either
IResolvableorCfnPlanPropsMixin.EksResourceScalingUngracefulProperty- See Also:
-
builder
@Stability(Stable) static CfnPlanPropsMixin.EksResourceScalingConfigurationProperty.Builder builder()
-