The v2 version of this module comes with two main changes. It is now
compatible with CDK v2, and has multi-language support. It is recommended
that you migrate your own application or construct library to v2 of
@aws-cdk-containers/ecs-service-extensions
to continue to receive
features and bug fixes.
There are no big API changes between v1 and v2. However, there may be
some small modifications necessary to get your application ready for
@aws-cdk-containers/ecs-service-extensions
v2.
See the steps here.
{
"dependencies": {
"@aws-cdk-containers/ecs-service-extensions": "^2.0.0",
}
}
If you use any of the following properties, change them to use their v2 types.
Environment.cluster
changes from typeecs.Cluster
toecs.ICluster
.InjecterExtensionProps.injectables
changes from typeInjectable[]
toIInjectable[]
.MeshProps.protocol
changes from typeappmesh.Protocol
toProtocol
.
If you use any of the following APIs, change them to use their v2 names.
v1 API | v2 API |
---|---|
ConnectToProps.local_bind_port |
ConnectToProps.localBindPort |
Injectable |
IInjectable |
GrantInjectable |
IGrantInjectable |