# ScalingPolicyReference

A reference to a ScalingPolicy resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 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_applicationautoscaling as interfaces_applicationautoscaling } from 'aws-cdk-lib/interfaces';
const scalingPolicyReference: interfaces_applicationautoscaling.ScalingPolicyReference = {
  scalableDimension: 'scalableDimension',
  scalingPolicyArn: 'scalingPolicyArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_applicationautoscaling as interfaces_applicationautoscaling

scaling_policy_reference = interfaces_applicationautoscaling.ScalingPolicyReference(
    scalable_dimension="scalableDimension",
    scaling_policy_arn="scalingPolicyArn"
)
```

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.interfaces.applicationautoscaling.*;

ScalingPolicyReference scalingPolicyReference = ScalingPolicyReference.builder()
        .scalableDimension("scalableDimension")
        .scalingPolicyArn("scalingPolicyArn")
        .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.Interfaces.ApplicationAutoScaling;

var scalingPolicyReference = new ScalingPolicyReference {
    ScalableDimension = "scalableDimension",
    ScalingPolicyArn = "scalingPolicyArn"
};
```

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"

scalingPolicyReference := &ScalingPolicyReference{
	ScalableDimension: jsii.String("scalableDimension"),
	ScalingPolicyArn: jsii.String("scalingPolicyArn"),
}
```

## Properties

- `scalableDimension`: string (required) — The ScalableDimension of the ScalingPolicy resource.

- `scalingPolicyArn`: string (required) — The Arn of the ScalingPolicy resource.
