Skip to content

Releases: aws/aws-cdk

v1.16.1

12 Nov 00:50
9a5a761
Compare
Choose a tag to compare

Bug Fixes

  • jsii: correct handling of mappings into object parameters (0d23eb3)

v1.16.0

11 Nov 18:09
ca503f4
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • core: template file names in cdk.out for new projects created by cdk init will use stack.artifactId instead of the physical stack name to enable multiple stacks to use the same name. In most cases the artifact ID is the same as the stack name. To enable this fix for old projects, add the context key @aws-cdk/core:enableStackNameDuplicates: true in your cdk.json file.

Features

  • apigateway: publish api endpoint through an export name #3662 (#4849) (652a8f5)
  • aws-ecr: add onImageScanCompleted() support (#4819) (5bdd9bb), closes #4818
  • aws-eks: support aws/aws-node-termination-handler as the default spot draining handler (#4931) (f4a41d1)
  • aws-events: Adds EventBus resources (#4609) (bbec8c5)
  • cfnspec: update CloudFormation spec to 7.3.0 (#4838) (ed904cb)
  • cli: add @types/node to typescript init templates (#4947) (efde8e9), closes #3839 #4462 #3840
  • cli: cdk version command (#4720) (3459982)
  • cli: docker image asset scanning by default (#4874) (87421c9)
  • cli: dotnet init templates come with Roslyn Analyzers (#4765) (fbd007e)
  • cloudwatch: allow overriding of metric graph rendering (#4571) (3643130)
  • core: add resource type and properties for all CfnResource constructs to tree.json (#4894) (4037155), closes #4562
  • core: cdk init --generate-only (#4826) (9cc1e52)
  • custom-resources: allow specifying role for AwsCustomResource (#4909) (98fb888), closes #4906
  • custom-resources: implement IGrantable for AwsCustomResource (#4790) (b840784), closes #4710
  • ec2: allow using existing security groups with interface VPC endpoints (#4908) (bda28e8), closes #4589 #2699 #3446
  • ec2: support NAT instances, AMI lookups (#4898) (dca9a24), closes #4876
  • ecs: add cloudMapNamespace as a property of cloudMapOptions (#4890) (06caf4f)
  • feature flags rfc (#4925) (db50ab0)
  • custom-resources: provider framework (#4572) (f9eec04)
  • ecs-patterns: add listener port as a property for network/application load balanced services (#4825) (20b8e5d), closes #4793
  • elbv2: add redirect action of ALB's listener (#4606) (c770d3c), closes #4546
  • events: support event bus for rule (#4839) (f5858ba)
  • s3: onCloudTrailWriteObject matches all update events (#4723) (46d9885), closes #4634
  • sns: support cross-region subscription on imported topics (#4917) (3dd194d), closes #3842
  • stepfunctions: add EvaluateExpression task (#4602) (6dba637)
  • vpc: allow Vpc.fromLookup() to discover asymmetric subnets (#4544) (2ccb745), closes #3407

Bug Fixes

  • apigateway: allow multiple api keys to the same usage plan (#4903) (142bd0e), closes #4860
  • assets: support exceptions to exclude patterns (#4473) (b7b4336)
  • cloudfront: aliasConfiguration fallback identifier conflict (#4760) (4d16f79)
  • cloudfront: revert certificate region verification (#4734) (de0eb47)
  • core: cannot use the same stack name for multiple stacks (under feature flag) (#4895) (658f100), closes #4412
  • dockerfile: add yarn (#4844) (2f8d06a)
  • dynamodb: Fix AutoScaling role ARN (#4854) (fc054e9)
  • dynamodb-global: cannot deploy global tables due to unresolved resource dependencies (45f0e02), closes #4676
  • ecs-patterns: handle desired task count being set to 0 (#4722) (c31ca27)
  • eks: pass --use-max-pods to bootstrap options when false (#4753) (22fe0ce)
  • elbv2: update region/account map of elbv2 (#4738) (5d98e7f)
  • init: 'cdk init' doesn't leave .d.ts files (#4841) (10b5b3c)
  • init: remove automatic JSII Roslyn analyzer dependency (#4835) (5029f0e)
  • init/csharp: correct cdk.json 'app' command (#4778) (d89504f)
  • ssm: malformed ARNs for parameters with physical names that use path notation (#4842) (43f276a)

In addition to the above, several bugs in the Python, .NET ...

Read more

v1.15.0

28 Oct 13:14
bdbe3aa
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • rds: securityGroup: ec2.ISecurityGroup is now securityGroups: ec2.ISecurityGroup[] in DatabaseInstanceAttributes
  • rds: removed securityGroupId from IDatabaseInstance

Bug Fixes

  • acm: update CertificateRequestorFunction runtime (#4612) (a711425), closes #4610
  • assets: docker asset versions are pushed to separate repositories (#4537) (8484114), closes #4535
  • aws-lambda: update deprecation warning for node.js 8.10 (#4624) (ace8041)
  • cli: add Cloud Assembly backwards compat tests (#4625) (5d2e5e3), closes #4475 #4544
  • cloudformation: cannot reference resource attributes with "." in nested stacks (#4684) (561bb73)
  • codebuild: revert validation that only a project with source CODEPIPELINE can be added to a pipeline (#4689) (8e72720), closes #4646
  • codepipeline: the CodeBuild action now works with imported projects (#4637) (6c4085e), closes #4613
  • core: fix docs for CfnInclude (#4703) (ba38b76), closes #3424
  • core: removalpolicy correct default (#4499) (09d89c3), closes #4416
  • custom-resources: increase and expose timeout for AwsCustomResource (#4623) (f17f809), closes #3272
  • eks: cannot update cluster configuration (#4696) (e17ba55), closes #4311 #4310
  • elbv2: fix disabling proxy protocol v2 attribute for NetworkTargetGroup (#4596) (8b598c4), closes #4574
  • iam: fix managedPolicyName, cross-account references (#4630) (9b7d2d0), closes #4581 #4567
  • ssm: invalid parameter arn (#4685) (e26a36c), closes #4672

Features

  • apigateway: add convenience url property at resource level (#4686) (012eeed)
  • autoscaling: let AutoScalingGroup be IGrantable (#4654) (406dc8e)
  • cloudfront: complete viewerCertificate support (#4579) (80b4ac9)
  • codedeploy: Model ECS deployment resources and pipeline action (#4600) (ed639ca)
  • codepipeline: add ability to override env variables in CodeBuild actions (#4502) (c0c0513), closes #4531
  • ec2: Support explicit Subnet selection (#4622) (203a605)
  • ecs: add support for start and stop timeout in ContainerDefinition (#4638) (b00c0af)
  • ecs-patterns: add family name to load balanced service properties (#4688) (d7654e7)
  • ecs-patterns: add service name to queue processing service properties (#4505) (3202720), closes #4504 #4504
  • rds: allow using existing security groups for new instance (#4495) (ef1ce5e), closes #2949
  • vpc: additional validation around Subnet Types (#4668) (9a96c37), closes #3704

v1.14.0

22 Oct 07:34
261a1bf
Compare
Choose a tag to compare

NOTICE: since Node.js 8.x is going out of maintenance early next year, starting in the next release, we will only test the AWS CDK against Node.js 10.x. If you are using an older version of Node.js, we recommend to upgrade.

Bug Fixes

Features

  • apigateway: cors preflight support (#4211) (0f06223)
  • ec2: mutable? param for imported SecurityGroups (#4493) (9764996)
  • ecs-patterns: add family name to queue processing service properties (#4508) (b0874bb), closes #4507

v1.13.1

16 Oct 01:13
Compare
Choose a tag to compare

Bug Fixes

v1.13.0

15 Oct 13:14
250a270
Compare
Choose a tag to compare

Bug Fixes

  • codepipeline: allow adding an S3 source action with the same bucket multiple times (#4481) (87458c1), closes #4237
  • use fixed dependency versions between CDK packages (#4470) (1d1b8bc)
  • cli: remove warning about assets not included in diff (#4454) (123c594), closes #395
  • cli: Use RegionalDomainName attribute in output of Toolkit stack for GovCloud and CN compatibility (#4427) (adbc2e3), closes #1469
  • codepipeline: do not retain the default bucket key and alias (#4400) (9740ed3), closes #4336
  • elbv2: add new FS security policies (#4425) (a4e63bd)
  • elbv2: validate healthcheck intervals (#4280) (3627e23), closes #4279
  • s3-deployment: lambda "src" not included in published module (#4430) (d16080a), closes #4404

Features

v1.12.0

07 Oct 16:20
923055e
Compare
Choose a tag to compare

Bug Fixes

  • apigateway: defaultChild on RestApi returns the underlying L1 (#4318) (53db8bc), closes #3234
  • cloudmap: fix CloudMap Service import, expose ECS CloudMap Service (#4313) (c968c96), closes #4286
  • codebuild: validate if a CodePipeline action that is cross-account does not have outputs (#4171) (1744f8a), closes #4032
  • custom-resources: support region for AwsCustomResource (#4298) (934d36f), closes #4292
  • ecr-assets: exclude option (#4354) (f96b2fb), closes #4353 #4353
  • ecs: nat network mode for windows tasks (#4317) (9ceb995), closes #4272
  • lambda-event-sources: add missing export of streams.ts (#4362) (032b70c), closes #4352

Features

BREAKING CHANGES

  • cloudmap: cloudmap.Service.fromServiceAttributes takes a newly
    required argument namespace.

v1.11.0

02 Oct 19:07
4ed4d96
Compare
Choose a tag to compare

Bug Fixes

Features

  • codepipeline: validate that source actions are in the same region as the pipeline (#4303) (c35091f)
  • update CloudFormation resource specification to v6.2.0 (#4309) (92b05a6)
  • cli: Add Jest tests to JavaScript init templates (#4282) (22a5ada), closes #4027
  • ecs-patterns: Allow overriding loadBalancer and taskDefinition (#4213) (f2a6d46)
  • lambda: event-source maxBatchingWindow property (#4260) (4040032)

v1.10.1

01 Oct 15:27
Compare
Choose a tag to compare

Bug Fixes

v1.10.0

30 Sep 09:18
19ae072
Compare
Choose a tag to compare

Bug Fixes

Features

  • appmesh: eagerly validate healthCheck settings (#4221) (84a1b45)
  • core: context lookup errors are reported to CX app (#3772) (b0267e4), closes #3654
  • ec2: add custom userdata factory (#4193) (3a9f4c8)
  • ec2: add sourceDestCheck to instance (#4186) (6e75168)
  • ec2: let Instance be IGrantable (#4190) (87f096e)
  • ecr-assets: Support .dockerignore (faster Docker builds) (#4104) (8389eeb)
  • ecs: add protocol option and default certificate for HTTPS services (#4120) (e02c6cc)
  • ecs: add URL output for LB services (#4238) (38d78ed)
  • ecs-patterns: support propagateTags and ecsManagedTags (#4100) (caa0077), closes #3979
  • eks: retrieve ami with ssm (#4156) (622a4e1)
  • eks: upgrade latest kubertenes version to 1.14 (#4157) (c7def91)
  • elasticloadbalancingv2: add Instance target (#4187) (f11bece)
  • s3-deployment: allow specifying memory limit (#4204) (84e1d4b), closes #4058
  • ses-actions: move SES rule actions to separate package (#4163) (a9fef66), closes #3726
  • publish construct tree into the cloud assembly (#4194) (3cca03d)

BREAKING CHANGES

  • ses-actions: adding an action to a receipt rule now requires an integration
    object from the @aws-cdk/aws-ses-actions package.