Skip to content

Releases: aws/aws-cdk

v0.9.1

14 Sep 09:26
eee56d8
Compare
Choose a tag to compare

Bug Fixes

  • aws-cdk: Fix proxy support for account lookup (#693) (5468225), closes #645

Features

  • aws-ec2 BREAKING: Move LoadBalancer to aws-elasticloadbalancing package (#705) (4bd1cf2)
  • aws-serverless BREAKING: Rename @aws-cdk/aws-serverless to @aws-cdk/aws-sam (#704) (3a67d5d)
  • aws-dynamodb: Support DynamoDB TTL (#691) (35b6206)
  • aws-dynamodb: Support DynamoDB PITR (#701) (7a4d7b7)
  • aws-ecr: Add support for ECR repositories (#697) (c6c09bf)
  • aws-lambda: Add support for XRay Tracing (#675) (b4435cc)
  • cfnspec: Add DeploymentPreference Patch for SAM Spec (#681) (#681) (f96c487)

v0.9.0

11 Sep 11:35
b222731
Compare
Choose a tag to compare

0.9.0 -- 2018-09-10

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!

Features

  • Add strongly-named .NET targets, and a cdk init template for C# projects (@mpiroc in #617, #643).
  • @aws-cdk/aws-autoscaling: Allow attaching additional security groups to Launch Configuration (@moofish32 in #636).
  • @aws-cdk/aws-autoscaling: Support update and creation policies on AutoScalingGroups (@rix0rrr in #595).
  • @aws-cdk/aws-codebuild: Add support for running script from an asset (@rix0rrr in #677).
  • @aws-cdk/aws-codebuild: New method addBuildToPipeline on Project (@skinny85 in 783dcb3).
  • @aws-cdk/aws-codecommit: New method addToPipeline on Repository (@skinny85 in #616).
  • @aws-cdk/aws-codedeploy: Add initial support for CodeDeploy (@skinny85 in #593, #641).
  • @aws-cdk/aws-dynamodb: Add support for DynamoDB autoscaling (@SeekerWing in #637).
  • @aws-cdk/aws-dynamodb: Add support for DynamoDB streams (@rhboyd in #633).
  • @aws-cdk/aws-dynamodb: Add support for server-side encryption (@jungseoklee in #684).
  • @aws-cdk/aws-ec2 (BREAKING): SecurityGroup can now be used as a Connectable #582).
  • @aws-cdk/aws-ec2: Add VPC tagging ([@moofish] in #538).
  • @aws-cdk/aws-ec2: Add support for InstanceSize.Nano (@rix0rrr in #581)
  • @aws-cdk/aws-lambda: Add support for dead letter queues (@SeekerWing in #663).
  • @aws-cdk/aws-lambda: Add support for placing a Lambda in a VPC (@rix0rrr in #598).
  • @aws-cdk/aws-logs: Add extractMetric() helper function (@rix0rrr in #676).
  • @aws-cdk/aws-rds: Add support for Aurora PostreSQL/MySQL engines (@cookejames in #586)
  • @aws-cdk/aws-s3: Additional grant methods for Buckets (@eladb in #591)
  • @aws-cdk/aws-s3: New method addToPipeline on Bucket (@skinny85 in c8b7a49).
  • aws-cdk: Add support for HTTP proxies (@rix0rrr in #666).
  • aws-cdk: Toolkit now shows failure reason if stack update fails (@rix0rrr in #609).
  • cdk-build-tools: Add support for running experiment JSII versions (@RomainMuller in #649).

Changes

  • BREAKING: Generate classes and types for the CloudFormation resource .ref attributes (@rix0rrr in #627).
  • BREAKING: Make types accepted in Policy-related classes narrower (from any to Arn, for example) to reduce typing mistakes (@rix0rrr in #629).
  • @aws-cdk/aws-codepipeline (BREAKING): Align the CodePipeline APIs (@skinny85 in #492, #568)
  • @aws-cdk/aws-ec2 (BREAKING): Move Fleet/AutoScalingGroup to its own package (@rix0rrr in #608).
  • aws-cdk: Simplify plugin protocol (@RomainMuller in #646).

Bug Fixes

  • @aws-cdk/aws-cloudfront: Fix CloudFront behavior for ViewerProtocolPolicy (@mindstorms6 in #615).
  • @aws-cdk/aws-ec2: VPC Placement now supports picking Isolated subnets (@rix0rrr in #610).
  • @aws-cdk/aws-logs: Add export()/import() capabilities (@rix0rrr in #630).
  • @aws-cdk/aws-rds: Fix a bug where a cluster with 1 instance could not be created (@cookejames in #578)
  • @aws-cdk/aws-s3: Bucket notifications can now add dependencies, fixing creation order (@eladb in #584).
  • @aws-cdk/aws-s3: Remove useless bucket name validation (@rix0rrr in #628).
  • @aws-cdk/aws-sqs: Make QueueRef.encryptionMasterKey readonly (@RomainMuller in #650).
  • assets: S3 read permissions are granted on a prefix to fix lost permissions during asset update (@rix0rrr in #510).
  • aws-cdk: Remove bootstrapping error if multiple stacks are in the same environment (@RomainMuller in #625).
  • aws-cdk: Report and continue if git throws errors during cdk init (@rix0rrr in #587).

CloudFormation Changes

  • @aws-cdk/cfnspec: Updated [CloudFormation resource specification] to v2.6.0 (@RomainMuller in #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.ActivatedRu...
Read more

v0.8.2

15 Aug 13:38
934ca5f
Compare
Choose a tag to compare

Refer to the README for this release for detailed instructions.

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 #518).
  • @aws-cdk/aws-s3: add support for bucket notifications to Lambda, SNS, and SQS targets (@eladb in #201, #560, #561, #564)
  • @aws-cdk/cdk: non-alphanumeric characters can now be used as construct identifiers (@eladb in #556)
  • @aws-cdk/aws-iam: add support for maxSessionDuration for Roles (@eladb in #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 #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 #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 #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 #558)
  • @aws-cdk/aws-codecommit: fix a bug where pollForSourceChanges could not be set to false (@maciejwalkowiak in #534)
  • aws-cdk: don't fail if the ~/.aws/credentials file is missing (@RomainMuller in #541)
  • @aws-cdk/aws-cloudformation: fix a bug in the CodePipeline actions to correctly support TemplateConfiguration (@mindstorms6 in #571).
  • @aws-cdk/aws-cloudformation: fix a bug in the CodePipeline actions to correctly support ParameterOverrides (@mindstorms6 in #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.

v0.8.1

09 Aug 07:49
c40afb5
Compare
Choose a tag to compare

Refer to the README for this release for detailed instructions.

Known Issues

  • The CDK toolkit requires the presence of the ~/.aws/credentials file #540

Features

  • aws-cdk: Support --profile in command-line toolkit (@rix0rrr in #517)
  • @aws-cdk/cdk: Introduce Default construct id (@rix0rrr in #496)
  • @aws-cdk/aws-lambda: Add LambdaRuntime.DotNetCore21 (@Mortifera in #507)
  • @aws-cdk/runtime-values (BREAKING): rename 'rtv' to 'runtime-values' (@rix0rrr in #494)
  • @aws-cdk/aws-ec2: Combine Connections and DefaultConnections classes (@rix0rrr in #453)
  • @aws-cdk/aws-codebuild: allow buildSpec parameter to take a filename (@rix0rrr in #470)
  • @aws-cdk/aws-cloudformation-codepipeline: add support for CloudFormation CodePipeline actions (@mindstorms6 and @rix0rrr in #525).
  • docs: Improvements to Getting Started (@eladb in #462)
  • docs: Updates to README (@Doug-AWS in #456)
  • docs: Upgraded jsii-pacmak to 0.6.4, which includes "language-native" type names and package coordinates (@RomainMuller in awslabs/jsii#130)

Bug fixes

v0.8.0

31 Jul 13:23
bb95676
Compare
Choose a tag to compare

Refer to the README for this release for detailed instructions.

This is the first public release of the AWS CDK!

v0.7.4-beta

26 Jul 11:38
f20b380
Compare
Choose a tag to compare
v0.7.4-beta Pre-release
Pre-release

Refer to the README for this release for detailed instructions.

S3 Location:

aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.4-beta+f20b380.zip ~/Downloads
aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.4-beta+f20b380.zip.sig ~/Downloads

Highlights

  • A huge shout-out to our first external contributor, @moofish32, for many
    valuable improvements to the EC2 VPC construct (@moofish32 in #250).
  • The AWS::CDK::Metadata resource is injected to templates to analyze usage
    and notify about deprecated modules to improve security. To opt-out, use the
    switch --no-version-reporting or set version-reporting to false in your
    cdk.json (@RomainMuller in #221).
  • Added capability for bundling local assets (files/directories) and referencing
    them in CDK constructs. This allows, for example, to define Lambda functions
    with runtime code in the same project and deploy them using the toolkit
    (@eladb in #371).
  • Reorganization of CodePipeline actions into separate libraries (@skinny85 in #401 and #402).
  • A new library for CloudWatch Logs (@rix0rrr in #307).

AWS Construct Library

  • BREAKING: All AWS libraries renamed from @aws-cdk/xxx to
    @aws-cdk/aws-xxx in order to avoid conflicts with framework modules
    (@RomainMuller in #384).
  • BREAKING: The @aws-cdk/resources module has been removed.
    Low-level CloudFormation resources (e.g. BucketResource) are now integrated
    into their respective library under the cloudformation namespace to improves
    discoverability and organization of the layers (@RomainMuller in #264).

Framework

  • Introducing CDK Assets which are local files or directories that can be
    "bundled" into CDK constructs and apps. During deployment assets are packaged
    (i.e. zipped), uploaded to S3 and their deployed location can be referenced in
    CDK apps via the s3BucketName and s3ObjectKey and s3Url and read
    permissions can be granted via asset.grantRead(principal) (@eladb in
    #371)
  • Return dummy values instead of fail synthesis if environmental context (AZs,
    SSM parameters) doesn't exist in order to support unit tests. When
    synthesizing through the toolkit, an error will be displayed if the context
    cannot be found (@eladb in #227)
  • Added construct.addError(msg), addWarning(msg) and addInfo(msg) which
    will emit messages during synthesis via the toolkit. Errors will fail
    synthesis (unless --ignore-errors is used), warnings will be displayed and
    will fail synthesis if --strict is used (@eladb in #227)

Command Line Toolkit

  • The toolkit now injects a special CloudFormation resource AWS::CDK::Metadata
    to all synthesized templates which includes library versions used in the app.
    This allows the CDK team to analyze usage and notify users if they use
    deprecated versions (@RomainMuller in #221).
  • Bug fix: Fixed "unknown command: docs" (@RomainMuller in #256)
  • Changed output of cdk list to just print stack names (scripting-compatible).
    Use cdk ls -l to print full info (@eladb in #380)

AWS EC2

  • BREAKING: Add the ability customize subnet configurations.
    Subnet allocation was changed to improve IP space efficiency. VpcNetwork
    instances will need to be replaced (@moofish32 in #250)
  • BREAKING: Renamed Fleet to AutoScalingGroup to align with service
    terminology (@RomainMuller in #318)

AWS Lambda

  • Supports runtime code via local files or directories through assets (@eladb
    in #405)
  • Support custom execution role in props (@rix0rrr in #205)
  • Add static metricAllConcurrentExecutions and
    metricAllUnreservedConcurrentExecutions which returns account/region-level
    metrics for all functions (@rix0rrr in #379)

AWS CloudWatch

  • Added Metric.grantMetricPutData which grants cloudwatch:PutData
    to IAM principals (@rix0rrr in #214)
  • Bug fix: Allow text included in dashboard widgets to include characters
    that require JSON-escaping (@eladb in #406).

AWS CloudWatch Logs (new)

  • A new construct library for AWS CloudWatch Logs with support for log groups,
    metric filters, and subscription filters (@rix0rrr in #307).

AWS S3

  • Added bucketUrl and urlForObject(key) to BucketRef (@eladb in #370)

AWS CodeBuild

  • Add CloudWatch metrics to BuildProject (@eladb in [#407])

AWS CodePipeline

  • BREAKING: Moved CodeCommit and CodeBuild and LambdaInvoke actions from
    the CodePipeline library to @aws-cdk/aws-xxx-codepipline modules
    (@skinny85 in #401 and #402).
  • Added attributes pipelineName and pipelineVersion (@eladb in #408)

Docs

  • fix: add instructions and fix Windows setup (@mpiroc in #320)
  • fix: show emphasis of modified code in code snippets (@eladb in #396)

v0.7.3-beta

09 Jul 13:06
eb3f31a
Compare
Choose a tag to compare
v0.7.3-beta Pre-release
Pre-release

Refer to the README for this release for detailed instructions.

S3 Location:

aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.3-beta+eb3f31a.zip ~/Downloads
aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.3-beta+eb3f31a.zip.sig ~/Downloads

Highlights

  • Introducing Java support (see the Getting Started documentation topic for
    instructions on how to set up a Java project).
  • Introduce a new programming model for CloudWatch metrics, alarms and
    dashboards (see the @aws-cdk/cloudwatch documentation).
  • Multiple documentation improvements (open with cdk docs).

Known Issues

  • Missing instructions for Windows Setup ([#138])
  • cdk docs works but a message Unknown command: docs is printed (#256)
  • Java: passing null behaves differently than no arguments. Workaround is to
    build an empty object (#157)

Changes

  • Introduce Java support (@eladb in #229, #245, #148, #149)
  • Changed the way the beta archive is structured to no longer bundle a
    pre-installed node_modules directory but rather only a local npm
    repository. This changes the setup instructions to require y-npm i -g aws-cdk to install the toolkit on the system, which is more inline with the
    setup experience post-beta (@RomainMuller in #161, #162 and
    awslabs/jsii#43).
  • CloudWatch (new): introduce a rich programming model for metrics, alarms and
    dashboards (@rix0rrr in #180, #194)
  • S3 (feature): add support for SSE-S3 encryption (@rix0rrr in #257)
  • Lambda (feature): add support for node.js 8.10 runtime (@RomainMuller in
    #187)
  • Runtime Values (fix): use allowed characters in SSM parameter name when
    advertising a runtime value (@eladb in #208)
  • SNS (docs): convert examples in README into compiled code (@rix0rrr in
    #107)
  • Toolkit (feature): introduce cdk doctor to collect information for
    diagnostics (@RomainMuller in #177)
  • Toolkit (feature): align AWS credentials behavior to AWS CLI (@RomainMuller
    in #175)
  • Toolkit (performance): cache default AWS account ID on disk (@eladb in
    #220)
  • Docs: multiple updates ([@Doug-AWS] in #142)
  • Docs: improve topic on logical IDs (@eladb in #209)
  • Docs: add support for code snippets in multiple tabs (@eladb in #231)
  • Docs: rewrote the "Getting Started" documentation topic to include
    step-by-step project setup details instead of using cdk-init. This is in
    order to improve understanding of how the CDK works when users get started
    (@eladb in #245)
  • Resource bundler: generate .d.ts (@rix0rrr in #172)

v0.7.2-beta

19 Jun 22:15
ff3cf4c
Compare
Choose a tag to compare
v0.7.2-beta Pre-release
Pre-release

Optionally, you may also obtain this release from S3:

aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.2-beta+ff3cf4c.zip /tmp/aws-cdk.zip
aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.2-beta+ff3cf4c.zip.sig /tmp/aws-cdk.zip.sig

See README for setup/update instructions.

Known issues

  • Windows setup has not been vetted and might be broken - no workaround
    (#138)
  • If region is not defined, error message is unclear - workaround: make sure
    to define region when running aws configure (#131)
  • cdk docs opens the index instead of the welcome page - workaround:
    click on "Welcome" in the sidebar (#129)
  • The runtime values library (@aws-cdk/rtv) is broken (#151)

v0.7.1-beta

15 Jun 19:13
e3fdef2
Compare
Choose a tag to compare
v0.7.1-beta Pre-release
Pre-release

Optionally, you may also obtain this release from S3:

aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.1-beta+e3fdef2.zip /tmp/aws-cdk.zip
aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.1-beta+e3fdef2.zip.sig /tmp/aws-cdk.zip.sig

See README for setup/update instructions.

Framework

  • Two-way IAM policy statement additions have been removed for S3 and SNS,
    because those services treat resource and identity policies as additive.
    KMS grants are still added on both resource and identity because KMS
    requires permissions set from both sides.

Toolkit

  • cdk init interface changed to accept the template name as a positional
    argument, and the language as an option. A --list option was added to
    allow listing available templates.
  • cdk-beta-npm is a wrapper to npm that executes commands with a local registry
    that has the CDK packages available. It should be used instead of npm for
    subcommands such as npm install.
  • CDK now respects AWS_DEFAULT_REGION environment variable if set.

v0.7.0-beta

13 Jun 12:59
5a0418a
Compare
Choose a tag to compare
v0.7.0-beta Pre-release
Pre-release

Optionally, you may also obtain this release from S3:

aws s3 cp s3://aws-cdk-beta/aws-cdk-0.7.0-beta+5a0418a.zip /tmp/aws-cdk.zip

See README for setup/update instructions.

Framework

  • BREAKING: All CDK packages are now under the scope @aws-cdk (e.g.
    @aws-cdk/s3).
  • BREAKING: The jsii compiler now configures tsconfig.json to produce definition
    files (files with a .d.ts extension). This requires updating your existing
    package.json files types key to replace the .ts extension with a .d.ts
    extension.
  • Java bindings now include static methods and constants.
  • SecretParameter can be used to load values from the SSM parameter store
    during deployment and use them as Secrets.
  • Stack is locked for mutations during synthesis to protect against
    accidental changes in lazy values.
  • An overhaul of documentation updates, edits and improvements.

ACM

  • Fix: cloudFrontDefaultCertificate is mutually exclusive with acmCertificateArn.

CloudFront (new)

  • Added a new construct library for AWS CloudFront.

CodeBuild

  • Added support for specifying environment variables at the container and
    project levels.

CodePipeline

  • Fix: GitHub action "owner" changed to ThirdParty.
  • Removed all fluent APIs
  • Use "master" as the default branch for Source actions
  • BREAKING: AmazonS3SourceProps - renamed key to bucketKey

Custom Resources

  • BREAKING: Require that Lambda is referenced explicitly when defining a custom resource.
    SingletonLambda can be used to encapsulate the custom resource's lambda
    function but only have a single instance of it in the stack.

Events (new)

A new cross-stack programming model is introduced to support CloudWatch Events.
Event sources implement onXxx methods for various events that can emitted by
that source and event targets implement IEventRuleTarget, so they can be
polymorphically added to rules.

const repo = new Repository(stack, 'MyRepo', { repositoryName: 'my-repo' });
const project = new BuildProject(stack, 'MyProject', { source: new CodeCommitSource(repo) });

const topic = new Topic(stack, 'MyTopic');
topic.subscribeEmail('Personal', '[email protected]');

project.onStateChange(topic);

Coverage to all event sources and target will be added in subsequent releases.

Supported targets:

  • codebuild.BuildProject
  • codepipline.Pipeline
  • sns.Topic

Supported sources:

  • CodeBuild: onStateChange, onPhaseChange, onBuildStarted, onBuildFailed, onBuildSucceeded.
  • CodeCommit: onEvent, onStateChange, onReferenceCreated, onReferenceUpdated, onReferenceDeleted, onPullRequestStateChange, onCommentOnPullRequest, onCommentOnCommit, onCommit.
  • CodePipeline: pipeline.onStateChange, stage.onStateChange, action.onStateChange.

IAM

  • Add CanonicalUserPrincipal
  • Add statementCount to PolicyDocumennt.
  • Extended support for FederatedPrincipal.

Lambda

  • Add initialPolicy prop which allows specifying a set of PolicyStatements
    upon definition.

S3

  • Added support for lifecycle rules
  • Add domainName and dualstackDomainName attributes

Serverless

  • version field of FunctionResource is now optional.

SNS

  • BREAKING: subscribeXxx APIs now do not require a name when possible
    (for queue, Lambda).
  • Unique SID assigned to resource policy statements.

Toolkit

  • cdk docs opens your browser with the bundled documentation content.
  • cdk init interface changed to specify --lang and --type separately.
  • Plug-in architecture improved.