⚠ BREAKING CHANGES
- rds: the property 'version' has been changed from string to an engine-specific
version class; use VersionClass.of() if you need to create a specific version of an engine from a string - rds: the property ParameterGroupProps.family has been renamed to engine, and its type changed from string to IEngine
- rds: the property engineVersion in IClusterEngine changed from a string to EngineVersion
- rds: the property engineVersion in IInstanceEngine changed from a string to EngineVersion
- rds: the property parameterGroupFamily in IClusterEngine changed from required to optional
- rds: the property parameterGroupFamily in IInstanceEngine changed from required to optional
- rds: the class ClusterParameterGroup has been removed -
use ParameterGroup instead - rds:
DatabaseProxyProps.secret
=>DatabaseProxyProps.secrets[]
- apigateway:
defaultMethodOptions
,defaultCorsPreflightOptions
anddefaultIntegration
have been removed fromSpecRestApiProps
.
These can be specifed directly in the OpenAPI spec or viaaddMethod()
andaddResource()
APIs. - glue: The default location of glue data will be the root of an s3 bucket, instead of
/data
- rds: the class
DatabaseClusterEngine
has been replaced with the interfaceIClusterEngine
in the type ofDatabaseClusterProps.engine
- rds: the class
DatabaseInstanceEngine
has been replaced with the interfaceIInstanceEngine
in the type ofDatabaseInstanceSourceProps.engine
- rds:
DatabaseClusterProps.engineVersion
has been removed; instead, create anIClusterEngine
with a specific version using the static factory methods inDatabaseClusterEngine
- rds:
DatabaseInstanceSourceProps.engineVersion
has been removed; instead, create anIInstanceEngine
with a specific version using the static factory methods inDatabaseInstanceEngine
- rds: the property
majorEngineVersion
can no longer be passed when creating anOptionGroup
; instead, create anIInstanceEngine
with a specific version using the static factory methods inDatabaseInstanceEngine
Features
- aws-stepfunctions-tasks: allow lambda invocations to combine input and function results (#9022) (846a222), closes #8943
- certificatemanager: native CloudFormation DNS validated certificate (#8552) (337279f), closes #5831 #5835 #6081 #6516 #7150 #7941 #7995 #7996 #8282 #8659 #8783
- cfn-include: add support for nested stacks (#8980) (bf12456), closes #8978
- cloudfront: Initial CloudFront redesign (#8982) (d30fa9d)
- codepipeline: add support for a StepFunctions invoke action (#8931) (499776d)
- core: cloudformation resource metadata (#9063) (b0f8729), closes #8788
- core: Duration.plus for adding durations (a127048)
- custom-resources: custom resource provider log retention (#9024) (18c024c)
- glue: default data location for tables is the root of the bucket (#8999) (28949bd), closes #8472
- lambda: codeguru profiling groups (#8852) (8c01420)
- lambda-nodejs: support build args (#9035) (e27658e), closes #8117
- rds: Allow multiple secrets to be passed to an RDS Proxy (#9103) (2ab329f), closes #9098
- rds: introduce type-safe engine versions (#9016) (fab7e28), closes #6532
- rds: the RDS Construct Library is now in Developer Preview (#9119) (92e620c)
- rds: unify ParameterGroup and ClusterParameterGroup (#8959) (17b690b), closes #8932
- stepfunctions-tasks: assign boolean value in DynamoDB from state input (Json path) (#9088) (7b8ef5b), closes #9007
Bug Fixes
- appsync: erroneous api key created when additional authorization is not configured (#9057) (6f934e9), closes #9054
- cfn-include: fix issues in Conditions handling (#9142) (e8d0776)
- cli: diff against multiple stacks do not always fail if any have a diff (#7690) (85f4a83), closes #7492
- cli: unable to update stacks in UPDATE_ROLLBACK_COMPLETE (#8948) (72ec59b), closes #8779 /github.com/aws/aws-cdk/pull/8779#issuecomment-655258569 #8126 #5151
- core: fix Duration.toIsoString() for millseconds (#9042) (8559117)
- core: use any type for context (#9014) (375335e), closes #8865
- custom-resources: Fix typo in README (#9126) (1e16a7f), closes #9024
- ec2: Remove validation of availabilityZone from Volume (#9082) (8d470b2)
- eks: cluster creation fails due to missing
ec2:DescribeVpcs
permission (#9029) (4a714ee) - lambda-event-sources: use of CfnParameter for maxBatchSize, retryAttempts & parallelizationFactor fails (#9064) (4470e89), closes #9044
- lambda-nodejs: parcel tries to install @babel/core (#9067) (8d4c635), closes #9032
- stepfunctions: Choice state does not allow state input as a condition (#8991) (db9d29b), closes #8990
- stepfunctions: Map state does not render JSON paths from state input (#9008) (767da12), closes #8992
- apigateway: remove default properties from SpecRestApi (#9099) (06842d6), closes #8347 /github.com/aws/aws-cdk/issues/8347#issuecomment-651900511 /github.com/aws/aws-cdk/issues/8347#issuecomment-652779763
- rds: change the way Engines are modeled (#8686) (63cc1b4), closes #2213 #2512 #4150 #5126 #7072