# ScalingConfigurationProperty

Specifies the boundaries of the compute node group auto scaling.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const scalingConfigurationProperty: pcs.CfnComputeNodeGroup.ScalingConfigurationProperty = {
  maxInstanceCount: 123,
  minInstanceCount: 123,
};
```

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_pcs as pcs

scaling_configuration_property = pcs.CfnComputeNodeGroup.ScalingConfigurationProperty(
    max_instance_count=123,
    min_instance_count=123
)
```

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.pcs.*;

ScalingConfigurationProperty scalingConfigurationProperty = ScalingConfigurationProperty.builder()
        .maxInstanceCount(123)
        .minInstanceCount(123)
        .build();
```

C# / .NET:

```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.PCS;

var scalingConfigurationProperty = new ScalingConfigurationProperty {
    MaxInstanceCount = 123,
    MinInstanceCount = 123
};
```

Golang:

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

scalingConfigurationProperty := &ScalingConfigurationProperty{
	MaxInstanceCount: jsii.Number(123),
	MinInstanceCount: jsii.Number(123),
}
```

## Properties

- `maxInstanceCount`: number (required) — The upper bound of the number of instances allowed in the compute fleet.

- `minInstanceCount`: number (required) — The lower bound of the number of instances allowed in the compute fleet.
