yarn cdk 1.32.0
v1.32.0

latest releases: 2.160.0, 2.159.1, 2.159.0...
4 years ago

⚠ BREAKING CHANGES

  • cognito: UserPoolClient construct no longer has the property
    userPoolClientClientSecret. The functionality to retrieve the client
    secret never existed in CloudFormation, so this property was not
    working in the first place.
  • cognito: The userPoolClientName property on the UserPoolClient
    construct will throw an error if client name was not configured on the
    UserPoolClient during initialization. This property was previously
    incorrectly configured and was returning a not-implemented message from
    CloudFormation every time.
  • amplify: use the sourceCodeProvider prop to connect your app to a source
    code provider. The props repository, accessToken and oauthToken do not exist
    anymore in AppProps.
  • kinesis: retentionPeriodHours is now retentionPeriod and of type Duration
  • eks: Cluster now creates a default managed nodegroup as its default capacity. Set the new cluster property defaultCapacityType to DefaultCapacityType.EC2 to preserve EC2 as its default capacity.
  • cognito: add*Trigger() methods to configure
    lambda triggers has now been replaced by a single
    addTrigger() method.
  • cognito: addTrigger() method will fail if a trigger
    was already configured for that user pool operation.
  • iam: methods accepting iam conditions now requires passing {[key: string]: any} instead of plain any. You were always supposed to pass a map/dictionary in these locations, but the type system didn't enforce it. It now does.

Features

Bug Fixes

  • acm-certificatemanager: DnsValidatedCertificateHandler support for SubjectAlternativeNames (#7050) (a711c01), closes #4659

  • aws-ecs-patterns: revert commit f31f4e1 (#6987) (0af2d2e)

  • aws-kinesis: test assume order between stacks (#7065) (17aab37)

  • cli: can't use credential providers for stacks with assets (#7022) (afd7045), closes #7005

  • cloudtrail: include s3KeyPrefix in bucket policy resource (#7053) (b49881f), closes #6741

  • cognito: user pool - passwordPolicy.minLength is not optional in all cases (#6971) (49cdd8f)

  • dynamodb: cannot use attribute as key in a GSI, non-key in another (#7075) (a6bd34f), closes #4398

  • ecs: default Service throws in a VPC without private subnets (#7188) (0ef6a95), closes #7062

  • events: Batch target does not work (#7191) (6f00783), closes #7137

  • kinesis: retention period does not use Duration type (#7037) (1186227), closes #7036

  • rewrite-imports: incorrect main in package.json (#7021) (2bf85b3)

  • stepfunctions-tasks: batch job - can not use task input as array size (#7008) (923d2a1), closes #6922

  • stepfunctions-tasks: confusion between multiple ways to run a Lambda (#6796) (7485448), closes #4801

  • cognito: clean up and document triggers (#6816) (32834cb)

Don't miss a new cdk release

NewReleases is sending notifications on new releases.