Socket
Socket
Sign inDemoInstall

cdk

Package Overview
Dependencies
Maintainers
1
Versions
517
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk - npm Package Versions

1
52

1.31.0

Diff

Changelog

Source

1.31.0 (2020-03-24)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • .NET Core v3.1 is required with JSII v1.1

Features

Bug Fixes

  • acm: Allow tokens as a part of the hosted zone name (#6685) (acfb6ef), closes #6133

  • aws-ecs-patterns: only create an A record if LB is public (#6895) (f31f4e1), closes #6702

  • cdk-assets: context path not honored by Docker asset build (#6957) (1edd507), closes #6954 #6814

  • cloudwatch: unhelpful error when reusing metric IDs (#6892) (60253a3)

  • cognito: user pool - link style email verification fails to deploy (#6938) (b5c60d5), closes #6811

  • ec2: spelling error in Instance's subnet selection logic. (#6752) (564561a)

  • iam: immutable role cannot be used as a construct (#6920) (56be032), closes #6885

  • .NET Core 3.1 is required with JSII v1.1 (#6951) (24f12d6)

aws-cdk-team
published 1.30.0 •

Changelog

Source

1.30.0 (2020-03-18)

Features

Bug Fixes

aws-cdk-team
published 1.29.0 •

Changelog

Source

1.29.0 (2020-03-18)

:rocket: To enable new CDK projects such as CDK for Kubernetes, we have released the constructs programming model as an independent library called constructs. The @aws-cdk/core.Construct class is now a subclass of the base constructs.Construct.

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • cognito: UserPoolAttribute has been removed. It is no longer required to defined a UserPool.
  • ec2: if you implemented a custom subclass of IMachineImage it must now always return a userData object.

Features

  • cli: add permissions to the bootstrap action role for cdk deploy (#6684) (52fd078)
  • codebuild: add support for Source Credentials (#6722) (a6e2d28)
  • cognito: user pool - custom & mandatory standard attributes (#6487) (6dfb677), closes #1747
  • cognito: user pool - MFA, password policy and email settings (#6717) (cc35dad)
  • core: the "constructs" module (#6623) (eded95b)
  • ec2: availabilityZone is optional when importing subnet (d10fe67), closes #6607
  • lambda-event-sources: failure handling for stream event sources (#5929) (5028009), closes #5236

Bug Fixes

  • aws-ecs-pattern: allow ScheduledTaskBase to run on a public subnet (#6624) (b9a1408), closes #6312
  • SecretValue.secretManager validates non-ARN ids do not contain : (#6371) (7cb8c3f)
  • aws-logs: remove validation of retentionInDays for unresolved tokens (#6727) (43a3420), closes #6690
  • ec2: MachineImages create appropriate UserData (7a10f0f)
aws-cdk-team
published 1.28.0 •

Changelog

Source

1.28.0 (2020-03-16)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • batch: computeEnvironments is now required
  • batch: the allocationStrategy property was moved from ComputeEnvironmentProps to the ComputeResources interface, which is where it semantically belongs.
  • custom-resources: getDataString was renamed to getResponseField.
  • custom-resources: getData was renamed to getResponseFieldReference.
  • custom-resources: catchErrorPattern was renamed to ignoreErrorCodesMatching. In addition, a few synth time validations were added when using this property. See Error Handling for details.
  • custom-resources: policyStatements property was removed in favor of a required policy property. Refer to Execution Policy for more details.

Features

Bug Fixes

  • apigateway: type mismatch in C# when setting identitySources (#6649) (2d3e7b1), closes #6538 40aws-cdk/aws-apigateway/test/authorizers/integ.request-authorizer.ts#L26
  • batch: computeEnvironments is now required for JobQueue (#6616) (0b6c865), closes #6615
  • batch: managed compute environment now properly works with compute resources and instanceRole has correct docstring and type definition (#6549) (4e81334)
  • certificatemanager: Route53 endpoint cannot be set and does not work for aws-cn (#6480) (9858cdb)
  • cli: codepipeline cloudformation action in cross account fail writing outputArtifacts (#6594) (05cf78b)
  • cloudwatch: missing LessThanLowerOrGreaterThanUpperThreshold (#6597) (9731555)
  • codepipeline-actions: use IBaseService instead of BaseService in EcsDeployActionProps (#6412) (bed5357)
  • eks: cannot upgrade version of clusters with an explicit name (#6064) (1dd7104)
  • eks: sporadic broken pipe when deploying helm charts (#6522) (03df1f1), closes #6381
  • iam: cannot add multiple conditions using same operator (348a952)
aws-cdk-team
published 1.27.0 •

Changelog

Source

1.27.0 (2020-03-03)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • cognito: UserPool.fromUserPoolAttributes() has been replaced by fromUserPoolId() and fromUserPoolArn().
  • cognito: IUserPool no longer contains userPoolProviderName and userPoolProviderUrl.
  • cognito: The property signInType of UserPool has been renamed to signInAliases and given a new type SignInAliases. The list of sign in types are now specified via boolean properties.
  • cognito: The property usernameAliasAttributes of UserPool has been dropped and its functionality merged with the signInAliases property.
  • cognito: The property autoVerifiedAttributes for UserPool is now renamed to autoVerify and its default has now changed. The new default is now determined by the value of signInAliases.
  • appsync: Configuration the user pool authorization is now done through the authorizationConfig property. This allows us to specify a default authorization mode out of the supported ones, currently limited to Cognito user pools and API keys.
  • custom-resources: physicalResourceId and physicalResourceIdPath were unified to a concrete type under the physicalResourceId property. Use PhysicalResourceId.fromResponse and PhysicalResourceId.of factory functions to specify it.

Features

Bug Fixes

  • assert: haveResourceLike and countResourcesLike compatibility (#6202) (86c04f3)
  • cli: fast "no-op" deploys do not consider tags (#6472) (5de87c1), closes #6463
  • codepipeline: an action's role imported in a different stack adds a dependency to the CodePipeline stack (#6458) (86ea564)
  • codepipeline: automatically named artifacts could contain illegal characters from stage/action names (#6460) (34aaca4)
  • core: adds enableVersionUpgrade property to CfnUpdatePolicy (#6434) (f8cacb9), closes #6158
  • custom-resources: AwsCustomResource with delete only action fails (#6363) (61a99e7), closes #6061
  • docker: cannot use cdk docker assets as base image (#6471) (983dd40), closes #6466
  • rds: setting timezone on DatabaseInstance causes internal failure (#6534) (9e2ac91), closes #6439
  • stepfunctions: valid reference path '$' fails with an error (#6483) (221c83b), closes #6388
aws-cdk-team
published 1.26.0 •

Changelog

Source

1.26.0 (2020-02-25)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • 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-cdk-team
published 1.25.0 •

Changelog

Source

1.25.0 (2020-02-18)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • 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

aws-cdk-team
published 1.24.0 •

Changelog

Source

1.24.0 (2020-02-13)

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
aws-cdk-team
published 1.23.0 •

Changelog

Source

1.23.0 (2020-02-07)

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)
aws-cdk-team
published 1.22.0 •

Changelog

Source

1.22.0 (2020-01-23)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • 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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc