Skip to content
  • v1.26.0
  • e251651
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.26.0
  • e251651
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Feb 26, 2020

⚠ BREAKING CHANGES

  • apigateway: the interface now accepts endpointconfiguration property instead of endpoint type as defined by cfn
  • lambda-nodejs: parcel-bundler v1.x is now a peer dependency of @aws-cdk/aws-lambda-nodejs. Please add it to your package.json.

Features

  • apigateway: expose endpointconfiguration to include vpcEndpointIds (#6078) (99de6ca), closes #6038
  • apigateway: lambda request authorizer (#5642) (031932d)
  • appsync: mapping template for lambda proxy (#6288) (f865d5e)
  • batch: add JobQueue, ComputeEnvironment and JobDefinition constructs (c8a22b1)
  • cdk-assets: asset uploading tool (c505348)
  • cli: faster "no-op" deployments (#6346) (d4a132b), closes #6046 #2553 #6216
  • cfn: CloudFormation Resource Specification 11.1.0 (#6424) (ab9b77c)
  • cognito: user pool verification and invitation messages (#6282) (faf6693)
  • ecs-patterns: create dlq when queue is not provided for QueueProcessingService (#6356) (e307d7f)
  • kms: trustAccountIdentities avoids cyclic stack dependencies (03f4ef2)
  • rds: attach description to database secret (d5a4854)
  • sns: support multiple tokens as url and email subscriptions (#6357) (e5493bd), closes #3996
  • ssm: add ability to specify SSM Parameter tier (#6326) (9209ef6)

Bug Fixes

  • aws-ecs: propagate dnsTtl property part of cloudMapOptions (#6370) (747bdb2), closes #6223
  • cli: cdk deploy hangs when stack deployment fails (#6433) (4b11d99)
  • cli: Python init templates are missing .gitignore file (#6350) (cd6cd42), closes #5566
  • core: top-level resources cannot use long logical ids (#6419) (2a418b9), closes #6190 #6190
  • ecs: support file as firelens config type (#6322) (f9996f3)
  • lambda: erroneous inline code support for ruby (#6365) (8e21e78), closes #6302
  • lambda-nodejs: parcel is too big to bundle (a93e4d5), closes #6340
Assets 12
  • v1.25.0
  • 5ced526
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.25.0
  • 5ced526
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Feb 19, 2020

⚠ BREAKING CHANGES

  • appsync: Changes MappingTemplate.dynamoDbPutItem() to accept
    PrimaryKey and AttributeValues, which allow configuring the primary
    key and to project an object to a set of attribute values.

Features

  • appsync: more general mapping template for DynamoDB PutItem (#6236) (e9937d3), closes #6225
  • aws-applicationautoscaling: support Lambda and Comprehend (#6191) (bdab747)
  • cfn: update CloudFormation spec to v11.0.0 (#6311) (ea272fa)

Bug Fixes

Assets 12
  • v1.24.0
  • 6619e36
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.24.0
  • 6619e36
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Feb 14, 2020

Features

  • assert: add countResourcesLike method (#6168) (491e2d9)
  • cx-api: clean up features.ts (#6181) (efd6f3d), closes #6098
  • dynamodb: add metrics for dynamodb table (#6149) (295391e)
  • dynamodb: global tables version 2019.11.21 (#5821) (8c0c2b1), closes #5752
  • ec2: smarter default for VPN route propagation (#6071) (5dd8aca), closes #6008
  • ec2: VPC flow logs (a2fddec), closes #3493
  • iam: add ability to create IAM role descriptions (cee8825)
  • iam: descriptions for IAM Roles (a1294d3)
  • cfnspec: update CloudFormation spec to 10.5.0 (#6195) (47a9949)
  • iam: lookup ManagedPolicy via ARN (2df2023), closes #6186
  • lambda: expose function.deadLetterQueue (6656047), closes #6170
  • step-functions: grantStartExecution available on imported StateMachine (5ae81cd), closes #6173
  • stepfunctions: EMR service integrations (c69b6d2), closes #5224

Bug Fixes

  • cli: truncated 'cdk diff' output in pipes (aba1485)
  • apigateway: deployment fails when Model's contentType is not specified (#6199) (0bf1403), closes #6161
  • apigateway: stack deployment fails when a Stage is explicitly specified (#6165) (879601e), closes #6068
  • cli: wrongly assume aws config file always exists (#6196) (23f8b9f)
  • codebuild: badge is not allowed for CodeCommit sources (#6211) (433d957), closes #6205
  • ec2: onePerAz does not work for looked-up VPCs (3332d06), closes #3126
  • ecs-patterns: allow imported load balancers as inputs (7f8c90d)
  • elasticloadbalancingv2: logAccessLogs in Base Load Balancer (#6197) (adbc3b9), closes #3794
  • elbv2: validate rule priority is a positive number (#6222) (1fbaafe), closes #3794
  • kms: add TagResource & UntagResource IAM permissions to default key policy (#6125) (e65a326), closes #6102
Assets 12
  • v1.23.0
  • 01f326e
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.23.0
  • 01f326e
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Feb 7, 2020

Features

Bug Fixes

  • assets: add exclude glob patterns to calculating fingerprint for staging (#6085) (d9a043b), closes #5238
  • aws-s3-deployment: fix server side encryption parameters (#6006) (c7197c0), closes #6002
  • cli: colored text is unreadable when using light themes (#5250) (b4573ef)
  • cli: parse equals sign in context values (#5773) (667443c), closes #5738
  • codepipeline: manual approval action doesn't have configuration without a topic (#6106) (a63cbf8), closes #6100
  • cognito: standard attr timezone unexpectedly creates custom attr (#5973) (acf3ffc)
  • ec2: add MachineImage factory, document instance replacement (#6065) (435d810), closes #5675 #6025
  • ec2: private DNS for custom endpoints has incorrect default (d681d96)
  • ecr-assets: docker images are not built if .dockerignore includes an entry that ignores the dockerfile. (#6007) (e7ef5e5)
  • ecs: fix splunk-sourcetype (#6128) (6456a7c)
  • ecs-patterns: queue service grant permission automatically (#6110) (0d0794e)
  • ecs-patterns: remove duplicated schedule property for scheduled task pattern (#6101) (15b6aa7)
  • eks: missing VPC permissions for fargate profiles (#6074) (0a586fc)
  • glue: Make Glue Database locationUri optional. (#5784) (a065169), closes #5268 #5268 #5268 #5268
  • iam: policies added to immutably imported role (#6090) (f1f5319), closes #5569 #5943
  • init-templates: JavaScript, TypeScript, and Python init templates are broken in 1.21.0 (#5989) (505c91e), closes #5986
  • route53: CaaAmazonRecord ignores recordName (#6027) (16f9721), closes #5764
  • route53: correct import example in README.md (#5946) (ed71931)
  • s3-deployment: passing any system metadata causes lambda to fail on "Unknown options:" when invoking aws cli. (#6086) (b30add8)
Assets 12
  • v1.22.0
  • 309ac1b
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.22.0
  • 309ac1b
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Jan 23, 2020

⚠ BREAKING CHANGES

  • eks: (experimental module) the Mapping struct was renamed to AwsAuthMapping.
  • core: Arn.parseArn now returns empty string for nullable Arn components. Users who were depending on an undefined value will now receive the falsy empty string.
  • ecr-assets: all docker image assets are now pushed to a single ECR repository named aws-cdk/assets with an image tag based on the hash of the docker build source directory (the directory where your Dockerfile resides). See PR #5733 for details and discussion.
  • autoscaling: AutoScaling by using scaleOnMetric will no longer force the alarm period to 1 minute, but use the period from the Metric object instead (5 minutes by default). Use metric.with({ period: Duration.minute(1) }) to create a high-frequency scaling policy.

Features

  • apigatewayv2: fork APIGatewayV2 into its own package (#5816) (d58667e)
  • cloudformation: upgrade the CloudFormation resource specification to v10.3.0 (#5882) (e5e4725)
  • ecr-assets: simplify docker asset publishing (#5733) (b52b43d), closes #3463 #5807
  • eks: fargate profiles (#5589) (450a127), closes #5303
  • lambda: allow inline code for nodejs12.x runtime (#5710) (a1cd743)
  • lambda-destinations: option to auto-extract the payload when using LambdaDestination (#5503) (321372f)
  • route53-targets: Add aws-route53-targets/InterfaceVpcEndpointTarget (#4868) (6969562)
  • bump JSII to version 0.21.2 (#5919) (dd18456)

Bug Fixes

  • apigateway: LambdaRestApi fails when a user defined Stage is attached (#5838) (05719d7), closes #5744
  • autoscaling: can't use MathExpression in scaleOnMetric (d4c1b0e), closes #5776
  • SecretsManagerRDSPostgreSQLRotationMultiUser not working (49032ee)
  • autoscaling: can't use block devices (fee1324), closes #5868
  • core: allow empty string components in parseArn (#5875) (5ed5eb4), closes #5808
  • lambda: setting log retention to INFINITE causes failure (#5876) (19ed739)
  • route53: incorrect domain name produced when using HTTPS in ApplicationLoadBalancedFargateService (#5802) (5ba5a5e)
Assets 12
  • v1.21.1
  • 842cc5f
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.21.1
  • 842cc5f
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Jan 16, 2020

Bug Fixes

  • ecr-assets: cannot build docker images outside the source tree (i.e. against a cdk.out directory) (#5836) (6bc8ecc), fixes (#5807)
  • cli: cdk init fails if run under a directory where cdk.json exists, reverts (#5772) due to an issue which will be fixed in a subsequent version (#5836) (da9c626)
    , fixes (#5826)
Assets 12
  • v1.21.0
  • bf6ab14
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.21.0
  • bf6ab14
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Jan 16, 2020

Known Regressions

  • docker assets: cannot build docker images outside the source tree (i.e. against a cdk.out directory) #5807
  • cli: cdk init fails if run under a directory where cdk.json exists #5826

Features

Bug Fixes

  • acm: DnsValidatedCertificate in non-aws partitions (#5771) (e3305d8)
  • apigateway: authorizer name is not optional (#5731) (21c425e), closes #5678
  • apigateway: unable to associate RestApi as a route53 target for late bound domains (#5555) (c02741e)
  • cli: Fix various init templates & their tests (#5693) (a85da79)
  • cli: proxy support is broken (#5803) (3a63f57), closes #5743 #5791
  • cloudformation: nested stack example in readme is broken (#5729) (c53356a), closes #5686
  • cloudwatch: cross-account metrics in env-agnostic stack (#5775) (5292bd5), closes aws/aws-cdk#5628
  • codepipeline: Action.onStateChange() has wrong detail type (#5721) (8686dd5), closes #3614
  • custom-resources: missing physical resource id for delete calls (#5805) (9b7236a), closes #5796
  • ecr-assets: unable to use one Dockerfile to build multiple images (#5705) (ff3f27f), closes #5683
  • ecs: cannot separate Cluster and Ec2Service behind ALB (#5813) (eb3c517)
  • glue: empty string in Table.s3prefix is not undefined (#5783) (18e15de), closes #5763
  • iam: can't use OrganizationPrincipal for assuming Role (#5746) (6c3d4c4), closes #5732
  • rds: pass the ARN of master instead of its ID in DatabaseInstanceReadReplica (#5702) (d323c0c), closes #5530
Assets 12

@aws-cdk-automation aws-cdk-automation released this Jan 7, 2020

Known Regressions

  • docker assets: cannot build docker images outside the source tree (i.e. against a cdk.out directory) #5807

⚠ BREAKING CHANGES

  • autoscaling: AutoScalingGroups without desiredCapacity are now
    initially scaled to their minimum capacity (instead of their maximum
    capaciety).
  • rds: addRotationSingleUser(id: string, options: SecretRotationOptions) is now addRotationSingleUser(automaticallyAfter?: Duration)
  • glue: InputFormat. TEXT_INPUT_FORMAT has been renamed to TEXT. OutputFormat. HIVE_IGNORE_KEY_TEXT_OUTPUT_FORMAT has been renamed to HIVE_IGNORE_KEY_TEXT

Features

Bug Fixes

Assets 12
  • v1.19.0
  • 5597bbe
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.19.0
  • 5597bbe
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Dec 17, 2019

⚠ BREAKING CHANGES

  • route53: the value of hostedZoneId will no longer include /hostedzone/ prefix and only includes the hostedZoneId when using HostedZone.fromLookup or fromHostedZoneAttributes
  • cloudfront: (experimental module) S3OriginConfig.originAccessIdentityId or type string has been removed in favor of S3OriginConfig.originAccessIdentity of type IOriginAccessIdentity.

Features

  • appsync: add L2 constuct for AppSync (#4438) (226b27a)
  • cfnspec: Update CloudFormation spec to v10.1.0 (#5431) (ac905ac)
  • cli: always exit with 0 on cdk diff (under feature flag) (#4721) (3ffd810), closes #4650 #4708
  • cloudformation: import CloudFormation resource specification v9.1.1 (#5297) (7f33541)
  • cloudformation: update Resource Specification to v10.0.0 (#5339) (3db8565), closes #5302
  • cloudfront: CloudFrontOriginAccessIdentity (#4491) (8623fe5)
  • codebuild: support AL2 2.0 & Standard 3.0 (#5226) (e6ef981)
  • codebuild: Support ARM-based AL2 image (#5233) (8fc5622)
  • codepipeline: allow retrieving created stages and actions (#5206) (a5b056b), closes #4878
  • ec2: access gateways created by NatProvider (#4948) (5907055), closes #4858
  • ec2: Add missing EC2 instance types (#5349) (#5350) (bc161d6)
  • ec2: Add REKOGNITION_FIPS interface endpoint (#5316) (b291280), closes #5314
  • ecs: Add support for ECS DeploymentController (#5402) (58e67e6)
  • ecs-patterns: healthyPercent on ALB, NLB, Fargate (#4820) (150e65c)
  • events: add static grantPutEvents() to EventBus (#5133) (0823396)
  • lambda: function can be attached to a list of security groups in the vpc (#5049) (4c1a9ec)
  • region-info: throw exception when no fact found (#5166) (88df1eb), closes #3194
  • sns: support KMS masterKey on SNS (#5052) (edd5395), closes #1729
  • Make activating Python virtualenv easier on Windows (#5014) (fc73747)

Bug Fixes

  • apigateway: unable to enable cors with a root proxy and LambdaRestApi (#5249) (f3d5fc9), closes #5232
  • cdk-dasm: prevent duplicate imports (#5293) (d4562b7)
  • cli: fix the behaviour for the --generate-only flag (#5253) (ecbe0b6)
  • cli: this.node.addError does not cause cdk diff to fail #4700 (#5284) (1b12dba)
  • cloudfront: associated lambda role requires edgelambda.amazonaws.com (#5191) (173d886), closes #5180
  • codebuild: add deprecation warning for UBUNTU_14_04 (#5234) (c1b575f)
  • codepipeline: CloudFormation deployment role always gets pipeline bucket and key permissions (#5190) (d5c0f3e), closes #5183
  • core: dependencies across stack boundaries of all kinds (#5211) (d1f0dd5), closes #4460 #4474
  • dockerfile: docker build is missing dotnet (#5091) (18fa3aa)
  • docs: update removed subscribeLambda method example (#5060) (d2a86a5)
  • dynamodb: add missing permission for read stream data (#5074) (22688ce)
  • dynamodb: stacks created by GlobalTable correctly inherit their account. (#5202) (5ad5407), closes #4882
  • ec2: can't add non-default routes to subnets (#5332) (e4309ab)
  • ec2: CIDR for "any" IPv6 too long (#5179) (3695d8c)
  • ec2: Fix CODEBUILD_FIPS interface endpoint (#5315) (465c848)
  • ecr: remove deprecated requirement on docs and comments (#5428) (40ec78e), closes #2857 #2857 #3273
  • init-templates: use pytest for Python sample-app init template (#5325) (6c25da7), closes #5313
  • route53: return plain hosted zone id without /hostedzone/ prefix (#5230) (5e08753)
  • sfn: Task parameters property does nothing (#5408) (01df7c6), closes #5267
  • test: fix .nycrc symlinking (#5245) (d2496e0)
Assets 12
  • v1.18.0
  • bc924bc
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.18.0
  • bc924bc
  • Compare
    Choose a tag to compare
    Search for a tag

@aws-cdk-automation aws-cdk-automation released this Nov 25, 2019

General Availability of AWS CDK for .NET and Java!! 🎉🎉🥂🥂🍾🍾

We are excited to announce the general availability of support for the .NET family of languages (C#,
F#, ...) as well as Java!

We want to express our gratitude to all of our early customers as well as the amazing contributors
for all the help and support in making this release possible. Thank you for all the feedback
provided during the Developer Preview of .NET and Java support, without which the product would not
be what it is today.

Special thanks go out to a handful of amazing people who have provided instrumental support in
bringing .NET and Java support to this point:

Of course, we continue to be amazed and thrilled by the community contributions we received besides
language support. The passion demonstrated by the CDK community is heartwarming and largely
contributes to making maintaining the CDK an enjoyable, enriching experience!

Features

  • lambda: node12.x, python3.8 and java11 runtimes (#5107) (e62f9fb)
  • lambda: unlock the lambda environment variables restriction in China regions (#5122) (cc13009)

Bug Fixes

  • init/chsarp: correct README for sample-app C# template (#5144) (b2031f6)
  • init/sample-app: numerous fixes and additions to the sample-app init templates (#5119) (02c3b05), closes #5130 #5130
  • init/java: add -e to mvn command so errors aren't hidden (#5129) (5427106), closes #5128
  • init/csharp: .NET semantic fixes for init templates (#5154) (04a1b32)

Known Issues

The following known issues were identified that specifically affect .NET and Java support in the CDK,
and which will be promptly addressed in upcoming CDK releases (in no particular order). See the
GitHub issues for more information and workarounds where applicable.

  • .NET and Java: [aws/jsii#1011] - abstract members are not marked as such on their .NET and Java representations
  • .NET: [aws/jsii#1029] - user-defined classes implementing CDK interfaces must extend Amazon.Jsii.Runtime.Deputy.DeputyBase
  • .NET: [aws/jsii#1042] - Parameters typed object accept only primitive types, instances of CDK types, Dictionary<string,?>
  • .NET: [aws/jsii#1044] - Unable to pass interface instance through in a Dictionary<string,object>
  • Java: [aws/jsii#1034] - Implementing or overriding overloaded methods in Java does not work consistently
  • Java: [aws/jsii#1035] - Returning Lazy.anyValue from an method whose return type is java.lang.Object may result in Resolution Errors
  • Java: [aws/jsii#1005] - property getter implementations (e.g: from an interface) may be ignored
Assets 12
You can’t perform that action at this time.