Skip to content

Commit 7be391d

Browse files
authored
Merge branch 'main' into merge-back/2.66.1
2 parents 539d036 + eff5bec commit 7be391d

File tree

1,237 files changed

+27309
-11222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,237 files changed

+27309
-11222
lines changed

.github/workflows/issue-label-assign.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ env:
137137
{"area":"@aws-cdk/aws-dms","keywords":["aws-dms","dms"],"labels":["@aws-cdk/aws-dms"]},
138138
{"area":"@aws-cdk/aws-docdb","keywords":["aws-docdb","docdb"],"labels":["@aws-cdk/aws-docdb"]},
139139
{"area":"@aws-cdk/aws-dynamodb","keywords":["aws-dynamodb","dynamo-db"],"labels":["@aws-cdk/aws-dynamodb"]},
140-
{"area":"@aws-cdk/aws-dynamodb-global","keywords":["aws-dynamodb-global","dynamodb-global"],"labels":["@aws-cdk/aws-dynamodb-global"]},
141140
{"area":"@aws-cdk/aws-ec2","keywords":["aws-ec2","ec2","vpc","privatesubnet","publicsubnet","vpngateway","vpnconnection","networkacl"],"labels":["@aws-cdk/aws-ec2"]},
142141
{"area":"@aws-cdk/aws-ecr","keywords":["aws-ecr","ecr"],"labels":["@aws-cdk/aws-ecr"]},
143142
{"area":"@aws-cdk/aws-ecr-assets","keywords":["aws-ecr-assets","ecrassets"],"labels":["@aws-cdk/aws-ecr-assets"]},

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ yarn-error.log
4848

4949
/.versionrc.json
5050
RELEASE_NOTES.md
51+
52+
# Produced by integ tests
53+
read*lock

