@aws-cdk/aws-ecr-assets
Advanced tools
Changelog
1.32.0 (2020-04-07)
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.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.sourceCodeProvider
prop to connect your app to a source
code provider. The props repository
, accessToken
and oauthToken
do not exist
anymore in AppProps
.retentionPeriodHours
is now retentionPeriod
and of type Duration
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.add*Trigger()
methods to configure
lambda triggers has now been replaced by a single
addTrigger()
method.addTrigger()
method will fail if a trigger
was already configured for that user pool operation.{[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.aws:SecureTransport
for staging bucket (#7192) (ed106ea)Size
unit representing digital information quantity (#6940) (22a560d)acm-certificatemanager: DnsValidatedCertificateHandler support for SubjectAlternativeNames
(#7050) (a711c01), closes #4659
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
Changelog
1.31.0 (2020-03-24)
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
Changelog
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
.
UserPoolAttribute
has been removed. It is no longer
required to defined a UserPool
.IMachineImage
it must now always return a userData
object.cdk deploy
(#6684) (52fd078)Changelog
1.28.0 (2020-03-16)
computeEnvironments
is now requiredallocationStrategy
property was moved from ComputeEnvironmentProps
to the ComputeResources
interface, which is where it semantically belongs.getDataString
was renamed to getResponseField
.getData
was renamed to getResponseFieldReference
.catchErrorPattern
was renamed to ignoreErrorCodesMatching
. In addition, a few synth time validations were added when using this property. See Error Handling for details.policyStatements
property was removed in favor of a required policy
property. Refer to Execution Policy for more details.catchErrorPattern
to ignoreErrorCodesMatching
(#6553) (94599f8), closes #5873getData*
to getResponseField*
(#6556) (d5867b4), closes #5873computeEnvironments
is now required for JobQueue (#6616) (0b6c865), closes #6615Changelog
1.27.0 (2020-03-03)
UserPool.fromUserPoolAttributes()
has been replaced
by fromUserPoolId()
and fromUserPoolArn()
.IUserPool
no longer contains userPoolProviderName
and userPoolProviderUrl
.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.usernameAliasAttributes
of UserPool
has
been dropped and its functionality merged with the signInAliases
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
.physicalResourceId
and physicalResourceIdPath
were unified to a concrete type under the physicalResourceId
property.
Use PhysicalResourceId.fromResponse
and PhysicalResourceId.of
factory
functions to specify it.eventSourceMappingId
(#5689) (5ea2679), closes #5430haveResourceLike
and countResourcesLike
compatibility (#6202) (86c04f3)Changelog
1.26.0 (2020-02-25)
parcel-bundler
v1.x is now a peer dependency of @aws-cdk/aws-lambda-nodejs
. Please add it to your package.json
.trustAccountIdentities
avoids cyclic stack dependencies (03f4ef2)cdk deploy
hangs when stack deployment fails (#6433) (4b11d99)Changelog
1.25.0 (2020-02-18)
MappingTemplate.dynamoDbPutItem()
to accept
PrimaryKey
and AttributeValues
, which allow configuring the primary
key and to project an object to a set of attribute values.--wait
option. (#6276) (1811e00), closes /github.com/helm/helm/blob/b63822ed12de1badbb61736d2f7ea4e756ef757d/pkg/action/install.go#L52-L55Changelog
1.24.0 (2020-02-13)
function.deadLetterQueue
(6656047), closes #6170grantStartExecution
available on imported StateMachine (5ae81cd), closes #6173onePerAz
does not work for looked-up VPCs (3332d06), closes #3126