You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ecs: change the default Amazon Linux generation to v2 (#3009) (32e3421), closes #3005
ecs: set default health check grace period to 60s (#2942) (0535d36), closes #2936
events: make target optional in onXxx() methods (#2921) (ea10f0d), closes #2913
issues: new format for issue templates (#2917) (67f6de0)
sns: add support for subscription filter policy (#2778) (ae789ed)
BREAKING CHANGES
IMPORTANT: previous versions of the CDK CLI will not be fully compatible with this version of the framework and vice versa.
core: the @aws-cdk/cdk module was renamed to @aws-cdk/core, python:aws_cdk.core, java: the artifact cdk in groupId software.amazon.awscdk was renamed to core
all enum and public static readonly members have been renamed to use "ALL_CAPS" capitalization
properties throughout the AWS Construct Libraries that represent lengths of time have been re-typed to be @aws-cdk/cdk.Duration instead of number, and were renamed to exclude any unit indication.
core: The deprecated app.run() has been removed (use app.synth()).
core: The CfnResource.options property was renamed to CfnResource.cfnOptions to avoid conflicts with properties introduced by derived classes.
coreCfnXxx.cfnResourceTypeName is now CFN_RESOURCE_TYPE_NAME in generated CFN resources.
core:ContextProvider is no longer designed to be extended. Use ContextProvider.getValue and ContextProvider.getKey as utilities.
core:Context.getSsmParameter has been removed. Use ssm.StringParameter.valueFromLookup
core:Context.getAvailabilityZones has been removed. Use stack.availabilityZones
core:Context.getDefaultAccount and getDefaultRegion have been removed an no longer available. Use the environment variables CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION instead.
core:StackProps.autoRun was renamed to StackProps.autoSynth.
core:CfnElement.refAsString renamed to ref of string type. The IResolvable version have been removed.
core:IStringValue renamed to IStringProducer
core:Include renamed to CfnInclude
core:Cfn prefix was added to the following types: CfnCreationPolicy, CfnResourceAutoScalingCreationPolicy, CfnResourceAutoScalingCreationPolicy, CfnDeletionPolicy, CfnUpdatePolicy, CfnAutoScalingRollingUpdate, CfnAutoScalingReplacingUpdate, CfnAutoScalingScheduledAction, CfnCodeDeployLambdaAliasUpdate, CfnTagCfnRuleAssertion, CfnDynamicReferenceProps
core:deepMerge is no longer exported.
core:CfnOutputProps.export was renamed to exportName.
core:CfnOutput all properties are now private
core:StringListCfnOutput has been removed
core: all instance methods of Fn were made static, and the Fn constructor was made private.
ec2:VpcNetworkProvider has been removed. Use Vpc.fromLookup.
ec2:ec2.MachineImage will now resolve AMIs from SSM during deployment.
ecs:ecs.EcsOptimizedAmi will now resolve AMis from SSM during deployment.
ecs: previously, the default generation is conditionally set to Amazon Linux v1 if hardwareType was STANDARD. Now it always defaults to Amazon Linux v2.
ecs:service.clusterName has been replaced with .cluster.
samrequiredTransform is now REQUIRED_TRANSFORM in generated code.
cloudformation: the AwsCustomResource class was moved to a new module called @aws-cdk/custom-resource
codepipeline: the capabilities property is now an array to support multiple capabilities.
codepipeline: the Pipeline construction property crossRegionReplicationBuckets now takes values of type IBucket instead of string.
corepipeline: the property Pipeline.crossRegionScaffoldStacks has been renamed to crossRegionSupport, and its type changed from CrossRegionScaffoldStack to CrossRegionSupport.
codepipeline-actions: rename CodeCommitAction.pollForSourceChanges to trigger and make it an enum.
codepipeline-actions: rename S3SourceAction.pollForSourceChanges to trigger, and make it an enum.
codepipeline-actions: rename StageAddToPipelineProps interface to StageOptions.
codepipeline-actions: remove the classes CloudFormationAction and CloudFormationDeployAction.
route52:HostedZoneProvider has been removed. Use HostedZone.fromLookup.