Tags: shaaaah/aws-cdk
Tags
v0.15.2 (aws#1118) Bug Fixes ========== * correctly emit quoted YAML for account numbers ([aws#1105](aws#1105)) ([b4d9155](aws@b4d9155)), closes [aws#1100](aws#1100) [aws#1098](aws#1098) * **aws-ecs:** fix use of published NPM package with TypeScript ([aws#1117](aws#1117)) ([ebfb522](aws@ebfb522)) Features ========== * **aws-ecs:** Add desired count to LoadBalanced[Fargate|EC2]Service ([aws#1111](aws#1111)) ([cafcc11](aws@cafcc11))
v0.15.0 (aws#1094) Bug Fixes ======== * **aws-autoscaling:** allow minSize to be set to 0 ([aws#1015](aws#1015)) ([67f7fa1](aws@67f7fa1)) * **aws-codebuild:** correctly pass the timeout property to CFN when creating a Project. ([aws#1071](aws#1071)) ([b1322bb](aws@b1322bb)) * **aws-codebuild:** correctly set S3 path when using it as artifact. ([aws#1072](aws#1072)) ([f32cba9](aws@f32cba9)) * **aws-kms:** add output value when exporting an encryption key ([aws#1036](aws#1036)) ([cb490be](aws@cb490be)) * Switch from `js-yaml` to `yaml` ([aws#1092](aws#1092)) ([0b132b5](aws@0b132b5)) Features ======== * don't upload the same asset multiple times ([aws#1011](aws#1011)) ([35937b6](aws@35937b6)), closes [aws#989](aws#989) * **app-delivery:** CI/CD for CDK Stacks ([aws#1022](aws#1022)) ([f2fe4e9](aws@f2fe4e9)) * add a new construct library for ECS ([aws#1058](aws#1058)) ([ae03ddb](aws@ae03ddb)) * **applets:** integrate into toolkit ([aws#1039](aws#1039)) ([fdabe95](aws@fdabe95)), closes [aws#849](aws#849) [aws#342](aws#342) [aws#291](aws#291) * **aws-codecommit:** use CloudWatch Events instead of polling by default in the CodePipeline Action. ([aws#1026](aws#1026)) ([d09d30c](aws@d09d30c)) * **aws-dynamodb:** allow specifying partition/sort keys in props ([aws#1054](aws#1054)) ([ec87331](aws@ec87331)), closes [aws#1051](aws#1051) * **aws-ec2:** AmazonLinuxImage supports AL2 ([aws#1081](aws#1081)) ([97b57a5](aws@97b57a5)), closes [aws#1062](aws#1062) * **aws-lambda:** high level API for event sources ([aws#1063](aws#1063)) ([1be3442](aws@1be3442)) * **aws-sqs:** improvements to IAM grants API ([aws#1052](aws#1052)) ([6f2475e](aws@6f2475e)) * **codepipeline/cfn:** Use fewer statements for pipeline permissions ([aws#1009](aws#1009)) ([8f4c2ab](aws@8f4c2ab)) * **pkglint:** Make sure .snk files are ignored ([aws#1049](aws#1049)) ([53c8d76](aws@53c8d76)), closes [aws#643](aws#643) * **toolkit:** deployment ui improvements ([aws#1067](aws#1067)) ([c832eaf](aws@c832eaf)) * Update to CloudFormation resource specification v2.11.0 BREAKING CHANGES ======== * The ec2.Connections object has been changed to be able to manage multiple security groups. The relevant property has been changed from `securityGroup` to `securityGroups` (an array of security group objects). * **aws-codecommit:** this modifies the default behavior of the CodeCommit Action. It also changes the internal API contract between the aws-codepipeline-api module and the CodePipeline Actions in the service packages. * **applets:** The applet schema has changed to allow Multiple applets can be define in one file by structuring the files like this: * **applets:** The applet schema has changed to allow definition of multiple applets in the same file. The schema now looks like this: applets: MyApplet: type: ./my-applet-file properties: property1: value ... By starting an applet specifier with npm://, applet modules can directly be referenced in NPM. You can include a version specifier (@1.2.3) to reference specific versions. * **aws-sqs:** `queue.grantReceiveMessages` has been removed. It is unlikely that this would be sufficient to interact with a queue. Alternatively you can use `queue.grantConsumeMessages` or `queue.grant('sqs:ReceiveMessage')` if there's a need to only grant this action.
v0.14.0 (aws#1021) __IMPORTANT NOTE__: when upgrading to this version of the CDK framework, you must also upgrade your installation the CDK Toolkit to the matching version: ```shell $ npm i -g aws-cdk $ cdk --version 0.14.0 (build ...) ``` Bug Fixes ========= * remove CloudFormation property renames ([aws#973](aws#973)) ([3f86603](aws@3f86603)), closes [aws#852](aws#852) * **aws-ec2:** fix retention of all egress traffic rule ([aws#998](aws#998)) ([b9d5b43](aws@b9d5b43)), closes [aws#987](aws#987) * **aws-s3-deployment:** avoid deletion during update using physical ids ([aws#1006](aws#1006)) ([bca99c6](aws@bca99c6)), closes [aws#981](aws#981) [aws#981](aws#981) * **cloudformation-diff:** ignore changes to DependsOn ([aws#1005](aws#1005)) ([3605f9c](aws@3605f9c)), closes [aws#274](aws#274) * **cloudformation-diff:** track replacements ([aws#1003](aws#1003)) ([a83ac5f](aws@a83ac5f)), closes [aws#1001](aws#1001) * **docs:** fix EC2 readme for "natgatway" configuration ([aws#994](aws#994)) ([0b1e7cc](aws@0b1e7cc)) * **docs:** updates to contribution guide ([aws#997](aws#997)) ([b42e742](aws@b42e742)) * **iam:** Merge multiple principals correctly ([aws#983](aws#983)) ([3fc5c8c](aws@3fc5c8c)), closes [aws#924](aws#924) [aws#916](aws#916) [aws#958](aws#958) Features ========= * add construct library for Application AutoScaling ([aws#933](aws#933)) ([7861c6f](aws@7861c6f)), closes [aws#856](aws#856) [aws#861](aws#861) [aws#640](aws#640) [aws#644](aws#644) * add HostedZone context provider ([aws#823](aws#823)) ([1626c37](aws@1626c37)) * **assert:** haveResource lists failing properties ([aws#1016](aws#1016)) ([7f6f3fd](aws@7f6f3fd)) * **aws-cdk:** add CDK app version negotiation ([aws#988](aws#988)) ([db4e718](aws@db4e718)), closes [aws#891](aws#891) * **aws-codebuild:** Introduce a CodePipeline test Action. ([aws#873](aws#873)) ([770f9aa](aws@770f9aa)) * **aws-sqs:** Add grantXxx() methods ([aws#1004](aws#1004)) ([8c90350](aws@8c90350)) * **core:** Pre-concatenate Fn::Join ([aws#967](aws#967)) ([33c32a8](aws@33c32a8)), closes [aws#916](aws#916) [aws#958](aws#958) BREAKING CHANGES ========= * DynamoDB AutoScaling: Instead of `addReadAutoScaling()`, call `autoScaleReadCapacity()`, and similar for write scaling. * CloudFormation resource usage: If you use L1s, you may need to change some `XxxName` properties back into `Name`. These will match the CloudFormation property names. * You must use the matching `aws-cdk` toolkit when upgrading to this version, or context providers will cease to work. All existing cached context values in `cdk.json` will be invalidated and refreshed.
v0.13.0 (aws#975) ### Highlights - __A new construct library for AWS Step Functions__ ([docs](https://github.com/awslabs/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions/README.md)). The library provides rich APIs for modeling state machines by exposing a programmatic interface for [Amazon State Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html). - __A new construct library for Amazon S3 bucket deployments__ ([docs](https://github.com/awslabs/aws-cdk/blob/master/packages/%40aws-cdk/aws-s3-deployment/README.md)). You can use now automatically populate an S3 Bucket from a .zip file or a local directory. This is a building block for end-to-end support for static websites in the AWS CDK. ### Bug Fixes * **aws-apigateway:** make LambdaRestApi proxy by default ([aws#963](aws#963)) ([a5f5e2c](aws@a5f5e2c)), closes [aws#959](aws#959) * **aws-cdk:** Allow use of assumed roles behind a proxy ([aws#898](aws#898)) ([f2b1048](aws@f2b1048)) * **aws-cdk:** Auto-delete stacks that failed creating before new attempt ([aws#917](aws#917)) ([2af8309](aws@2af8309)) * **aws-cloudfront:** expose distributionId ([aws#938](aws#938)) ([f58d98c](aws@f58d98c)) * **aws-dynamodb:** don't emit empty array properties ([aws#909](aws#909)) ([841975a](aws@841975a)) * **docs:** use ..code to display file structure in "writing constructs" ([aws#935](aws#935)) ([b743362](aws@b743362)) ### Features * **assets:** isZipArchive indicates if this is a zip asset ([aws#944](aws#944)) ([65190f9](aws@65190f9)) * **aws-cdk:** deploy supports CloudFormation Role ([aws#940](aws#940)) ([393be6f](aws@393be6f)), closes [aws#735](aws#735) * **aws-cloudformation:** allow specifying custom resource type ([aws#943](aws#943)) ([9de3a84](aws@9de3a84)) * **aws-cloudformation:** correctly handle the templateConfiguration property in the CreateUpdateStack Pipeline Action. ([aws#923](aws#923)) ([d251a46](aws@d251a46)) * **aws-cloudfront:** add support for "webAclId" ([aws#969](aws#969)) ([3ec9d76](aws@3ec9d76)) * **aws-codedeploy:** add auto rollback configuration to server Deployment Group. ([aws#925](aws#925)) ([7ee91cf](aws@7ee91cf)) * **aws-codedeploy:** add instance tag filter support for server Deployment Groups. ([aws#824](aws#824)) ([e6e8c51](aws@e6e8c51)) * **aws-codedeploy:** add support for setting CloudWatch alarms on a server Deployment Group. ([aws#926](aws#926)) ([27b26b1](aws@27b26b1)) * add support for Step Functions ([aws#827](aws#827)) ([81b533c](aws@81b533c)) * **aws-lambda:** add grantInvoke() method ([aws#962](aws#962)) ([1ee8135](aws@1ee8135)), closes [aws#961](aws#961) * **aws-lambda:** improvements to the code and runtime APIs ([aws#945](aws#945)) ([36f29b6](aws@36f29b6)), closes [aws#902](aws#902) [aws#188](aws#188) [aws#947](aws#947) [aws#947](aws#947) [aws#664](aws#664) * **aws-logs:** extractMetric() returns Metric object ([aws#939](aws#939)) ([5558fff](aws@5558fff)), closes [aws#850](aws#850) * **aws-s3:** initial support for website hosting ([aws#946](aws#946)) ([2d3661c](aws@2d3661c)) * **aws-s3-deployment:** bucket deployments ([aws#971](aws#971)) ([84d6876](aws@84d6876)), closes [aws#952](aws#952) [aws#953](aws#953) [aws#954](aws#954) * **docs:** added link to CloudFormation concepts ([aws#934](aws#934)) ([666bbba](aws@666bbba)) ### BREAKING CHANGES * **aws-apigateway:** specifying a path no longer works. If you used to provide a '/', remove it. Otherwise, you will have to supply `proxy: false` and construct more complex resource paths yourself. * **aws-lambda:** The construct `lambda.InlineJavaScriptLambda` is no longer supported. Use `lambda.Code.inline` instead; `lambda.Runtime.NodeJS43Edge` runtime is removed. CloudFront docs [stipulate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-requirements-limits.html#lambda-requirements-lambda-function-configuration) that you should use node6.10 or node8.10. It is always possible to use any value by instantiating a `lambda.Runtime` object.
v0.12.0 (aws#912) * **aws-codebuild:** allow passing oauth token to GitHubEnterpriseSource ([aws#908](aws#908)) ([c23da91](aws@c23da91)) * **toolkit:** multi-stack apps cannot be synthesized or deployed ([aws#911](aws#911)) ([5511076](aws@5511076)), closes [aws#868](aws#868) [aws#294](aws#294) [aws#910](aws#910) * **aws-cloudformation:** add permission management to CreateUpdate and Delete Stack CodePipeline Actions. ([aws#880](aws#880)) ([8b3ae43](aws@8b3ae43)) * **aws-codepipeline:** make input and output artifact names optional when creating Actions. ([aws#845](aws#845)) ([3d91c93](aws@3d91c93)) * **aws-codepipeline:** this commit contains the following breaking changes: * Rename 'artifactName' in Action construction properties to 'outputArtifactName' * Rename the 'artifact' property of Actions to 'outputArtifact' * No longer allow adding output artifacts to Actions by instantiating the Artifact class * Rename Action#input/outputArtifacts properties to _input/_outputArtifacts Previously, we always required customers to explicitly name the output artifacts the Actions used in the Pipeline, and to explicitly "wire together" the outputs of one Action as inputs to another. With this change, the CodePipeline Construct generates artifact names, if the customer didn't provide one explicitly, and tries to find the first available output artifact to use as input to a newly created Action that needs it, thus turning both the input and output artifacts from required to optional properties.
v0.11.0 (aws#888) Bug Fixes --------- * **aws-apigateway:** allow + in path parts ([aws#769](aws#769)) ([0c50d27](aws@0c50d27)), closes [aws#768](aws#768) * **aws-cdk:** continue after exceptions in stack monitor ([aws#791](aws#791)) ([b0f3298](aws@b0f3298)), closes [aws#787](aws#787) * **aws-cloudfront:** check for undefined and determining of the defaultRootObject prop is set or not ([aws#801](aws#801)) ([32a74c6](aws@32a74c6)) * **aws-cloudfront:** properly support loggingConfig ([aws#809](aws#809)) ([5512f70](aws@5512f70)), closes [aws#721](aws#721) * **aws-codecommit:** typo in README ([aws#780](aws#780)) ([0e79c2d](aws@0e79c2d)) * **aws-ec2:** Add Burstable Generation 3 Instances ([aws#812](aws#812)) ([d36ee6d](aws@d36ee6d)) * **aws-ec2:** fix capitalization of "VPCEndpointType" to "VpcEndpointType" ([aws#789](aws#789)) ([7a8ee2c](aws@7a8ee2c)), closes [aws#765](aws#765) * **aws-ec2:** fix typo in resource identifier ([aws#818](aws#818)) ([f529c80](aws@f529c80)) * **aws-elbv2:** fix load balancer registration ([aws#890](aws#890)) ([8cc9abe](aws@8cc9abe)) * **aws-s3:** properly export bucketDomainName ([aws#844](aws#844)) ([a65060d](aws@a65060d)) * **aws-sqs:** Queue.import() doesn't return a value ([aws#885](aws#885)) ([c592b7f](aws@c592b7f)), closes [aws#879](aws#879) * **cdk:** fix TagManager to evaluate to undefined if no tags are included ([aws#882](aws#882)) ([477c827](aws@477c827)) * **cdk:** init templates were not upgraded to typescript ^3.0.0 ([aws#904](aws#904)) ([2cc7475](aws@2cc7475)) * **cdk:** jsx support conflicts with React usage ([aws#884](aws#884)) ([76d8031](aws@76d8031)), closes [aws#830](aws#830) * **cfn2ts:** expect Token instead of CloudFormationToken ([aws#896](aws#896)) ([6eee1d2](aws@6eee1d2)) * **docs:** fix issue [aws#718](aws#718) (Aurora DB example) ([aws#783](aws#783)) ([016f3a8](aws@016f3a8)) * **docs:** update supported languages in README ([aws#819](aws#819), [aws#450](aws#450)) ([aws#820](aws#820)) ([ffac98c](aws@ffac98c)) * Correct heading level of CHANGELOG.md 0.10.0 ([40d9ef0](aws@40d9ef0)) * Emit valid YAML-1.1 ([aws#876](aws#876)) ([ff857ea](aws@ff857ea)), closes [aws#875](aws#875) * **toolkit:** improve error message for large templates ([aws#900](aws#900)) ([a41f48f](aws@a41f48f)), closes [aws#34](aws#34) Code Refactoring ---------------- * **aws-iam:** move IAM classes cdk to aws-iam ([aws#866](aws#866)) ([d46a95b](aws@d46a95b)), closes [aws#196](aws#196) * **util:** remove [@aws-cdk](https://github.com/aws-cdk)/util ([aws#745](aws#745)) ([10015cb](aws@10015cb)), closes [aws#709](aws#709) * **framework:** remove app boilerplate and improvements to cx protocol ([aws#868](aws#868)) ([005beec](aws@005beec)), closes [aws#216](aws#216) Features -------- * **aws-apigateway:** "LambdaRestApi" and "addProxy" routes ([aws#867](aws#867)) ([905a95d](aws@905a95d)) * **aws-cdk:** add maven wrapper to java template ([aws#811](aws#811)) ([72aa872](aws@72aa872)) * **aws-cloudformation:** rename the CFN CodePipeline Actions. ([aws#771](aws#771)) ([007e7b4](aws@007e7b4)) * **aws-cloudformation:** update the ReadMe of the module to reflect the new Action names. ([aws#775](aws#775)) ([6c0e75b](aws@6c0e75b)), closes [aws#771](aws#771) * **aws-cloudfront:** Support Security Policy ([aws#804](aws#804)) ([b39bf11](aws@b39bf11)), closes [aws#795](aws#795) * **aws-codedeploy:** Add the auto-scaling groups property to ServerDeploymentGroup. ([aws#739](aws#739)) ([0b28886](aws@0b28886)) * **aws-codedeploy:** Deployment Configuration Construct. ([aws#653](aws#653)) ([e6b67ad](aws@e6b67ad)) * **aws-codedeploy:** support setting a load balancer on a Deployment Group. ([aws#786](aws#786)) ([e7af9f5](aws@e7af9f5)) * **aws-codepipeline:** allow specifying the runOrder property when creating Actions. ([aws#776](aws#776)) ([d146c8d](aws@d146c8d)) * **aws-codepipeline, aws-codecommit, aws-s3:** change the convention for naming the source Actions to XxxSourceAction. ([aws#753](aws#753)) ([9c3ce7f](aws@9c3ce7f)) * **aws-dynamodb:** IAM grants support ([aws#870](aws#870)) ([c5a4200](aws@c5a4200)) * **aws-dynamodb:** support Global Secondary Indexes ([aws#760](aws#760)) ([3601440](aws@3601440)) * **aws-dynamodb:** tags support ([aws#814](aws#814)) ([924c84e](aws@924c84e)) * **aws-dynamodB:** support Local Secondary Indexes ([aws#825](aws#825)) ([3175af3](aws@3175af3)) * **aws-ec2:** add support for ICMP protocol's classification Types & Codes to SecurityGroupRule ([aws#893](aws#893)) ([85bd3c0](aws@85bd3c0)) * **aws-ec2:** allow configuring subnets for NAT gateway ([aws#874](aws#874)) ([8ec761c](aws@8ec761c)) * **aws-ec2:** support UDP port ranges in SecurityGroups ([aws#835](aws#835)) ([b42ef90](aws@b42ef90)) * **aws-elasticloadbalancingv2:** support for ALB/NLB ([aws#750](aws#750)) ([bd9ee01](aws@bd9ee01)) * **aws-s3:** support granting public access to objects ([aws#886](aws#886)) ([bdee191](aws@bdee191)), closes [aws#877](aws#877) * **cdk:** Add support for UseOnlineResharding with UpdatePolicies ([aws#881](aws#881)) ([1f717e1](aws@1f717e1)) * **cdk:** configurable default SSM context provider ([aws#889](aws#889)) ([353412b](aws@353412b)) * **core:** resource overrides (escape hatch) ([aws#784](aws#784)) ([5054eef](aws@5054eef)), closes [aws#606](aws#606) * **aws-codepipeline**: Manage IAM permissions for (some) CFN CodePipeline actions ([aws#843](aws#843)) ([4c69118](aws@4c69118)) * **toolkit:** Stop creating 'empty' stacks ([aws#779](aws#779)) ([1dddd8a](aws@1dddd8a)) * **aws-autoscaling, aws-ec2:** Tagging support for AutoScaling/SecurityGroup ([aws#766](aws#766)) ([3d48eb2](aws@3d48eb2)) ### BREAKING CHANGES * **framework:** The `cdk.App` constructor doesn't accept any arguments, and `app.run()` does not return a `string` anymore. All AWS CDK apps in all languages would need to be modified to adhere to the new API of the `cdk.App` construct. Instead of: const app = new App(process.argv); // ERROR // add stacks process.stdout.write(app.run()); // ERROR The new usage is: const app = new App(); // add stacks app.run(); * **framework:** The CDK is no longer shipped with built-in support for JSX. You can still use JSX but you will have to manually configure it. * **aws-iam:** `PolicyDocument`, `PolicyStatement` and all `PolicyPrincipal` classes moved from the @aws-cdk/cdk module and into the @aws-cdk/aws-iam module. * **aws-codepipeline-api**: `Artifact.subartifact` method of the CodePipeline API was renamed to `Artifact.atPath`. * constructor signature of `TagManager` has changed. `initialTags` is now passed inside a props object. * **util:** @aws-cdk/util is no longer available * **aws-elasticloadbalancingv2:** Adds classes for modeling Application and Network Load Balancers. AutoScalingGroups now implement the interface that makes constructs a load balancing target. The breaking change is that Security Group rule identifiers have been changed in order to make adding rules more reliable. No code changes are necessary but existing deployments may experience unexpected changes. * **aws-cloudformation:** this renames all CloudFormation Actions for CodePipeline to bring them in line with Actions defined in other service packages. * **aws-codepipeline, aws-codecommit, aws-s3:** change the names of the source Actions from XxxSource to XxxSourceAction. This is to align them with the other Actions, like Build. Also, CodeBuild has the concept of Sources, so it makes sense to strongly differentiate between the two.
PreviousNext