@aws-cdk/cx-api
Advanced tools
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 #3126Changelog
1.23.0 (2020-02-07)
MachineImage
factory, document instance replacement (#6065) (435d810), closes #5675 #6025Changelog
1.22.0 (2020-01-23)
Mapping
struct was renamed to AwsAuthMapping
.aws-cdk/assets
with an image tag based on the hash of the docker build source directory (the directory where your Dockerfile
resides). See PR #5733 for details and discussion.scaleOnMetric
will no longer force the alarm period to 1 minute, but use the period from the Metric object instead (5 minutes by default). Use metric.with({ period: Duration.minute(1) })
to create a high-frequency scaling policy.MathExpression
in scaleOnMetric
(d4c1b0e), closes #5776SecretsManagerRDSPostgreSQLRotationMultiUser
not working (49032ee)Changelog
1.21.1 (2020-01-16)
cdk init
fails if run under a directory where cdk.json
exists, reverts (#5772) due to an issue which will be fixed in a subsequent version (#5836) (da9c626)
, fixes (#5826)Changelog
1.21.0 (2020-01-15)
VpcEndpointService
construct (#5498) (a2713f3)Role.withoutPolicyUpdates()
(#5569) (ea4ca3e), closes #2985 #4465 #4501DnsValidatedCertificate
in non-aws partitions (#5771) (e3305d8)Cluster
and Ec2Service
behind ALB (#5813) (eb3c517)OrganizationPrincipal
for assuming Role (#5746) (6c3d4c4), closes #5732