Tags: clareliguori/aws-cdk
Tags
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.
v0.9.2 (aws#749) * v0.9.2 __NOTICE__: This release includes a framework-wide [__breaking change__](aws#712) which changes the type of all the string resource attributes across the framework. Instead of using strong-types that extend `cdk.Token` (such as `QueueArn`, `TopicName`, etc), we now represent all these attributes as normal `string`s, and codify the tokens into the string (using the feature introduced in [aws#168](aws#168)). Furthermore, the `cdk.Arn` type has been removed. In order to format/parse ARNs, use the static methods on `cdk.ArnUtils`. See motivation and discussion in [aws#695](aws#695). * **cfn2ts:** use stringified tokens for resource attributes instead of strong types ([aws#712](aws#712)) ([6508f78](aws@6508f78)), closes [aws#518](aws#518) [aws#695](aws#695) [aws#744](aws#744) * **aws-dynamodb:** Attribute type for keys, changes the signature of the `addPartitionKey` and `addSortKey` methods to be consistent across the board. ([aws#720](aws#720)) ([e6cc189](aws@e6cc189)) * **aws-codebuild:** fix typo "priviledged" -> "privileged * **assets:** cab't use multiple assets in the same stack ([aws#725](aws#725)) ([bba2e5b](aws@bba2e5b)), closes [aws#706](aws#706) * **aws-codebuild:** typo in BuildEnvironment "priviledged" -> "privileged ([aws#734](aws#734)) ([72fec36](aws@72fec36)) * **aws-ecr:** fix addToResourcePolicy ([aws#737](aws#737)) ([eadbda5](aws@eadbda5)) * **aws-events:** ruleName can now be specified ([aws#726](aws#726)) ([a7bc5ee](aws@a7bc5ee)), closes [aws#708](aws#708) * **aws-lambda:** jsii use no long requires 'sourceAccount' ([aws#728](aws#728)) ([9e7d311](aws@9e7d311)), closes [aws#714](aws#714) * **aws-s3:** remove `policy` argument ([aws#730](aws#730)) ([a79190c](aws@a79190c)), closes [aws#672](aws#672) * **cdk:** "cdk init" java template is broken ([aws#732](aws#732)) ([281c083](aws@281c083)), closes [aws#711](aws#711) [aws/jsii#233](aws/jsii#233) * **aws-apigateway:** new API Gateway Construct Library ([aws#665](aws#665)) ([b0f3857](aws@b0f3857)) * **aws-cdk:** detect presence of EC2 credentials ([aws#724](aws#724)) ([8e8c295](aws@8e8c295)), closes [aws#702](aws#702) [aws#130](aws#130) * **aws-codepipeline:** make the Stage insertion API in CodePipeline more flexible ([aws#460](aws#460)) ([d182818](aws@d182818)) * **aws-codepipeline:** new "Pipeline#addStage" convenience method ([aws#647](aws#647)) ([25c9fa0](aws@25c9fa0)) * **aws-rds:** add support for parameter groups ([aws#729](aws#729)) ([2541508](aws@2541508)), closes [aws#719](aws#719) * **docs:** add documentation for CDK toolkit plugings ([aws#733](aws#733)) ([965b918](aws@965b918)) * **dependencies:** upgrade to [jsii 0.7.6](https://github.com/awslabs/jsii/releases/tag/v0.7.6)
v0.9.0 (aws#688) The headliners of this release are __.NET support__, and a wealth of commits by external contributors who are stepping up to fix the CDK for their use cases! Thanks all for the effort put into this release! * Add strongly-named .NET targets, and a `cdk init` template for C# projects ([@mpiroc] in [aws#617](aws#617), [aws#643](aws#643)). * __@aws-cdk/aws-autoscaling__: Allow attaching additional security groups to Launch Configuration ([@moofish32] in [aws#636](aws#636)). * __@aws-cdk/aws-autoscaling__: Support update and creation policies on AutoScalingGroups ([@rix0rrr] in [aws#595](aws#595)). * __@aws-cdk/aws-codebuild__: Add support for running script from an asset ([@rix0rrr] in [aws#677](aws#677)). * __@aws-cdk/aws-codebuild__: New method `addBuildToPipeline` on Project ([@skinny85] in [783dcb3](aws@783dcb3)). * __@aws-cdk/aws-codecommit__: New method `addToPipeline` on Repository ([@skinny85] in [aws#616](aws#616)). * __@aws-cdk/aws-codedeploy__: Add initial support for CodeDeploy ([@skinny85] in [aws#593](aws#593), [aws#641](aws#641)). * __@aws-cdk/aws-dynamodb__: Add support for DynamoDB autoscaling ([@SeekerWing] in [aws#637](aws#637)). * __@aws-cdk/aws-dynamodb__: Add support for DynamoDB streams ([@rhboyd] in [aws#633](aws#633)). * __@aws-cdk/aws-dynamodb__: Add support for server-side encryption ([@jungseoklee] in [aws#684](aws#864)). * __@aws-cdk/aws-ec2__ (_**BREAKING**_): SecurityGroup can now be used as a Connectable [aws#582](aws#582)). * __@aws-cdk/aws-ec2__: Add VPC tagging ([@moofish] in [aws#538](aws#538)). * __@aws-cdk/aws-ec2__: Add support for `InstanceSize.Nano` ([@rix0rrr] in [aws#581](aws#581)) * __@aws-cdk/aws-lambda__: Add support for dead letter queues ([@SeekerWing] in [aws#663](aws#663)). * __@aws-cdk/aws-lambda__: Add support for placing a Lambda in a VPC ([@rix0rrr] in [aws#598](aws#598)). * __@aws-cdk/aws-logs__: Add `extractMetric()` helper function ([@rix0rrr] in [aws#676](aws#676)). * __@aws-cdk/aws-rds__: Add support for Aurora PostreSQL/MySQL engines ([@cookejames] in [aws#586](aws#586)) * __@aws-cdk/aws-s3__: Additional grant methods for Buckets ([@eladb] in [aws#591](aws#591)) * __@aws-cdk/aws-s3__: New method `addToPipeline` on Bucket ([@skinny85] in [c8b7a49](aws@c8b7a49)). * __aws-cdk__: Add support for HTTP proxies ([@rix0rrr] in [aws#666](aws#666)). * __aws-cdk__: Toolkit now shows failure reason if stack update fails ([@rix0rrr] in [aws#609](aws#609)). * __cdk-build-tools__: Add support for running experiment JSII versions ([@RomainMuller] in [aws#649](aws#649)). * _**BREAKING**_: Generate classes and types for the CloudFormation resource `.ref` attributes ([@rix0rrr] in [aws#627](aws#627)). * _**BREAKING**_: Make types accepted in Policy-related classes narrower (from `any` to `Arn`, for example) to reduce typing mistakes ([@rix0rrr] in [aws#629](aws#629)). * __@aws-cdk/aws-codepipeline__ (_**BREAKING**_): Align the CodePipeline APIs ([@skinny85] in [aws#492](aws#492), [aws#568](aws#568)) * __@aws-cdk/aws-ec2__ (_**BREAKING**_): Move Fleet/AutoScalingGroup to its own package ([@rix0rrr] in [aws#608](aws#608)). * __aws-cdk__: Simplify plugin protocol ([@RomainMuller] in [aws#646](aws#646)). * __@aws-cdk/aws-cloudfront__: Fix CloudFront behavior for ViewerProtocolPolicy ([@mindstorms6] in [aws#615](aws#615)). * __@aws-cdk/aws-ec2__: VPC Placement now supports picking Isolated subnets ([@rix0rrr] in [aws#610](aws#610)). * __@aws-cdk/aws-logs__: Add `export()/import()` capabilities ([@rix0rrr] in [aws#630](aws#630)). * __@aws-cdk/aws-rds__: Fix a bug where a cluster with 1 instance could not be created ([@cookejames] in [aws#578](aws#578)) * __@aws-cdk/aws-s3__: Bucket notifications can now add dependencies, fixing creation order ([@eladb] in [aws#584](aws#584)). * __@aws-cdk/aws-s3__: Remove useless bucket name validation ([@rix0rrr] in [aws#628](aws#628)). * __@aws-cdk/aws-sqs__: Make `QueueRef.encryptionMasterKey` readonly ([@RomainMuller] in [aws#650](aws#650)). * __assets__: S3 read permissions are granted on a prefix to fix lost permissions during asset update ([@rix0rrr] in [aws#510](aws#510)). * __aws-cdk__: Remove bootstrapping error if multiple stacks are in the same environment ([@RomainMuller] in [aws#625](aws#625)). * __aws-cdk__: Report and continue if git throws errors during `cdk init` ([@rix0rrr] in [aws#587](aws#587)). * __@aws-cdk/cfnspec__: Updated [CloudFormation resource specification] to `v2.6.0` ([@RomainMuller] in [aws#594](aws#594)) + **New AWS Construct Library** - `@aws-cdk/aws-sagemaker` supports AWS::SageMaker resources + **New Resource Types** - AWS::AmazonMQ::Broker - AWS::AmazonMQ::Configuration - AWS::CodePipeline::Webhook - AWS::Config::AggregationAuthorization - AWS::Config::ConfigurationAggregator - AWS::EC2::VPCEndpointConnectionNotification - AWS::EC2::VPCEndpointServicePermissions - AWS::IAM::ServiceLinkedRole - AWS::SSM::ResourceDataSync - AWS::SageMaker::Endpoint - AWS::SageMaker::EndpointConfig - AWS::SageMaker::Model - AWS::SageMaker::NotebookInstance - AWS::SageMaker::NotebookInstanceLifecycleConfig + **Attribute Changes** - AWS::CodePipeline::Pipeline Version (__added__) + **Property Changes** - AWS::AppSync::DataSource HttpConfig (__added__) - AWS::DAX::Cluster SSESpecification (__added__) - AWS::DynamoDB::Table Stream (__added__) - AWS::DynamoDB::Table AutoScalingSupport (__added__) - AWS::EC2::VPCEndpoint IsPrivateDnsEnabled (__added__) - AWS::EC2::VPCEndpoint SecurityGroupIds (__added__) - AWS::EC2::VPCEndpoint SubnetIds (__added__) - AWS::EC2::VPCEndpoint VPCEndpointType (__added__) - AWS::EC2::VPCEndpoint RouteTableIds.DuplicatesAllowed (__deleted__) - AWS::EC2::VPCPeeringConnection PeerRegion (__added__) - AWS::EFS::FileSystem ProvisionedThroughputInMibps (__added__) - AWS::EFS::FileSystem ThroughputMode (__added__) - AWS::EMR::Cluster KerberosAttributes (__added__) - AWS::Glue::Classifier JsonClassifier (__added__) - AWS::Glue::Classifier XMLClassifier (__added__) - AWS::Glue::Crawler Configuration (__added__) - AWS::Lambda::Lambda DLQConfigurationSupport (__added__) - AWS::Neptune::DBInstance DBSubnetGroupName.UpdateType (__changed__) - Old: Mutable - New: Immutable - AWS::SNS::Subscription DeliveryPolicy (__added__) - AWS::SNS::Subscription FilterPolicy (__added__) - AWS::SNS::Subscription RawMessageDelivery (__added__) - AWS::SNS::Subscription Region (__added__) - AWS::SQS::Queue Tags (__added__) - AWS::ServiceDiscovery::Service HealthCheckCustomConfig (__added__) + **Property Type Changes** - AWS::AppSync::DataSource.HttpConfig (__added__) - AWS::DAX::Cluster.SSESpecification (__added__) - AWS::EMR::Cluster.KerberosAttributes (__added__) - AWS::Glue::Classifier.JsonClassifier (__added__) - AWS::Glue::Classifier.XMLClassifier (__added__) - AWS::ServiceDiscovery::Service.HealthCheckCustomConfig (__added__) - AWS::CloudFront::Distribution.CacheBehavior FieldLevelEncryptionId (__added__) - AWS::CloudFront::Distribution.DefaultCacheBehavior FieldLevelEncryptionId (__added__) - AWS::CodeBuild::Project.Artifacts EncryptionDisabled (__added__) - AWS::CodeBuild::Project.Artifacts OverrideArtifactName (__added__) - AWS::CodeBuild::Project.Environment Certificate (__added__) - AWS::CodeBuild::Project.Source ReportBuildStatus (__added__) - AWS::ServiceDiscovery::Service.DnsConfig RoutingPolicy (__added__) - AWS::WAF::WebACL.ActivatedRule Action.Required (__changed__) - Old: true - New: false * __@aws-cdk/cfnspec__: Updated Serverless Application Model (SAM) Resource Specification ([@RomainMuller] in [aws#594](aws#594)) + **Property Changes** - AWS::Serverless::Api MethodSettings (__added__) + **Property Type Changes** - AWS::Serverless::Function.SQSEvent (__added__) - AWS::Serverless::Function.EventSource Properties.Types (__changed__) - Added SQSEvent
v0.8.2 (aws#575) ### Features * __@aws-cdk/cdk__: Tokens can now be transparently embedded into strings and encoded into JSON without losing their semantics. This makes it possible to treat late-bound (deploy-time) values as if they were regular strings ([@rix0rrr] in [aws#518](aws#518)). * __@aws-cdk/aws-s3__: add support for bucket notifications to Lambda, SNS, and SQS targets ([@eladb] in [aws#201](aws#201), [aws#560](aws#560), [aws#561](aws#561), [aws#564](aws#564)) * __@aws-cdk/cdk__: non-alphanumeric characters can now be used as construct identifiers ([@eladb] in [aws#556](aws#556)) * __@aws-cdk/aws-iam__: add support for `maxSessionDuration` for Roles ([@eladb] in [aws#545](aws#545)). ### Changes * __@aws-cdk/aws-lambda__ (_**BREAKING**_): most classes renamed to be shorter and more in line with official service naming (`Lambda` renamed to `Function` or ommitted) ([@eladb] in [aws#550](aws#550)) * __@aws-cdk/aws-codepipeline__ (_**BREAKING**_): move all CodePipeline actions from `@aws-cdk/aws-xxx-codepipeline` packages into the regular `@aws-cdk/aws-xxx` service packages ([@skinny85] in [aws#459](aws#459)). * __@aws-cdk/aws-custom-resources__ (_**BREAKING**_): package was removed, and the Custom Resource construct added to the __@aws-cdk/aws-cloudformation__ package ([@rix0rrr] in [aws#513](aws#513)) ### Fixes * __@aws-cdk/aws-lambda__: Lambdas that are triggered by CloudWatch Events now show up in the console, and can only be triggered the indicated Event Rule. _**BREAKING**_ for middleware writers (as this introduces an API change), but transparent to regular consumers ([@eladb] in [aws#558](aws#558)) * __@aws-cdk/aws-codecommit__: fix a bug where `pollForSourceChanges` could not be set to `false` ([@maciejwalkowiak] in [aws#534](aws#534)) * __aws-cdk__: don't fail if the `~/.aws/credentials` file is missing ([@RomainMuller] in [aws#541](aws#541)) * __@aws-cdk/aws-cloudformation__: fix a bug in the CodePipeline actions to correctly support TemplateConfiguration ([@mindstorms6] in [aws#571](aws#571)). * __@aws-cdk/aws-cloudformation__: fix a bug in the CodePipeline actions to correctly support ParameterOverrides ([@mindstorms6] in [aws#574](aws#574)). ### Known Issues * `cdk init` will try to init a `git` repository and fail if no global `user.name` and `user.email` have been configured.
PreviousNext