Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/core

Package Overview
Dependencies
Maintainers
4
Versions
248
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/core - npm Package Versions

1
25

1.64.0

Diff

Changelog

Source

1.64.0 (2020-09-22)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • codedeploy: the default policy for LambdaDeploymentGroup no longer contains sns:Publish on * permissions

  • cfn-include: the construction property 'nestedStacks' of class 'CfnInclude' has been renamed to 'loadNestedStacks'

  • rds: removed protected member subnetGroup from DatabaseCluster classes

  • rds: Cluster now has deletionProtection enabled if its removal policy is RETAIN

  • rds: Instance now has deletionProtection enabled by default only if its removal policy is RETAIN

  • eks: Clusters previously running k8s version other than 1.15 and bottlerocket AMI(aws-k8s-1.15 variant) will trigger AMI and node replacement.

Features

Bug Fixes

  • bootstrap: no longer creates KMS master key by default (#10365) (bedd4c0), closes #10115
  • bootstrapping: --cloudformation-execution-policies not checked (#10337) (ad9a705)
  • cfn-include: allow referring to Conditions in Outputs and Rules (#10373) (4751f42)
  • cfn-include: correctly handle the 'AWS::CloudFormation::CustomResource' resource type (#10415) (1a5a024)
  • cli: --profile is ignored if AWS_ variables are set (#10362) (957a12e)
  • cli: cdk synth fails if AWS_ credentials have expired (#10343) (406f665), closes #7849
  • cli: stack outputs aren't sorted (#10328) (9f430fc)
  • cloudwatch: LTE operator renders wrong symbol (#10418) (2543584), closes #8913
  • codebuild: Project.addFileSystemLocation does not work without providing locations at construction (#10460) (994d3c3), closes #10442
  • core: CfnParameter of Number type cannot be used as a string (#10422) (28adc88), closes #10228
  • diff: deepEqual may miss difference other than DependsOn (#10394) (9bcaf75), closes #10322
  • diff: allow strings to be passed for boolean properties (#10378) (673dd82)
  • diff: handle YAML short-forms like '!GetAtt' in diff (#10381) (457e109), closes #6537
  • dynamodb: cannot change serverSideEncryption from true to false (#8450) (7a266b5), closes #8286
  • ec2: InitFile does not work on Windows (#10450) (84b9d5e), closes #10390
  • eks: cannot import a cluster with cdk managed kubectlPrivateSubnets (#10459) (10d0a36)
  • eks: circular dependencies when security groups from other stacks are used (#10339) (857acbb)
  • lambda: unable to add permissions to imported lambda functions (#8828) (9bf8e13), closes #7588
  • lambda-nodejs: local parcel not detected (#10268) (457fab8)
  • pipelines: make CdkPipeline build stage optional (#10345) (e9ffa67), closes #10148
  • rds: cannot use s3ImportBuckets or s3ExportBuckets with aurora postgres (#10132) (cb6fef8), closes #4419 #8201
  • SSM Association 'parameters' property has incorrect type (#10316) (7b5c9d2), closes #3092
  • rds: standardize removal policies and deletion protection (#10412) (75811c1)
  • redshift: cluster defaultChild broken after adding subnet group (#10389) (746dfe2), closes #10340
  • s3-notifications: lambda destination creates a circular dependency when bucket and lambda are in different stacks (#10426) (7222b5d)
  • ecs: DockerVolumeConfiguration.labels changed from an array to a map. This was a long standing latent bug and in fact configuring labels in the old format would have resulted in the wrong behavior. (#10385)
aws-cdk-team
published 1.63.0 •

Changelog

Source

1.63.0 (2020-09-12)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • appsync: force apiKeyConfig require a Expiration class instead of string
  • appsync: Parameter apiKeyConfig takes Expiration class instead of string
  • core: custom implementations of IStackSynthesizer must now implement synthesize() instead of synthesizeStackArtifacts().
  • aws-batch: Changed type of ComputeResources.computeResourcesTags from Tag to map

Features

Bug Fixes

  • appsync: strongly type expires prop in apiKeyConfig (#9122) (287f808), closes #8698
  • aws-batch: computeResources tags are not configured properly (#10209) (40222ef), closes #7350
  • cfn-include: correctly parse YAML strings in short-form GetAtt (#10197) (a388d70), closes #10177
  • cfn-include: correctly substitute falsy parameter values (#10195) (8791f88), closes #10107
  • cli: metadata not recorded for templates >50k (#10184) (dfd2baf)
  • cli: simplify lib template (#10175) (fc3ec9b)
  • cli: unable to set termination protection for pipeline stacks (#9938) (a00a4ee)
  • cloudfront: comment for origin access identity is too long (#10266) (495aeb9), closes #10211
  • codepipeline: cross-region support stack requires bootstrapping (#10217) (b5ff4d6), closes #10215
  • core: DefaultSynthesizer breaks this.node.setContext() on Stack (#10246) (61865aa)
  • core: Stacks render CloudFormation elements in nested Stages (#10156) (5f36f6b), closes #9792 #9669
  • custom-resources: deleting custom resource fails when using two or more (#10012) (8d23f24)
  • ec2: cfn-init user data hash not updated if file asset changes (#10216) (0d7ca63), closes #10206
  • eks: restricted public access breaks cluster functionality (#10103) (a1b5bf6)
  • kms: do not change the principal to root for imported resources in dependent Stacks (#10299) (54dfe83), closes #10166
  • lambda-nodejs: permission denied, mkdir '/.parcel-cache' (#10181) (20f5535)
  • pipelines: changing synth action doesn't restart pipeline (#10176) (14c8a98), closes #9458
  • pipelines: check for an empty Stage object (#10153) (cec20c8), closes #9559
  • rds: Make most DatabaseClusterAttributes properties optional (#10291) (0653e6b), closes #3587
aws-cdk-team
published 1.62.0 •

Changelog

Source

1.62.0 (2020-09-03)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • eks: when importing EKS clusters using eks.Cluster.fromClusterAttributes, the clusterArn attribute is not supported anymore, and will always be derived from clusterName.
  • eks: Only a single eks.Cluster is allowed per CloudFormation stack.
  • eks: The securityGroups attribute of ClusterAttributes is now securityGroupIds.
  • cli: --qualifier must be alphanumeric and not longer than 10 characters when bootstrapping using newStyleStackSynthesis.

Features

Bug Fixes

aws-cdk-team
published 1.61.1 •

Changelog

Source

1.61.1 (2020-08-28)

Bug Fixes

aws-cdk-team
published 1.61.0 •

Changelog

Source

1.61.0 (2020-08-27)

Features

  • appsync: implement resolvable fields for code-first schema (#9660) (9e3b798)
  • appsync: separating schema from graphql api (#9903) (8d71fa1)
  • cli: automatically determine region on EC2 instances (#9313) (1cf986d)
  • core: facility to warn when deprecated APIs are used (#9585) (b1d0ac0)
  • custom-resources: function name for AwsCustomResource (#9774) (6da6581), closes #9771
  • eks: envelope encryption for secrets (#9438) (65fd3e6), closes #9140
  • rds: deletion protection for RDS cluster (#9871) (ef98b9f), closes #6944
  • rds: grantConnect for database instances (#9887) (e893828), closes #1558
  • region-info: add information for af-south-1 and eu-south-1 regions (#9569) (9d76c26)
  • s3: imported buckets can have an explicit region (#9936) (f0c76ac), closes #8280 #9556
  • stepfunctions-tasks: add support for CodeBuild StartBuild API (#9757) (dae54ec), closes #8043

Bug Fixes

aws-cdk-team
published 1.60.0 •

Changelog

Source

1.60.0 (2020-08-19)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • cloudfront: Distribution: .domains must be specified if certificate is provided.
  • appsync: appsync.addXxxDataSource name and description props are now optional and in an DataSourceOptions interface.
  • appsync: the props name and description in addXxxDataSource have been moved into new props options of type DataSourceOptions
  • appsync: DataSourceOptions.name defaults to id
  • appsync: DataSourceOptions.description defaults to undefined

Features

Bug Fixes

  • apigateway: access log format does not allow tokens (#9769) (a7c5c75), closes #9687
  • build: Prereq check - support paths with spaces. (9ca1d02), closes #9749
  • cfn-include: handle numbers expressed as strings in templates (#9525) (e9a4102), closes #9524
  • cli: "fancy" progress reporting not disabled on all CI systems (#9516) (97ef371), closes #8696 #8893
  • cli: CLI does not use regional endpoints (#9835) (34450b0), closes #9223
  • cli: stack monitor reads complete stack history every 5 seconds (#9795) (cace51a), closes #9470
  • cli: SynthUtils is not used (#9836) (9f1007e)
  • cloudformation-diff: DependsOn singleton arrays aren't equal to string values (#9814) (49cdb47)
  • cloudfront: all origin access identities have identical names (#9829) (ca79188), closes #9580
  • cloudfront: Distribution ignores webAclId (#9828) (366c781), closes #9635 #9824
  • cloudfront: Update Suported Security Protocol enum and set TLS_V1_2_2019 as a default version (#9738) (f6c25ad), closes #9212
  • codebuild: fails on using PR Events together with FILE_PATH filters in a FilterGroup (#9725) (fdaf6bc), closes #8867
  • codepipeline: Service Catalog action generated incorrect file path (#9773) (286ff50), closes #9767
  • eks: AMI changes in managed SSM store param causes rolling update of ASG (#9746) (44f7753), closes #7273
  • elbv2: NLB Target Group does not inherit protocol (#9331) (#9651) (171ab59)
  • lambda: compute platform missing for autocreated profiling group (#9716) (a8f4c9f)
  • lambda-nodejs: cannot bundle when entry file is named index.ts (#9724) (bb90fbe), closes #9709
  • lambda-nodejs: NodejsFunction construct incompatible with lambda@edge (#9562) (dfe2c5c), closes #9328 #9453
  • lambda-python: install rsync if necessary (#9763) (6edb6e6), closes #9704 #9349 #9582
aws-cdk-team
published 1.59.0 •

Changelog

Source

1.59.0 (2020-08-14)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • eks: cluster.addResource was renamed to cluster.addManifest and KubernetesResource was renamed to KubernetesManifest
  • cloudfront: (cloudfront) Changed IDs for Distributions (will cause resource replacement).

Features

Bug Fixes

  • cloudfront: ensures origin groups are added with their own ID as a target (#9593) (246842f), closes #9561 #9561
  • cloudfront: Escape hatch support for Distribution (#9648) (cc229c2), closes #9620
  • codepipeline: S3 source Action with trigger=Events fails for bucketKey a Token (#9575) (43214b4), closes #9554
  • ec2: can't use imported Subnets in a SubnetSelection (#9579) (1c4eae8)
aws-cdk-team
published 1.58.0 •

Changelog

Source

1.58.0 (2020-08-12)

Features

Bug Fixes

  • cfn-include: allowedValues aren't included when specified by a parameter (#9532) (e7dc82f)
  • codedeploy: ServerDeploymentGroup takes AutoScalingGroup instead of IAutoScalingGroup (#9252) (9ff55ae), closes #9175
  • docdb: autoMinorVersionUpgrade property was not set to true by default as stated in the docstring (#9505) (e878f9c)
  • ec2: Volume grants have an overly complicated API (#9115) (74e8391), closes #9114
  • efs: LifecyclePolicy of AFTER_7_DAYS is not applied (#9475) (f78c346), closes #9474
  • eks: clusters in a FAILED state are not detected (#9553) (d651948)
  • eks: private endpoint access doesn't work with Vpc.fromLookup (#9544) (dd0f4cb), closes #9542 #5383
  • lambda: cannot create lambda in public subnets (#9468) (b46fdc9)
  • pipelines: CodeBuild images have (too) old Node version (#9446) (bd45f34), closes #9070
  • pipelines: manual approval of changeset uses wrong ordering (#9508) (5c01da8), closes #9101 #9101
aws-cdk-team
published 1.57.0 •

Changelog

Source

1.57.0 (2020-08-07)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • apigatewayv2: The parameter for the method bind() on IHttpRouteIntegration has changed to accept one of type HttpRouteIntegrationBindOptions. The previous parameter IHttpRoute is now a property inside the new parameter under the key route.
  • eks: The experimental eks.Cluster construct no longer supports setting kubectlEnabled: false. A temporary drop-in alternative is eks.LegacyCluster, but we have plans to completely remove support for it in an upcoming release since eks.Cluster has matured and should provide all the needed capabilities. Please comment on https://github.com/aws/aws-cdk/issues/9332 if there are use cases that are not supported by eks.Cluster.
  • eks: endpoint access is configured to private and public by default instead of just public
  • lambda.Version and apigateway.Deployment resources with auto-generated IDs will be replaced as we fixed a bug which ignored resource dependencies when generating these logical IDs.
  • core: in unit tests, the node.path of constructs within stacks created the root of the tree via new Stack() will now have a prefix Default/ which represents an implicit App root.

Related: https://github.com/aws/aws-cdk-rfcs/issues/192

  • cloudfront: the property OriginBase.originId has been removed

Features

Bug Fixes

aws-cdk-team
published 1.56.0 •

Changelog

Source

1.56.0 (2020-07-31)

⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • appsync: appsync prop schemaDefinition no longer takes string, instead it is required to configure schema definition mode.
  • appsync: schemaDefinition takes param SchemaDefinition.XXX to declare how schema will be configured
    • SchemaDefinition.CODE allows schema definition through CDK
    • SchemaDefinition.FILE allows schema definition through schema.graphql file
  • cloudfront: Removed origin classes from the aws-cloudfront module.
  • aws-cloudfront: Removed S3Origin and HttpOrigin from the aws-cloudfront module. Use the S3Origin and HttpOrigin classes in the aws-cloudfront-origins module instead.
  • aws-cloudfront: Renamed Origin to OriginBase.
  • cloudfront: the property Origin.domainName has been removed

Features

Bug Fixes

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