Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 2.38.0 #21633

Merged
merged 45 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
cc0b005
fix(route53-targets): InterfaceVpcEndpointTarget incorrectly accepts …
corymhall Aug 9, 2022
5408aad
docs(ssm): document how to use valueFromLookup for specific value for…
corymhall Aug 9, 2022
adf4022
fix(codepipeline-actions): cross stack reference causes stack cycle i…
skinny85 Aug 9, 2022
832c310
Merge branch 'main' into merge-back/2.37.0
mergify[bot] Aug 9, 2022
2cf5665
chore(merge-back): 2.37.0 (#21527)
mergify[bot] Aug 9, 2022
c6dbb96
fix(kms): imported key ignores environment from arn (#21519)
kaizencc Aug 10, 2022
a464ee1
fix(cloudfront): truncate long ResponseHeaderPolicy names (#21525)
blimmer Aug 10, 2022
b4f9e5e
feat(ecs-patterns): refactor fargate interfaces and add support for r…
michaeldrey Aug 10, 2022
605cc62
Revert "fix(ecs-patterns): memory limit is not set at the container l…
TheRealAmazonKendra Aug 10, 2022
0dd34dd
feat(cli): --concurrency option (#20345)
relm923 Aug 10, 2022
b1777d2
feat(cli): support hotswapping Lambda function's description and envi…
huyphan Aug 10, 2022
471511e
feat(aws-cloudwatch-actions): add ssm incidents as alarm action (#21167)
callumthomson Aug 10, 2022
7e2fe56
chore: npm-check-updates && yarn upgrade (#21540)
aws-cdk-automation Aug 10, 2022
5515ce4
revert "fix(eks): cannot disable cluster logging once it has been ena…
TheRealAmazonKendra Aug 10, 2022
3d259d6
docs: link to single source of truth for public pgp keys (#21541)
mrgrain Aug 10, 2022
aeae861
Merge branch 'main' into merge-back/2.37.1
mergify[bot] Aug 10, 2022
de69290
chore(merge-back): 2.37.1 (#21548)
mergify[bot] Aug 10, 2022
0ec31da
feat(s3): introduce a `fromCfnBucket()` method (#20081)
skinny85 Aug 11, 2022
bf0f07b
fix(lambda-event-sources): `rootCACertificate` does not support `ISec…
mrgrain Aug 11, 2022
c81068b
doc(cognito): Indicates no region restrictions (#21557)
watany-dev Aug 11, 2022
d1097b5
feat(appsync): expose the AppSyncDomain of the custom domain of an Ap…
AKoetsier Aug 11, 2022
ebab1cd
chore(cloud9): fix integ test that cannot pass (#21561)
TheRealAmazonKendra Aug 11, 2022
3f5d6d8
chore(batch): fix test that cannot pass (#21566)
TheRealAmazonKendra Aug 11, 2022
8783ec5
docs(logs-destinations): correctly set package description in README …
laurelmay Aug 12, 2022
6cb85a3
docs(lambda): Document recent changes to `vpcSubnets` property (#21572)
laurelmay Aug 12, 2022
1187f8c
chore(redshift): fix integ test (#21569)
TheRealAmazonKendra Aug 12, 2022
f135b80
fix(codepipeline-actions): ecr source action doesn't trigger the pipe…
corymhall Aug 12, 2022
401b428
feat(core): use literal for stack.partition (under feature flag) (#21…
jgrebholz Aug 12, 2022
16c0c98
feat(cfnspec): cloudformation spec v84.0.0 (#21574)
aws-cdk-automation Aug 12, 2022
78c858f
fix(aws-apigateway): CloudWatch logging should be disabled by default…
corymhall Aug 12, 2022
b777878
chore(rds): support postgreSQL v14 (and Other) (#21581)
watany-dev Aug 12, 2022
fbed1e0
chore(elasticloadbalancingv2): fix failing integ test (#21583)
TheRealAmazonKendra Aug 12, 2022
90786d6
fix: duration doesn't get accurately compared in alb service base (#2…
peterwoodworth Aug 14, 2022
430b81d
chore(deps): Bump awscli from 1.25.46 to 1.25.51 in /packages/@aws-cd…
dependabot[bot] Aug 15, 2022
f44eb98
fix(route53): misleading error message in `fromLookup` if `domainName…
jumic Aug 15, 2022
ea11f33
feat(pipelines): add static PipelineBase.isPipeline method (#21075)
Rabadash8820 Aug 15, 2022
0c654e9
feat(ec2): add P4DE instances (in developer preview) (#21590)
jumic Aug 15, 2022
e48cf15
feat(cli): cdk watch --concurrency (#21598)
misterjoshua Aug 16, 2022
58101a6
feat(cloudfront): create distributions with HTTP/3 (#21613)
laurelmay Aug 16, 2022
1920313
feat(servicediscovery): add support for API only services within a DN…
jmortlock Aug 16, 2022
e53c4f7
chore(opensearch): fix broken integration test (#21617)
TheRealAmazonKendra Aug 16, 2022
ae5aceb
chore(elasticsearch): fix broken integration test (#21616)
TheRealAmazonKendra Aug 16, 2022
b8708e9
chore(integ-runner): publish integ-runner for CDK v2 (#21620)
corymhall Aug 16, 2022
4268547
chore(s3-deployment): update failing integ tests (#21631)
TheRealAmazonKendra Aug 17, 2022
9455357
chore(release): 2.38.0
Aug 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions CHANGELOG.v2.alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.38.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.37.1-alpha.0...v2.38.0-alpha.0) (2022-08-17)


### Features

* **appsync:** expose the AppSyncDomain of the custom domain of an AppSync api ([#21554](https://github.com/aws/aws-cdk/issues/21554)) ([d1097b5](https://github.com/aws/aws-cdk/commit/d1097b5199727b3de6c98850f8efe0a9fae53706))

## [2.37.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.37.0-alpha.0...v2.37.1-alpha.0) (2022-08-10)

## [2.37.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.36.0-alpha.0...v2.37.0-alpha.0) (2022-08-09)
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.38.0](https://github.com/aws/aws-cdk/compare/v2.37.1...v2.38.0) (2022-08-17)


### Features

* **aws-cloudwatch-actions:** add ssm incidents as alarm action ([#21167](https://github.com/aws/aws-cdk/issues/21167)) ([471511e](https://github.com/aws/aws-cdk/commit/471511e6628c4f0cc4b18ab232ecb102000ca9e8)), closes [#20553](https://github.com/aws/aws-cdk/issues/20553) [#20552](https://github.com/aws/aws-cdk/issues/20552)
* **cfnspec:** cloudformation spec v84.0.0 ([#21574](https://github.com/aws/aws-cdk/issues/21574)) ([16c0c98](https://github.com/aws/aws-cdk/commit/16c0c988fe47dc8962ebbccc5755613735fedd28))
* **cli:** --concurrency option ([#20345](https://github.com/aws/aws-cdk/issues/20345)) ([0dd34dd](https://github.com/aws/aws-cdk/commit/0dd34dd85379abaee23c23caa3e8e4565b64087c)), closes [#1973](https://github.com/aws/aws-cdk/issues/1973) [#19378](https://github.com/aws/aws-cdk/issues/19378)
* **cli:** cdk watch --concurrency ([#21598](https://github.com/aws/aws-cdk/issues/21598)) ([e48cf15](https://github.com/aws/aws-cdk/commit/e48cf15d6fa0ab1072684337b6ff4ba31b8f9298)), closes [#20345](https://github.com/aws/aws-cdk/issues/20345) [#21597](https://github.com/aws/aws-cdk/issues/21597)
* **cli:** support hotswapping Lambda function's description and environment variables ([#21532](https://github.com/aws/aws-cdk/issues/21532)) ([b1777d2](https://github.com/aws/aws-cdk/commit/b1777d2938b19d5fbb488f19b65a09422bbd0656)), closes [#82dbd4](https://github.com/aws/aws-cdk/issues/82dbd4) [#20787](https://github.com/aws/aws-cdk/issues/20787)
* **cloudfront:** create distributions with HTTP/3 ([#21613](https://github.com/aws/aws-cdk/issues/21613)) ([58101a6](https://github.com/aws/aws-cdk/commit/58101a6edd60eb6ecd73b6b484862353d1df130a))
* **core:** use literal for stack.partition (under feature flag) ([#21420](https://github.com/aws/aws-cdk/issues/21420)) ([401b428](https://github.com/aws/aws-cdk/commit/401b428637cecf322886ba948dd5c3e9b0e46734)), closes [#4092](https://github.com/aws/aws-cdk/issues/4092)
* **ec2:** add P4DE instances (in developer preview) ([#21590](https://github.com/aws/aws-cdk/issues/21590)) ([0c654e9](https://github.com/aws/aws-cdk/commit/0c654e92836011298af178011eddf2d878133d6b)), closes [#20924](https://github.com/aws/aws-cdk/issues/20924) [/github.com/aws/aws-cdk/issues/20924#issuecomment-1204357355](https://github.com/aws//github.com/aws/aws-cdk/issues/20924/issues/issuecomment-1204357355)
* **ecs-patterns:** refactor fargate interfaces and add support for runtimePlatform ([#21529](https://github.com/aws/aws-cdk/issues/21529)) ([b4f9e5e](https://github.com/aws/aws-cdk/commit/b4f9e5eb376a560dcb9a61d72e32ed602bc02c66)), closes [#20756](https://github.com/aws/aws-cdk/issues/20756) [#20756](https://github.com/aws/aws-cdk/issues/20756) [#18462](https://github.com/aws/aws-cdk/issues/18462)
* **pipelines:** add static PipelineBase.isPipeline method ([#21075](https://github.com/aws/aws-cdk/issues/21075)) ([ea11f33](https://github.com/aws/aws-cdk/commit/ea11f33c7380ba2d79c122397576782ed13fe00e))
* **s3:** introduce a `fromCfnBucket()` method ([#20081](https://github.com/aws/aws-cdk/issues/20081)) ([0ec31da](https://github.com/aws/aws-cdk/commit/0ec31da8ef301a948aac23ba4f50958bb95761ce))
* **servicediscovery:** add support for API only services within a DNS namespace ([#21494](https://github.com/aws/aws-cdk/issues/21494)) ([1920313](https://github.com/aws/aws-cdk/commit/19203132f469195e1216812514ad32f6db179b3c))


### Bug Fixes

* **route53:** misleading error message in `fromLookup` if `domainName` is undefined ([#21596](https://github.com/aws/aws-cdk/issues/21596)) ([f44eb98](https://github.com/aws/aws-cdk/commit/f44eb9800ac80b9edde62771377d32a017880701)), closes [#10053](https://github.com/aws/aws-cdk/issues/10053)
* duration doesn't get accurately compared in alb service base ([#21584](https://github.com/aws/aws-cdk/issues/21584)) ([90786d6](https://github.com/aws/aws-cdk/commit/90786d6d2968fd268f30bdd940bfc9915e629fd3)), closes [#21560](https://github.com/aws/aws-cdk/issues/21560)
* **aws-apigateway:** CloudWatch logging should be disabled by default (under feature flag) ([#21546](https://github.com/aws/aws-cdk/issues/21546)) ([78c858f](https://github.com/aws/aws-cdk/commit/78c858f26fe9b688dc0260d7e8a59004b57c388d)), closes [#10878](https://github.com/aws/aws-cdk/issues/10878)
* **cloudfront:** truncate long ResponseHeaderPolicy names ([#21525](https://github.com/aws/aws-cdk/issues/21525)) ([a464ee1](https://github.com/aws/aws-cdk/commit/a464ee12e2717af28053d5f14de95a444f451d23)), closes [#21524](https://github.com/aws/aws-cdk/issues/21524)
* **codepipeline-actions:** cross stack reference causes stack cycle in sources that use CloudWatch Events ([#20149](https://github.com/aws/aws-cdk/issues/20149)) ([adf4022](https://github.com/aws/aws-cdk/commit/adf402213d06087f9380984ab37543fe61b7e9e3)), closes [#3087](https://github.com/aws/aws-cdk/issues/3087) [#8042](https://github.com/aws/aws-cdk/issues/8042) [#10896](https://github.com/aws/aws-cdk/issues/10896)
* **codepipeline-actions:** ecr source action doesn't trigger the pipeline ([#21580](https://github.com/aws/aws-cdk/issues/21580)) ([f135b80](https://github.com/aws/aws-cdk/commit/f135b802a80df22fbbfeb7ecebe6c3c98cc26c1e)), closes [#10901](https://github.com/aws/aws-cdk/issues/10901)
* **kms:** imported key ignores environment from arn ([#21519](https://github.com/aws/aws-cdk/issues/21519)) ([c6dbb96](https://github.com/aws/aws-cdk/commit/c6dbb96f3fcf89a247bf7e7271f3c5b283563144)), closes [#21464](https://github.com/aws/aws-cdk/issues/21464)
* **lambda-event-sources:** `rootCACertificate` does not support `ISecret` ([#21555](https://github.com/aws/aws-cdk/issues/21555)) ([bf0f07b](https://github.com/aws/aws-cdk/commit/bf0f07b7adeef4c0e4e0034b868c22e29353638f)), closes [#21422](https://github.com/aws/aws-cdk/issues/21422)
* **route53-targets:** InterfaceVpcEndpointTarget incorrectly accepts an imported endpoint ([#21523](https://github.com/aws/aws-cdk/issues/21523)) ([cc0b005](https://github.com/aws/aws-cdk/commit/cc0b005b9687455ed84c07eaa36f37af510e1dde)), closes [#10432](https://github.com/aws/aws-cdk/issues/10432)

## [2.37.1](https://github.com/aws/aws-cdk/compare/v2.37.0...v2.37.1) (2022-08-10)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion MANUAL_INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ its signature against our public signing key. To do so, you need
the following things:

* [GNU Privacy Guard](https://gnupg.org/) needs to be installed.
* Download our public key: https://s3.amazonaws.com/aws-cdk-beta/cdk-team.asc
* Download our public key: https://docs.aws.amazon.com/cdk/v2/guide/pgp-keys.html
* Make sure you have downloaded both `aws-cdk-x.y.z.zip`
and `aws-cdk-x.y.z.zip.sig`.

Expand Down
4 changes: 4 additions & 0 deletions allowed-breaking-changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ removed:@aws-cdk/aws-lambda-event-sources.SelfManagedKafkaEventSourceProps.onFai
# removed kubernetes version from EKS
removed:@aws-cdk/aws-eks.KubernetesVersion.V1_22

# change the type of vpcEndpoint from ec2.IInterfaceVpcEndpoint to ec2.InterfaceVpcEndpoint.
# even though it accepted IInterfaceVpcEndpoint, the actual implementation required a
# managed construct ec2.InterfaceVpcEndpoint
incompatible-argument:@aws-cdk/aws-route53-targets.InterfaceVpcEndpointTarget.<initializer>
# changed the type of requiresBootstrapStackVersion to Optional<number> (formerly number)
# to allow the CLI to skip validating the bootstrap stack when the stack is not needed
changed-type:@aws-cdk/cx-api.AssetManifestArtifact.requiresBootstrapStackVersion
Expand Down
17 changes: 14 additions & 3 deletions packages/@aws-cdk/aws-apigateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -842,19 +842,30 @@ API.
The following example will configure API Gateway to emit logs and data traces to
AWS CloudWatch for all API calls:

> By default, an IAM role will be created and associated with API Gateway to
allow it to write logs and metrics to AWS CloudWatch unless `cloudWatchRole` is
set to `false`.
> Note: whether or not this is enabled or disabled by default is controlled by the
`@aws-cdk/aws-apigateway:disableCloudWatchRole` feature flag. When this feature flag
is set to `false` the default behavior will set `cloudWatchRole=true`

This is controlled via the `@aws-cdk/aws-apigateway:disableCloudWatchRole` feature flag and
is disabled by default. When enabled (or `@aws-cdk/aws-apigateway:disableCloudWatchRole=false`),
an IAM role will be created and associated with API Gateway to allow it to write logs and metrics to AWS CloudWatch.

```ts
const api = new apigateway.RestApi(this, 'books', {
cloudWatchRole: true,
deployOptions: {
loggingLevel: apigateway.MethodLoggingLevel.INFO,
dataTraceEnabled: true
}
})
```

> Note: there can only be a single apigateway.CfnAccount per AWS environment
so if you create multiple `RestApi`s with `cloudWatchRole=true` each new `RestApi`
will overwrite the `CfnAccount`. It is recommended to set `cloudWatchRole=false`
(the default behavior if `@aws-cdk/aws-apigateway:disableCloudWatchRole` is enabled)
and only create a single CloudWatch role and account per environment.

### Deep dive: Invalidation of deployments

API Gateway deployments are an immutable snapshot of the API. This means that we
Expand Down
13 changes: 9 additions & 4 deletions packages/@aws-cdk/aws-apigateway/lib/restapi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
import { IVpcEndpoint } from '@aws-cdk/aws-ec2';
import * as iam from '@aws-cdk/aws-iam';
import { ArnFormat, CfnOutput, IResource as IResourceBase, Resource, Stack, Token } from '@aws-cdk/core';
import { ArnFormat, CfnOutput, IResource as IResourceBase, Resource, Stack, Token, FeatureFlags, RemovalPolicy } from '@aws-cdk/core';
import { APIGATEWAY_DISABLE_CLOUDWATCH_ROLE } from '@aws-cdk/cx-api';
import { Construct } from 'constructs';
import { ApiDefinition } from './api-definition';
import { ApiKey, ApiKeyOptions, IApiKey } from './api-key';
Expand Down Expand Up @@ -158,7 +159,7 @@ export interface RestApiBaseProps {
/**
* Automatically configure an AWS CloudWatch role for API Gateway.
*
* @default true
* @default - false if `@aws-cdk/aws-apigateway:disableCloudWatchRole` is enabled, true otherwise
*/
readonly cloudWatchRole?: boolean;

Expand Down Expand Up @@ -531,10 +532,12 @@ export abstract class RestApiBase extends Resource implements IRestApi {
assumedBy: new iam.ServicePrincipal('apigateway.amazonaws.com'),
managedPolicies: [iam.ManagedPolicy.fromAwsManagedPolicyName('service-role/AmazonAPIGatewayPushToCloudWatchLogs')],
});
role.applyRemovalPolicy(RemovalPolicy.RETAIN);

this.cloudWatchAccount = new CfnAccount(this, 'Account', {
cloudWatchRoleArn: role.roleArn,
});
this.cloudWatchAccount.applyRemovalPolicy(RemovalPolicy.RETAIN);

this.cloudWatchAccount.node.addDependency(apiResource);
}
Expand Down Expand Up @@ -663,7 +666,8 @@ export class SpecRestApi extends RestApiBase {
this.addDomainName('CustomDomain', props.domainName);
}

const cloudWatchRole = props.cloudWatchRole ?? true;
const cloudWatchRoleDefault = FeatureFlags.of(this).isEnabled(APIGATEWAY_DISABLE_CLOUDWATCH_ROLE) ? false : true;
const cloudWatchRole = props.cloudWatchRole ?? cloudWatchRoleDefault;
if (cloudWatchRole) {
this._configureCloudWatchRole(resource);
}
Expand Down Expand Up @@ -769,7 +773,8 @@ export class RestApi extends RestApiBase {
this.node.defaultChild = resource;
this.restApiId = resource.ref;

const cloudWatchRole = props.cloudWatchRole ?? true;
const cloudWatchRoleDefault = FeatureFlags.of(this).isEnabled(APIGATEWAY_DISABLE_CLOUDWATCH_ROLE) ? false : true;
const cloudWatchRole = props.cloudWatchRole ?? cloudWatchRoleDefault;
if (cloudWatchRole) {
this._configureCloudWatchRole(resource);
}
Expand Down
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-apigateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"@aws-cdk/assertions": "0.0.0",
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/integ-tests": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^27.5.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"17.0.0"}
{"version":"20.0.0"}
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"version": "20.0.0",
"testCases": {
"integ.api-definition.asset": {
"restapi-fromdefinition/DefaultTest": {
"stacks": [
"integtest-restapi-fromdefinition-asset"
],
"diffAssets": false,
"stackUpdateWorkflow": true
"assertionStack": "restapifromdefinitionDefaultTestDeployAssertDF3B0845"
}
},
"synthContext": {},
"enableLookups": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@
]
}
]
}
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"myapiAccountEC421A0A": {
"Type": "AWS::ApiGateway::Account",
Expand All @@ -157,7 +159,9 @@
},
"DependsOn": [
"myapi4C7BF186"
]
],
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
}
},
"Outputs": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "17.0.0",
"version": "20.0.0",
"artifacts": {
"Tree": {
"type": "cdk:tree",
Expand Down Expand Up @@ -109,6 +109,15 @@
]
},
"displayName": "integtest-restapi-fromdefinition-asset"
},
"restapifromdefinitionDefaultTestDeployAssertDF3B0845": {
"type": "aws:cloudformation:stack",
"environment": "aws://unknown-account/unknown-region",
"properties": {
"templateFile": "restapifromdefinitionDefaultTestDeployAssertDF3B0845.template.json",
"validateOnSynth": false
},
"displayName": "restapi-fromdefinition/DefaultTest/DeployAssert"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"id": "Tree",
"path": "Tree",
"constructInfo": {
"fqn": "@aws-cdk/core.Construct",
"version": "0.0.0"
"fqn": "constructs.Construct",
"version": "10.1.63"
}
},
"integtest-restapi-fromdefinition-asset": {
Expand Down Expand Up @@ -362,14 +362,14 @@
}
},
"constructInfo": {
"fqn": "@aws-cdk/core.Construct",
"version": "0.0.0"
"fqn": "constructs.Construct",
"version": "10.1.63"
}
}
},
"constructInfo": {
"fqn": "@aws-cdk/core.Construct",
"version": "0.0.0"
"fqn": "constructs.Construct",
"version": "10.1.63"
}
},
"PetsURL": {
Expand All @@ -393,6 +393,42 @@
"fqn": "@aws-cdk/core.Stack",
"version": "0.0.0"
}
},
"restapi-fromdefinition": {
"id": "restapi-fromdefinition",
"path": "restapi-fromdefinition",
"children": {
"DefaultTest": {
"id": "DefaultTest",
"path": "restapi-fromdefinition/DefaultTest",
"children": {
"Default": {
"id": "Default",
"path": "restapi-fromdefinition/DefaultTest/Default",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.63"
}
},
"DeployAssert": {
"id": "DeployAssert",
"path": "restapi-fromdefinition/DefaultTest/DeployAssert",
"constructInfo": {
"fqn": "@aws-cdk/core.Stack",
"version": "0.0.0"
}
}
},
"constructInfo": {
"fqn": "@aws-cdk/integ-tests.IntegTestCase",
"version": "0.0.0"
}
}
},
"constructInfo": {
"fqn": "@aws-cdk/integ-tests.IntegTest",
"version": "0.0.0"
}
}
},
"constructInfo": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"17.0.0"}
{"version":"20.0.0"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"version": "20.0.0",
"testCases": {
"integ.api-definition.inline": {
"inline-api-definition/DefaultTest": {
"stacks": [
"integtest-restapi-fromdefinition-inline"
],
"diffAssets": false,
"stackUpdateWorkflow": true
"assertionStack": "inlineapidefinitionDefaultTestDeployAssert923CAC29"
}
},
"synthContext": {},
"enableLookups": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
]
}
]
}
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"myapiAccountEC421A0A": {
"Type": "AWS::ApiGateway::Account",
Expand All @@ -117,7 +119,9 @@
},
"DependsOn": [
"myapi4C7BF186"
]
],
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
}
},
"Outputs": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "17.0.0",
"version": "20.0.0",
"artifacts": {
"Tree": {
"type": "cdk:tree",
Expand Down Expand Up @@ -59,6 +59,15 @@
]
},
"displayName": "integtest-restapi-fromdefinition-inline"
},
"inlineapidefinitionDefaultTestDeployAssert923CAC29": {
"type": "aws:cloudformation:stack",
"environment": "aws://unknown-account/unknown-region",
"properties": {
"templateFile": "inlineapidefinitionDefaultTestDeployAssert923CAC29.template.json",
"validateOnSynth": false
},
"displayName": "inline-api-definition/DefaultTest/DeployAssert"
}
}
}
Loading