Skip to content

Commit

Permalink
fix Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robertd committed Feb 15, 2024
1 parent 91d94e5 commit b5259d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-applicationautoscaling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ The following example scales the fleet out in the morning, and lets natural
scaling take over at night:

```ts
import { TimeZone } from 'aws-cdk-lib';
declare const resource: SomeScalableResource;
declare const TimeZone: TimeZone;

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

const handler = new lambda.Function(this, 'MyFunction', {
runtime: lambda.Runtime.PYTHON_3_7,
runtime: lambda.Runtime.PYTHON_3_12,
handler: 'index.handler',
code,

Expand Down

0 comments on commit b5259d2

Please sign in to comment.