@aws-cdk/aws-codepipeline-api
Advanced tools
Changelog
0.28.0 (2019-04-04)
aws-ecs: use executionRole for event rule target (#2165) (aa6f7bc), closes #2015
feat(aws-iam): refactor grants, add OrganizationPrincipal (#1623) (1bb8ca9), closes #1623 #236
bind
method to take a Role separately from the Pipeline. (#2085) (ffe0046)newVersion
method. (#2099) (6fc179a)secretsmanager.SecretString
class has been removed in favor of cdk.SecretValue.secretsManager(id[, options])
string
to cdk.SecretValue
: codepipeline-actions.AlexaSkillDeployAction.clientSecret
, codepipeline-actions.AlexaSkillDeployAction.refreshToken
, codepipeline-actions.GitHubSourceAction.oauthToken
, iam.User.password
secretsmanager.Secret.stringValue
and jsonFieldValue
have been removed. Use secretsmanage.Secret.secretValue
and secretJsonValue
instead.secretsmanager.Secret.secretString
have been removed. Use cdk.SecretValue.secretsManager()
or secretsmanager.Secret.import(..).secretValue
.cdk.Secret
has been removed. Use cdk.SecretValue
instead.cdk.DynamicReference
is no longer a construct, and it's constructor signature was changed and was renamed cdk.CfnDynamicReference
.grant(function.role)
and grant(project.role)
are now grant(function)
and grant(role)
.cdk.Secret
with secretsmanager.SecretString
(preferred) or ssm.ParameterStoreSecureString
.Changelog
0.27.0 (2019-03-28)
npx cdk
npx cdk
(#2113) (32bca05)cloudWatchLogsRetentionTimeDays
in @aws-cdk/aws-cloudtrail
now uses a logs.RetentionDays
instead of a LogRetention
.stack._toCloudFormation
method is now unavailable and is replaced by @aws-cdk/assert.SynthUtils.toCloudFormation(stack)
.kmsKeyArn: string
by kmsKey: kms.IEncryptionKey
in DatabaseClusterProps
VpcNetwork.isPublicSubnet()
has been renamed to
VpcNetwork.isPublicSubnetIds()
.aws-serverless
to aws-sam
vpcPlacement
has been renamed to vpcSubnets
on all objects, subnetsToUse
has been renamed to subnetType
.
natGatewayPlacement
has been renamed to natGatewaySubnets
.Changelog
0.26.0 (2019-03-20)
_toCloudFormation
) (#2047) (515868b), closes #2044 #2016Database
and Table
(#1988) (3117cd3)ContainerImage.fromDockerHub
has been renamed to ContainerImage.fromRegistry
.Changelog
0.25.2 (2019-03-07)
@aws-cdk/cdk
module is not present (#1953) (929e854)viewerProtocolPolicy
to the distribution's behaviors (#1932) (615ecd4)App
API (#1919) (02f991d)Changelog
0.25.0 (2019-02-28)
construct.node.stack
attribute (#1753) (a46cfd8), closes #798CloudTrail.addS3EventSelector
accepts an options
object instead of only a ReadWriteType
value.codedeploy.amazonaws.com
)
yourself.parameter.valueAsString
=>
parameter.stringValue
, rename parameter.valueAsList
=>
parameter.stringListValue
, rename ssmParameter.parameterValue
=>
ssmParameter.stringValue
or ssmParameter.stringListValue
depending
on type, rename secretString.value
=> secretString.stringValue
,
rename secret.toSecretString()
=>secret.secretString
Stack.find(c)
and Stack.tryFind(c)
were
replaced by c.node.stack
.partitionKey
is now a required property when defining a
dynamodb.Table
. The addPartitionKey
and addSortKey
methods have been removed.myConstruct.apply( ... )
to
myConstruct.node.apply( ... )
.toCodePipelineAction
.AutoScalingGroup
, renamed minSize
=>
minCapacity
, maxSize
=> maxCapacity
, for consistency with
desiredCapacity
and also Application AutoScaling.
For ECS's addDefaultAutoScalingGroupCapacity()
, instanceCount
=>
desiredCapacity
and the function now takes an ID (pass
"DefaultAutoScalingGroup"
to avoid interruption to your deployments).Changelog
0.24.0 (2019-02-06)
cdk.Tag
has been renamed to cdk.CfnTag
to enable cdk.Tag
to be the Tag Aspect.Changelog
0.23.0 (2019-02-04)
selectionPattern
to integrationResponses
(#1636) (7cdbcec), closes #1608roleName
available on IRole
(#1589) (9128390)role
property in the CloudFormation Actions has been renamed to deploymentRole
.role
property in the app-delivery
package has been renamed to deploymentRole
.