Skip to content

Commit b5259d2

Browse files
committed
fix Readme.md
1 parent 91d94e5 commit b5259d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/aws-cdk-lib/aws-applicationautoscaling

packages/aws-cdk-lib/aws-applicationautoscaling/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ The following example scales the fleet out in the morning, and lets natural
177177
scaling take over at night:
178178

179179
```ts
180+
import { TimeZone } from 'aws-cdk-lib';
180181
declare const resource: SomeScalableResource;
181-
declare const TimeZone: TimeZone;
182182

183183
const capacity = resource.autoScaleCapacity({
184184
minCapacity: 1,
@@ -208,7 +208,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
208208
declare const code: lambda.Code;
209209

210210
const handler = new lambda.Function(this, 'MyFunction', {
211-
runtime: lambda.Runtime.PYTHON_3_7,
211+
runtime: lambda.Runtime.PYTHON_3_12,
212212
handler: 'index.handler',
213213
code,
214214

0 commit comments

Comments
 (0)