@gradientedge/cdk-utils 7.3.0 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,11 +88,22 @@ class EcsManager {
88
88
  const ecsTask = new ecs.TaskDefinition(scope, `${id}`, {
89
89
  compatibility: ecs.Compatibility.FARGATE,
90
90
  cpu: props.cpu,
91
+ ephemeralStorageGiB: props.ephemeralStorageGiB,
91
92
  executionRole: role,
92
93
  family: `${props.family}-${scope.props.stage}`,
94
+ ipcMode: props.ipcMode,
95
+ inferenceAccelerators: props.inferenceAccelerators,
93
96
  memoryMiB: props.memoryMiB,
94
97
  networkMode: ecs.NetworkMode.AWS_VPC,
98
+ pidMode: props.pidMode,
99
+ placementConstraints: props.placementConstraints,
100
+ proxyConfiguration: props.proxyConfiguration,
101
+ runtimePlatform: {
102
+ operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
103
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
104
+ },
95
105
  taskRole: role,
106
+ volumes: props.volumes,
96
107
  });
97
108
  ecsTask.addContainer('EcsContainer', {
98
109
  cpu: props.cpu ? parseInt(props.cpu) : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "7.3.0",
3
+ "version": "7.4.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -81,11 +81,22 @@ export class EcsManager {
81
81
  const ecsTask = new ecs.TaskDefinition(scope, `${id}`, {
82
82
  compatibility: ecs.Compatibility.FARGATE,
83
83
  cpu: props.cpu,
84
+ ephemeralStorageGiB: props.ephemeralStorageGiB,
84
85
  executionRole: role,
85
86
  family: `${props.family}-${scope.props.stage}`,
87
+ ipcMode: props.ipcMode,
88
+ inferenceAccelerators: props.inferenceAccelerators,
86
89
  memoryMiB: props.memoryMiB,
87
90
  networkMode: ecs.NetworkMode.AWS_VPC,
91
+ pidMode: props.pidMode,
92
+ placementConstraints: props.placementConstraints,
93
+ proxyConfiguration: props.proxyConfiguration,
94
+ runtimePlatform: {
95
+ operatingSystemFamily: props.runtimePlatform?.operatingSystemFamily ?? ecs.OperatingSystemFamily.LINUX,
96
+ cpuArchitecture: props.runtimePlatform?.cpuArchitecture ?? ecs.CpuArchitecture.ARM64,
97
+ },
88
98
  taskRole: role,
99
+ volumes: props.volumes,
89
100
  })
90
101
 
91
102
  ecsTask.addContainer('EcsContainer', {