@aws-cdk/aws-codepipeline-api
Advanced tools
Changelog
0.22.0 (2019-01-10)
This is a major release with multiple breaking changes in the core layers. Please consult the breaking changes section below for details.
We are focusing these days on finalizing the common patterns and APIs of the CDK framework and the AWS Construct Library, which is why you are seeing all these breaking changes. Expect a few more releases with changes of that nature as we stabilize these APIs, so you might want to hold off with upgrading. We will communicate when this foundational work is complete.
export()
and import()
to share constructs between stacks, you can stop doing that, instead of FooImportProps
accept an IFoo
directly on the consuming stack, and use that object as usual.ArnUtils.fromComponents()
and ArnUtils.parse()
have been moved onto Stack
.AWS::AccountId
etc) are now also accessible via Stack
, as stack.accountId
etc.Fn
class (e.g. Fn.join(...)
instead of new FnJoin(...).toString()
)resolve()
has been moved to this.node.resolve()
.CloudFormationJSON.stringify()
has been moved to this.node.stringifyJson()
. validate()
now should be protected
.cloudformation.XxxResource
classes have been removed. Use the CfnXxx
classes instead.CfnXxx
resource attributes that represented a list of strings are now typed as string[]
s (via #1144). Attributes that represent strings, are still typed as string
(#712) and all other attribute types are represented as cdk.Token
.route53.TXTRecord
class was renamed to route53.TxtRecord
.zone
when created (not assuming zone is the parent construct).lambda.FunctionRef
to lambda.Function
.XxxRef
abstract classes are now IXxx
interfacesXxxRefProps
are now XxxImportProps
XxxRef.import(...)
are now Xxx.import(...)
accept XxxImportProps
and return IXxx
export(): XxxImportProps
is now defined in IXxx
and implemented by imported resourcesChangelog
0.21.0 (2018-12-20)
role
property in CFN CodePipeline Actions
from Role
to IRole
. This is needed to use imported Roles when creating Actions.includeBuildID
property of
S3BucketBuildArtifacts
was renamed to includeBuildId
(note the
lower-case trailing d
).Changelog
0.20.0 (2018-12-13)
addToPipeline
method to IRepository. (#1329) (c4a9b74)haveResource
can cause tests to
fail. If allowing extension of the expected values is the intended behavior, you can
switch to the haveResourceLike
matcher instead, which exposes the previous
behavior.Changelog
0.19.0 (2018-12-04)
ecr.RepositoryRef
has been replaced by ecr.IRepository
, which
means that RepositoryRef.import
is now Repository.import
. Futhermore, the CDK
Toolkit must also be upgraded since the docker asset protocol was modified.
IRepository.grantUseImage
was renamed to IRepository.grantPull
.addBuildToPipeline
was renamed to addToPipeline
and addTestToPipeline
was renamed to addPipelineToTest
in order to align
with naming conventions.CloudFormationCapabilities.IAM
renamed to
CloudFormation.AnonymousIAM
and PipelineCloudFormationDeployActionProps.capabilities?: CloudFormationCapabilities[]
has been changed to
PipelineCloudFormationDeployActionProps.capabilities?: CloudFormationCapabilities
no longer an array.
PipelineCloudFormationDeployActionProps.fullPermissions?:
has been
renamed to PipelineCloudFormationDeployActionProps.adminPermissions:
and is required instead of optional.<a name="0.18.1"></a>
Changelog
0.18.0 (2018-11-19)
cdk bootstrap
output (#1176) (b83fe85)targetGroup.listenerDependency()
has been renamed to targetGroup.loadBalancerDependency()
.Changelog
0.17.0 (2018-11-14)
addToPipeline
method to Deployment Group. (#1166) (bdbeb7c)DockerHub.image()
to reference docker hub images, use ContainerImage.fromDockerHub()
instead.Changelog
0.16.0 (2018-11-12)