Skip to content
v2.278.0

HorizontalPodAutoscalerControllerConfigProperty Struct ​

The horizontal pod autoscaler controller configuration.

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 horizontalPodAutoscalerControllerConfigProperty: eks.CfnCluster.HorizontalPodAutoscalerControllerConfigProperty = {
  horizontalPodAutoscalerSyncPeriod: 'horizontalPodAutoscalerSyncPeriod',
};
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

horizontal_pod_autoscaler_controller_config_property = eks.CfnCluster.HorizontalPodAutoscalerControllerConfigProperty(
    horizontal_pod_autoscaler_sync_period="horizontalPodAutoscalerSyncPeriod"
)
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.*;

HorizontalPodAutoscalerControllerConfigProperty horizontalPodAutoscalerControllerConfigProperty = HorizontalPodAutoscalerControllerConfigProperty.builder()
        .horizontalPodAutoscalerSyncPeriod("horizontalPodAutoscalerSyncPeriod")
        .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 horizontalPodAutoscalerControllerConfigProperty = new HorizontalPodAutoscalerControllerConfigProperty {
    HorizontalPodAutoscalerSyncPeriod = "horizontalPodAutoscalerSyncPeriod"
};
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"

horizontalPodAutoscalerControllerConfigProperty := &HorizontalPodAutoscalerControllerConfigProperty{
	HorizontalPodAutoscalerSyncPeriod: jsii.String("horizontalPodAutoscalerSyncPeriod"),
}

Properties ​

horizontalPodAutoscalerSyncPeriodoptionalstringhorizontal_pod_autoscaler_sync_periodoptionalstrhorizontalPodAutoscalerSyncPeriodoptionalStringHorizontalPodAutoscalerSyncPeriodoptionalstringHorizontalPodAutoscalerSyncPeriodoptional*string #
The interval between each sync of the horizontal pod autoscaler (e.g., 15s, 1m).