# ScalableTargetActionProperty

Struct · External

`ScalableTargetAction` specifies the minimum and maximum capacity for the `ScalableTargetAction` property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationautoscaling as appscaling } from 'aws-cdk-lib';
const scalableTargetActionProperty: appscaling.CfnScalableTarget.ScalableTargetActionProperty = {
  maxCapacity: 123,
  minCapacity: 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_applicationautoscaling as appscaling

scalable_target_action_property = appscaling.CfnScalableTarget.ScalableTargetActionProperty(
    max_capacity=123,
    min_capacity=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.applicationautoscaling.*;

ScalableTargetActionProperty scalableTargetActionProperty = ScalableTargetActionProperty.builder()
        .maxCapacity(123)
        .minCapacity(123)
        .build();
```

C#:

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

var scalableTargetActionProperty = new ScalableTargetActionProperty {
    MaxCapacity = 123,
    MinCapacity = 123
};
```

Go:

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

scalableTargetActionProperty := &ScalableTargetActionProperty{
	MaxCapacity: jsii.Number(123),
	MinCapacity: jsii.Number(123),
}
```

## Properties

- `maxCapacity`: number — The maximum capacity.

- `minCapacity`: number — The minimum capacity.
