@aws-cdk/core
Advanced tools
Changelog
1.64.0 (2020-09-22)
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.
--cloudformation-execution-policies
not checked (#10337) (ad9a705)--profile
is ignored if AWS_ variables are set (#10362) (957a12e)cdk synth
fails if AWS_ credentials have expired (#10343) (406f665), closes #7849deepEqual
may miss difference other than DependsOn
(#10394) (9bcaf75), closes #10322InitFile
does not work on Windows (#10450) (84b9d5e), closes #10390kubectlPrivateSubnets
(#10459) (10d0a36)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)Changelog
1.63.0 (2020-09-12)
apiKeyConfig
require a Expiration class instead of stringapiKeyConfig
takes Expiration
class instead of string
IStackSynthesizer
must now implement synthesize()
instead of
synthesizeStackArtifacts()
.ComputeResources.computeResourcesTags
from Tag
to mapexpires
prop in apiKeyConfig (#9122) (287f808), closes #8698computeResources
tags are not configured properly (#10209) (40222ef), closes #7350Changelog
1.62.0 (2020-09-03)
eks.Cluster.fromClusterAttributes
, the clusterArn
attribute is not supported anymore, and will always be derived from clusterName
.eks.Cluster
is allowed per CloudFormation stack.securityGroups
attribute of ClusterAttributes
is now securityGroupIds
.--qualifier
must be alphanumeric and not longer than 10 characters when bootstrapping using newStyleStackSynthesis
.SimpleSynthAction
takes array of build commands (#10152) (44fcb4e), closes #9357GraphQLApi.UserPoolConfig
requires DefaultAction
(#10031) (6114045), closes #10028cdk docs
(#9549) (663913f), closes #2847ServiceAccount
in a different stack than the Cluster
creates circular dependency between the two stacks (#9701) (1e96ebc), closes 40aws-cdk/aws-eks/lib/service-account.ts#L81-L95 40aws-cdk/aws-eks/lib/cluster.ts#L914-L923 40aws-cdk/aws-eks/lib/cluster.ts#L907-L909Changelog
1.61.0 (2020-08-27)
Changelog
1.60.0 (2020-08-19)
.domains
must be specified if certificate
is provided.name
and description
props are now optional and in an DataSourceOptions
interface.name
and description
in addXxxDataSource
have been moved into new props options
of type DataSourceOptions
DataSourceOptions.name
defaults to idDataSourceOptions.description
defaults to undefinedChangelog
1.59.0 (2020-08-14)
cluster.addResource
was renamed to cluster.addManifest
and KubernetesResource
was renamed to KubernetesManifest
Changelog
1.58.0 (2020-08-12)
autoMinorVersionUpgrade
property was not set to true
by default as stated in the docstring (#9505) (e878f9c)Vpc.fromLookup
(#9544) (dd0f4cb), closes #9542 #5383Changelog
1.57.0 (2020-08-07)
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.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
.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.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
apigatewayv2: cyclic dependency between HttpApi and the lambda function (#9100) (7b29774), closes #9075
athena: WorkGroup tags corruption (#9085) (b688913), closes #6936
aws-lambda-python: use cp instead of rsync (#9355) (056bcaf), closes #9349
cfn-include: no longer concatenate elements of Fn::Join without tokens (#9476) (d038b61)
core: can't have multiple CfnRules in a Stack (#9500) (76a7bfd), closes #8251 #9485
core: docs for CfnMapping are not clear (#9451) (c1e3c57), closes #9432
dynamodb: allow using PhysicalName.GENERATE_IF_NEEDED as the Table name (#9377) (8ab7b10), closes #9374
ecs: Scope-down IAM permissions for ECS drain (#9502) (9fbeec3)
ecs: Scope-down IAM permissions on Cluster ASG (#9493) (1670289)
ecs-patterns: Adds missing option to secure ingress of ALB in Ap… (#9434) (ba1427f)
lambda: bundling docker image does not exist for Go runtime (#9465) (7666d9b), closes #9435
cloudfront: remove the originId property from OriginBase (#9380) (70b9f63)
do not use "synthesize" and "prepare" in the cdk (#9410) (e3ae645), closes /github.com/aws/aws-cdk/pull/9410#issuecomment-668552361
Changelog
1.56.0 (2020-07-31)
schemaDefinition
no longer takes string, instead it is required to configure schema definition mode.SchemaDefinition.XXX
to declare how schema will be configured
certificatemanager: DNS validation for wildcard certificates (#9291) (419278b), closes #9248
pipelines: reduce assets IAM policy size (#9333) (88d563f), closes #9316
appsync: strongly type schema definition mode (#9283) (b46aa99), closes #9301
cloudfront: README updates and notes of breaking changes (#9356) (fbb0418), closes #9326
cloudfront: small refactoring of the Origin API (#9281) (cbfdc15), closes #9109