packages/@aws-cdk-testing/cli-integ/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tests/
3333
├── init-python
3434
├── init-typescript-app
3535
├── init-typescript-lib
36+
├── init-go
3637
└── uberpackage
3738
```
3839

packages/@aws-cdk-testing/cli-integ/lib/package-sources/release-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as os from 'os';
22
import * as path from 'path';
33
import * as fs from 'fs-extra';
4+
import { IPackageSourceSetup, IPackageSource } from './source';
45
import { copyDirectoryContents } from '../files';
56
import { shell, rimraf, addToShellPath } from '../shell';
6-
import { IPackageSourceSetup, IPackageSource } from './source';
77

88
export class ReleasePackageSourceSetup implements IPackageSourceSetup {
99
readonly name = 'release';

packages/@aws-cdk-testing/cli-integ/lib/package-sources/repo-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as os from 'os';
22
import * as path from 'path';
33
import * as fs from 'fs-extra';
4+
import { IPackageSourceSetup, IPackageSource } from './source';
45
import { findUp } from '../files';
56
import { shell, addToShellPath } from '../shell';
6-
import { IPackageSourceSetup, IPackageSource } from './source';
77

88
export class RepoPackageSourceSetup implements IPackageSourceSetup {
99
readonly name = 'repo';

packages/@aws-cdk-testing/cli-integ/lib/staging/maven.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable no-console */
22
import * as path from 'path';
3-
import { writeFile } from '../files';
4-
import { shell } from '../shell';
53
import { LoginInformation } from './codeartifact';
64
import { parallelShell } from './parallel-shell';
75
import { UsageDir } from './usage-dir';
6+
import { writeFile } from '../files';
7+
import { shell } from '../shell';
88

99
// Do not try to JIT the Maven binary
1010
const NO_JIT = '-XX:+TieredCompilation -XX:TieredStopAtLevel=1';

packages/@aws-cdk-testing/cli-integ/lib/staging/nuget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* eslint-disable no-console */
2-
import { writeFile } from '../files';
3-
import { shell } from '../shell';
42
import { LoginInformation } from './codeartifact';
53
import { parallelShell } from './parallel-shell';
64
import { UsageDir } from './usage-dir';
5+
import { writeFile } from '../files';
6+
import { shell } from '../shell';
77

88
export async function nugetLogin(login: LoginInformation, usageDir: UsageDir) {
99
// NuGet.Config MUST live in the current directory or in the home directory, and there is no environment

packages/@aws-cdk-testing/cli-integ/lib/staging/pypi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable no-console */
22
import * as path from 'path';
3-
import { writeFile } from '../files';
4-
import { shell } from '../shell';
53
import { LoginInformation } from './codeartifact';
64
import { parallelShell } from './parallel-shell';
75
import { UsageDir } from './usage-dir';
6+
import { writeFile } from '../files';
7+
import { shell } from '../shell';
88

99
export async function pypiLogin(login: LoginInformation, usageDir: UsageDir) {
1010
// Write pip config file and set environment var

packages/@aws-cdk/alexa-ask/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
"@aws-cdk/cdk-build-tools": "0.0.0",
8686
"@aws-cdk/cfn2ts": "0.0.0",
8787
"@aws-cdk/pkglint": "0.0.0",
88-
"@types/jest": "^27.5.2"
88+
"@types/jest": "^27.5.2",
89+
"jsii": "v4.9-next"
8990
},
9091
"dependencies": {
9192
"@aws-cdk/core": "0.0.0",

packages/@aws-cdk/assert-internal/lib/assertion.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable import/order */
2+
// @TODO: These tests fail if all imports are at the top
13
import { Inspector } from './inspector';
24

35
export abstract class Assertion<InspectorClass extends Inspector> {

packages/@aws-cdk/assert-internal/lib/assertions/count-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { isSuperObject } from './have-resource';
12
import { Assertion, JestFriendlyAssertion } from '../assertion';
23
import { StackInspector } from '../inspector';
3-
import { isSuperObject } from './have-resource';
44

55
/**
66
* An assertion to check whether a resource of a given type and with the given properties exists, disregarding properties

packages/@aws-cdk/assert-internal/lib/assertions/have-resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { anything, deepObjectLike, match, objectLike } from './have-resource-matchers';
12
import { Assertion, JestFriendlyAssertion } from '../assertion';
23
import { StackInspector } from '../inspector';
3-
import { anything, deepObjectLike, match, objectLike } from './have-resource-matchers';
44

55
/**
66
* Magic value to signify that a certain key should be absent from the property bag.

packages/@aws-cdk/assert-internal/test/have-resource.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { mkResource, mkStack } from './cloud-artifact';
12
import {
23
ABSENT,
34
arrayWith,
@@ -9,7 +10,6 @@ import {
910
anything,
1011
stringLike,
1112
} from '../lib/index';
12-
import { mkResource, mkStack } from './cloud-artifact';
1313

1414
test('support resource with no properties', () => {
1515
const synthStack = mkStack({

packages/@aws-cdk/assert-internal/test/match-template.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { MatchStyle } from '../lib';
21
import { mkStack } from './cloud-artifact';
2+
import { MatchStyle } from '../lib';
33
import '../jest';
44

55
describe('matchTemplate', () => {

packages/@aws-cdk/assertions/lib/private/resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Match, Matcher } from '..';
21
import { AbsentMatch } from './matchers/absent';
32
import { formatAllMismatches, matchSection, formatSectionMatchFailure } from './section';
43
import { Resource, Template } from './template';
4+
import { Match, Matcher } from '..';
55

66
export function findResources(template: Template, type: string, props: any = {}): { [key: string]: { [key: string]: any } } {
77
const section = template.Resources ?? {};

packages/@aws-cdk/assertions/lib/private/section.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { sortKeyComparator } from './sorting';
12
import { Match } from '../match';
23
import { Matcher, MatchResult } from '../matcher';
3-
import { sortKeyComparator } from './sorting';
44

55
export type MatchSuccess = { match: true, matches: { [key: string]: any }, analyzed: { [key: string]: any }, analyzedCount: number };
66
export type MatchFailure = { match: false, closestResults: Record<string, MatchResult>, analyzed: { [key: string]: any }, analyzedCount: number };

packages/@aws-cdk/aws-accessanalyzer/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"@aws-cdk/cdk-build-tools": "0.0.0",
8787
"@aws-cdk/cfn2ts": "0.0.0",
8888
"@aws-cdk/pkglint": "0.0.0",
89-
"@types/jest": "^27.5.2"
89+
"@types/jest": "^27.5.2",
90+
"jsii": "v4.9-next"
9091
},
9192
"dependencies": {
9293
"@aws-cdk/core": "0.0.0",

packages/@aws-cdk/aws-amazonmq/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
"@aws-cdk/cdk-build-tools": "0.0.0",
8686
"@aws-cdk/cfn2ts": "0.0.0",
8787
"@aws-cdk/pkglint": "0.0.0",
88-
"@types/jest": "^27.5.2"
88+
"@types/jest": "^27.5.2",
89+
"jsii": "v4.9-next"
8990
},
9091
"dependencies": {
9192
"@aws-cdk/core": "0.0.0",

packages/@aws-cdk/aws-amplify/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
"@aws-cdk/cfn2ts": "0.0.0",
8989
"@aws-cdk/pkglint": "0.0.0",
9090
"@types/jest": "^27.5.2",
91-
"aws-sdk": "^2.1317.0"
91+
"aws-sdk": "^2.1317.0",
92+
"jsii": "v4.9-next"
9293
},
9394
"dependencies": {
9495
"@aws-cdk/aws-codebuild": "0.0.0",

packages/@aws-cdk/aws-amplifyuibuilder/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
"@aws-cdk/cfn2ts": "0.0.0",
9090
"@aws-cdk/pkglint": "0.0.0",
9191
"@types/jest": "^27.5.2",
92-
"@types/node": "18.11.19"
92+
"@types/node": "18.11.19",
93+
"jsii": "v4.9-next"
9394
},
9495
"dependencies": {
9596
"@aws-cdk/core": "0.0.0",

packages/@aws-cdk/aws-apigateway/lib/integrations/lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as iam from '@aws-cdk/aws-iam';
22
import * as lambda from '@aws-cdk/aws-lambda';
33
import { Lazy, Names, Token } from '@aws-cdk/core';
4+
import { AwsIntegration } from './aws';
45
import { IntegrationConfig, IntegrationOptions } from '../integration';
56
import { Method } from '../method';
6-
import { AwsIntegration } from './aws';
77

88
export interface LambdaIntegrationOptions extends IntegrationOptions {
99
/**

packages/@aws-cdk/aws-apigateway/lib/integrations/stepfunctions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import * as iam from '@aws-cdk/aws-iam';
44
import * as sfn from '@aws-cdk/aws-stepfunctions';
55
import { Token } from '@aws-cdk/core';
66
import { RequestContext } from '.';
7+
import { AwsIntegration } from './aws';
78
import { IntegrationConfig, IntegrationOptions, PassthroughBehavior } from '../integration';
89
import { Method } from '../method';
910
import { Model } from '../model';
10-
import { AwsIntegration } from './aws';
1111
/**
1212
* Options when configuring Step Functions synchronous integration with Rest API
1313
*/

packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
"@aws-cdk/pkglint": "0.0.0",
8888
"@types/aws-lambda": "^8.10.110",
8989
"@aws-cdk/integ-tests": "0.0.0",
90-
"@types/jest": "^27.5.2"
90+
"@types/jest": "^27.5.2",
91+
"jsii": "v4.9-next"
9192
},
9293
"dependencies": {
9394
"@aws-cdk/aws-apigatewayv2": "0.0.0",

packages/@aws-cdk/aws-apigatewayv2-authorizers/test/http/jwt.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Template } from '@aws-cdk/assertions';
22
import { HttpApi } from '@aws-cdk/aws-apigatewayv2';
33
import { Stack } from '@aws-cdk/core';
4-
import { HttpJwtAuthorizer } from '../../lib';
54
import { DummyRouteIntegration } from './integration';
5+
import { HttpJwtAuthorizer } from '../../lib';
66

77
describe('HttpJwtAuthorizer', () => {
88
test('default', () => {

packages/@aws-cdk/aws-apigatewayv2-authorizers/test/http/lambda.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Match, Template } from '@aws-cdk/assertions';
22
import { HttpApi } from '@aws-cdk/aws-apigatewayv2';
33
import { Code, Function, Runtime } from '@aws-cdk/aws-lambda';
44
import { Duration, Stack } from '@aws-cdk/core';
5-
import { HttpLambdaAuthorizer, HttpLambdaResponseType } from '../../lib';
65
import { DummyRouteIntegration } from './integration';
6+
import { HttpLambdaAuthorizer, HttpLambdaResponseType } from '../../lib';
77

88
describe('HttpLambdaAuthorizer', () => {
99

packages/@aws-cdk/aws-apigatewayv2-authorizers/test/http/user-pool.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Template } from '@aws-cdk/assertions';
22
import { HttpApi } from '@aws-cdk/aws-apigatewayv2';
33
import { UserPool } from '@aws-cdk/aws-cognito';
44
import { Stack } from '@aws-cdk/core';
5-
import { HttpUserPoolAuthorizer } from '../../lib';
65
import { DummyRouteIntegration } from './integration';
6+
import { HttpUserPoolAuthorizer } from '../../lib';
77

88
describe('HttpUserPoolAuthorizer', () => {
99
test('default', () => {

packages/@aws-cdk/aws-apigatewayv2-integrations/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
"@aws-cdk/integ-runner": "0.0.0",
8484
"@aws-cdk/integ-tests": "0.0.0",
8585
"@aws-cdk/pkglint": "0.0.0",
86-
"@types/jest": "^27.5.2"
86+
"@types/jest": "^27.5.2",
87+
"jsii": "v4.9-next"
8788
},
8889
"dependencies": {
8990
"@aws-cdk/aws-apigatewayv2": "0.0.0",

packages/@aws-cdk/aws-apigatewayv2/lib/common/api-mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { IResource, Resource } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
3-
import { CfnApiMapping, CfnApiMappingProps } from '../apigatewayv2.generated';
43
import { IApi } from './api';
54
import { IDomainName } from './domain-name';
65
import { IStage } from './stage';
6+
import { CfnApiMapping, CfnApiMappingProps } from '../apigatewayv2.generated';
77

88
/**
99
* Represents an ApiGatewayV2 ApiMapping resource

packages/@aws-cdk/aws-apigatewayv2/lib/http/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { Metric, MetricOptions } from '@aws-cdk/aws-cloudwatch';
22
import { Duration } from '@aws-cdk/core';
33
import { Construct } from 'constructs';
4-
import { CfnApi, CfnApiProps } from '../apigatewayv2.generated';
5-
import { IApi } from '../common/api';
6-
import { ApiBase } from '../common/base';
7-
import { DomainMappingOptions } from '../common/stage';
84
import { IHttpRouteAuthorizer } from './authorizer';
95
import { HttpRouteIntegration } from './integration';
106
import { BatchHttpRouteOptions, HttpMethod, HttpRoute, HttpRouteKey } from './route';
117
import { IHttpStage, HttpStage, HttpStageOptions } from './stage';
128
import { VpcLink, VpcLinkProps } from './vpc-link';
9+
import { CfnApi, CfnApiProps } from '../apigatewayv2.generated';
10+
import { IApi } from '../common/api';
11+
import { ApiBase } from '../common/base';
12+
import { DomainMappingOptions } from '../common/stage';
1313

1414
/**
1515
* Represents an HTTP API

packages/@aws-cdk/aws-apigatewayv2/lib/http/authorizer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Duration, Resource } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
3+
import { IHttpApi } from './api';
4+
import { IHttpRoute } from './route';
35
import { CfnAuthorizer } from '../apigatewayv2.generated';
46

57
import { IAuthorizer } from '../common';
6-
import { IHttpApi } from './api';
7-
import { IHttpRoute } from './route';
88

99
/**
1010
* Supported Authorizer types

packages/@aws-cdk/aws-apigatewayv2/lib/http/integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { IRole } from '@aws-cdk/aws-iam';
22
import { Resource } from '@aws-cdk/core';
33
import { Construct } from 'constructs';
4+
import { IHttpApi } from './api';
5+
import { HttpMethod, IHttpRoute } from './route';
46
import { CfnIntegration } from '../apigatewayv2.generated';
57
import { IIntegration } from '../common';
68
import { ParameterMapping } from '../parameter-mapping';
7-
import { IHttpApi } from './api';
8-
import { HttpMethod, IHttpRoute } from './route';
99

1010
/**
1111
* Represents an Integration for an HTTP API.

packages/@aws-cdk/aws-apigatewayv2/lib/http/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import * as iam from '@aws-cdk/aws-iam';
22
import { Resource } from '@aws-cdk/core';
33
import { Construct } from 'constructs';
4-
import { CfnRoute, CfnRouteProps } from '../apigatewayv2.generated';
5-
import { IRoute } from '../common';
64
import { IHttpApi } from './api';
75
import { HttpRouteAuthorizerConfig, IHttpRouteAuthorizer } from './authorizer';
86
import { HttpRouteIntegration } from './integration';
7+
import { CfnRoute, CfnRouteProps } from '../apigatewayv2.generated';
8+
import { IRoute } from '../common';
99

1010
/**
1111
* Represents a Route for an HTTP API.

packages/@aws-cdk/aws-apigatewayv2/lib/http/stage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { Metric, MetricOptions } from '@aws-cdk/aws-cloudwatch';
22
import { Stack } from '@aws-cdk/core';
33
import { Construct } from 'constructs';
4+
import { IHttpApi } from './api';
45
import { CfnStage } from '../apigatewayv2.generated';
56
import { StageOptions, IStage, StageAttributes } from '../common';
67
import { IApi } from '../common/api';
78
import { StageBase } from '../common/base';
8-
import { IHttpApi } from './api';
99

1010
const DEFAULT_STAGE_NAME = '$default';
1111

packages/@aws-cdk/aws-apigatewayv2/lib/websocket/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Grant, IGrantable } from '@aws-cdk/aws-iam';
22
import { Stack } from '@aws-cdk/core';
33
import { Construct } from 'constructs';
4+
import { WebSocketRoute, WebSocketRouteOptions } from './route';
45
import { CfnApi } from '../apigatewayv2.generated';
56
import { IApi } from '../common/api';
67
import { ApiBase } from '../common/base';
7-
import { WebSocketRoute, WebSocketRouteOptions } from './route';
88

99
/**
1010
* Represents a WebSocket API

packages/@aws-cdk/aws-apigatewayv2/lib/websocket/authorizer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Resource } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
3+
import { IWebSocketApi } from './api';
4+
import { IWebSocketRoute } from './route';
35
import { CfnAuthorizer } from '../apigatewayv2.generated';
46

57
import { IAuthorizer } from '../common';
6-
import { IWebSocketApi } from './api';
7-
import { IWebSocketRoute } from './route';
88

99
/**
1010
* Supported Authorizer types

packages/@aws-cdk/aws-apigatewayv2/lib/websocket/integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Resource } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
3-
import { CfnIntegration } from '../apigatewayv2.generated';
4-
import { IIntegration } from '../common';
53
import { IWebSocketApi } from './api';
64
import { IWebSocketRoute } from './route';
5+
import { CfnIntegration } from '../apigatewayv2.generated';
6+
import { IIntegration } from '../common';
77

88
/**
99
* Represents an Integration for an WebSocket API.

packages/@aws-cdk/aws-apigatewayv2/lib/websocket/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Resource } from '@aws-cdk/core';
22
import { Construct } from 'constructs';
3-
import { CfnRoute, CfnRouteResponse } from '../apigatewayv2.generated';
4-
import { IRoute } from '../common';
53
import { IWebSocketApi } from './api';
64
import { IWebSocketRouteAuthorizer, WebSocketNoneAuthorizer } from './authorizer';
75
import { WebSocketRouteIntegration } from './integration';
6+
import { CfnRoute, CfnRouteResponse } from '../apigatewayv2.generated';
7+
import { IRoute } from '../common';
88

99
/**
1010
* Represents a Route for an WebSocket API.

0 commit comments

Comments
 (0)