@rio-cloud/cdk-v2-constructs 7.6.0 → 7.7.0-alpha.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.
package/.jsii CHANGED
@@ -4872,7 +4872,7 @@
4872
4872
  "kind": "interface",
4873
4873
  "locationInModule": {
4874
4874
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
4875
- "line": 84
4875
+ "line": 85
4876
4876
  },
4877
4877
  "name": "BlueGreenDeploymentConfig",
4878
4878
  "properties": [
@@ -4885,7 +4885,7 @@
4885
4885
  "immutable": true,
4886
4886
  "locationInModule": {
4887
4887
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
4888
- "line": 94
4888
+ "line": 95
4889
4889
  },
4890
4890
  "name": "capabilityNames",
4891
4891
  "optional": true,
@@ -4908,7 +4908,7 @@
4908
4908
  "immutable": true,
4909
4909
  "locationInModule": {
4910
4910
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
4911
- "line": 89
4911
+ "line": 90
4912
4912
  },
4913
4913
  "name": "testListener",
4914
4914
  "optional": true,
@@ -11036,7 +11036,7 @@
11036
11036
  },
11037
11037
  "locationInModule": {
11038
11038
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11039
- "line": 148
11039
+ "line": 149
11040
11040
  },
11041
11041
  "parameters": [
11042
11042
  {
@@ -11065,7 +11065,7 @@
11065
11065
  "kind": "class",
11066
11066
  "locationInModule": {
11067
11067
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11068
- "line": 97
11068
+ "line": 98
11069
11069
  },
11070
11070
  "name": "RioFargateServiceBlueGreenAlpha",
11071
11071
  "properties": [
@@ -11077,7 +11077,7 @@
11077
11077
  "immutable": true,
11078
11078
  "locationInModule": {
11079
11079
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11080
- "line": 143
11080
+ "line": 144
11081
11081
  },
11082
11082
  "name": "connections",
11083
11083
  "overrides": "aws-cdk-lib.aws_ec2.IConnectable",
@@ -11092,7 +11092,7 @@
11092
11092
  "immutable": true,
11093
11093
  "locationInModule": {
11094
11094
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11095
- "line": 139
11095
+ "line": 140
11096
11096
  },
11097
11097
  "name": "datadogSideCarContainerDefinition",
11098
11098
  "type": {
@@ -11106,7 +11106,7 @@
11106
11106
  "immutable": true,
11107
11107
  "locationInModule": {
11108
11108
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11109
- "line": 144
11109
+ "line": 145
11110
11110
  },
11111
11111
  "name": "service",
11112
11112
  "type": {
@@ -11120,7 +11120,7 @@
11120
11120
  "immutable": true,
11121
11121
  "locationInModule": {
11122
11122
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11123
- "line": 138
11123
+ "line": 139
11124
11124
  },
11125
11125
  "name": "serviceContainerDefinition",
11126
11126
  "type": {
@@ -11134,7 +11134,7 @@
11134
11134
  "immutable": true,
11135
11135
  "locationInModule": {
11136
11136
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11137
- "line": 141
11137
+ "line": 142
11138
11138
  },
11139
11139
  "name": "taskDefinition",
11140
11140
  "type": {
@@ -11148,7 +11148,7 @@
11148
11148
  "immutable": true,
11149
11149
  "locationInModule": {
11150
11150
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11151
- "line": 145
11151
+ "line": 146
11152
11152
  },
11153
11153
  "name": "blueTargetGroup",
11154
11154
  "optional": true,
@@ -11163,7 +11163,7 @@
11163
11163
  "immutable": true,
11164
11164
  "locationInModule": {
11165
11165
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11166
- "line": 146
11166
+ "line": 147
11167
11167
  },
11168
11168
  "name": "greenTargetGroup",
11169
11169
  "optional": true,
@@ -11178,7 +11178,7 @@
11178
11178
  "immutable": true,
11179
11179
  "locationInModule": {
11180
11180
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11181
- "line": 140
11181
+ "line": 141
11182
11182
  },
11183
11183
  "name": "logRouterContainerDefinition",
11184
11184
  "optional": true,
@@ -11200,7 +11200,7 @@
11200
11200
  "kind": "interface",
11201
11201
  "locationInModule": {
11202
11202
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11203
- "line": 22
11203
+ "line": 23
11204
11204
  },
11205
11205
  "name": "RioFargateServiceBlueGreenAlphaProps",
11206
11206
  "properties": [
@@ -11213,7 +11213,7 @@
11213
11213
  "immutable": true,
11214
11214
  "locationInModule": {
11215
11215
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11216
- "line": 61
11216
+ "line": 62
11217
11217
  },
11218
11218
  "name": "containerDefinitionOption",
11219
11219
  "type": {
@@ -11229,7 +11229,7 @@
11229
11229
  "immutable": true,
11230
11230
  "locationInModule": {
11231
11231
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11232
- "line": 66
11232
+ "line": 67
11233
11233
  },
11234
11234
  "name": "fargateOptions",
11235
11235
  "type": {
@@ -11245,7 +11245,7 @@
11245
11245
  "immutable": true,
11246
11246
  "locationInModule": {
11247
11247
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11248
- "line": 31
11248
+ "line": 32
11249
11249
  },
11250
11250
  "name": "serviceName",
11251
11251
  "type": {
@@ -11261,7 +11261,7 @@
11261
11261
  "immutable": true,
11262
11262
  "locationInModule": {
11263
11263
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11264
- "line": 26
11264
+ "line": 27
11265
11265
  },
11266
11266
  "name": "stage",
11267
11267
  "type": {
@@ -11277,7 +11277,7 @@
11277
11277
  "immutable": true,
11278
11278
  "locationInModule": {
11279
11279
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11280
- "line": 36
11280
+ "line": 37
11281
11281
  },
11282
11282
  "name": "version",
11283
11283
  "type": {
@@ -11293,7 +11293,7 @@
11293
11293
  "immutable": true,
11294
11294
  "locationInModule": {
11295
11295
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11296
- "line": 48
11296
+ "line": 49
11297
11297
  },
11298
11298
  "name": "vpc",
11299
11299
  "type": {
@@ -11309,7 +11309,7 @@
11309
11309
  "immutable": true,
11310
11310
  "locationInModule": {
11311
11311
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11312
- "line": 81
11312
+ "line": 82
11313
11313
  },
11314
11314
  "name": "blueGreenDeploymentConfig",
11315
11315
  "optional": true,
@@ -11328,7 +11328,7 @@
11328
11328
  "immutable": true,
11329
11329
  "locationInModule": {
11330
11330
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11331
- "line": 56
11331
+ "line": 57
11332
11332
  },
11333
11333
  "name": "cluster",
11334
11334
  "optional": true,
@@ -11345,7 +11345,7 @@
11345
11345
  "immutable": true,
11346
11346
  "locationInModule": {
11347
11347
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11348
- "line": 76
11348
+ "line": 77
11349
11349
  },
11350
11350
  "name": "datadogOptions",
11351
11351
  "optional": true,
@@ -11363,7 +11363,7 @@
11363
11363
  "immutable": true,
11364
11364
  "locationInModule": {
11365
11365
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11366
- "line": 43
11366
+ "line": 44
11367
11367
  },
11368
11368
  "name": "frameworks",
11369
11369
  "optional": true,
@@ -11385,7 +11385,7 @@
11385
11385
  "immutable": true,
11386
11386
  "locationInModule": {
11387
11387
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
11388
- "line": 71
11388
+ "line": 72
11389
11389
  },
11390
11390
  "name": "loadBalancerOptions",
11391
11391
  "optional": true,
@@ -19017,7 +19017,7 @@
19017
19017
  "kind": "interface",
19018
19018
  "locationInModule": {
19019
19019
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19020
- "line": 84
19020
+ "line": 85
19021
19021
  },
19022
19022
  "name": "BlueGreenDeploymentConfig",
19023
19023
  "namespace": "fargate",
@@ -19031,7 +19031,7 @@
19031
19031
  "immutable": true,
19032
19032
  "locationInModule": {
19033
19033
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19034
- "line": 94
19034
+ "line": 95
19035
19035
  },
19036
19036
  "name": "capabilityNames",
19037
19037
  "optional": true,
@@ -19054,7 +19054,7 @@
19054
19054
  "immutable": true,
19055
19055
  "locationInModule": {
19056
19056
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19057
- "line": 89
19057
+ "line": 90
19058
19058
  },
19059
19059
  "name": "testListener",
19060
19060
  "optional": true,
@@ -19923,7 +19923,7 @@
19923
19923
  },
19924
19924
  "locationInModule": {
19925
19925
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19926
- "line": 148
19926
+ "line": 149
19927
19927
  },
19928
19928
  "parameters": [
19929
19929
  {
@@ -19952,7 +19952,7 @@
19952
19952
  "kind": "class",
19953
19953
  "locationInModule": {
19954
19954
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19955
- "line": 97
19955
+ "line": 98
19956
19956
  },
19957
19957
  "name": "RioFargateServiceBlueGreenAlpha",
19958
19958
  "namespace": "fargate",
@@ -19965,7 +19965,7 @@
19965
19965
  "immutable": true,
19966
19966
  "locationInModule": {
19967
19967
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19968
- "line": 143
19968
+ "line": 144
19969
19969
  },
19970
19970
  "name": "connections",
19971
19971
  "overrides": "aws-cdk-lib.aws_ec2.IConnectable",
@@ -19980,7 +19980,7 @@
19980
19980
  "immutable": true,
19981
19981
  "locationInModule": {
19982
19982
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19983
- "line": 139
19983
+ "line": 140
19984
19984
  },
19985
19985
  "name": "datadogSideCarContainerDefinition",
19986
19986
  "type": {
@@ -19994,7 +19994,7 @@
19994
19994
  "immutable": true,
19995
19995
  "locationInModule": {
19996
19996
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
19997
- "line": 144
19997
+ "line": 145
19998
19998
  },
19999
19999
  "name": "service",
20000
20000
  "type": {
@@ -20008,7 +20008,7 @@
20008
20008
  "immutable": true,
20009
20009
  "locationInModule": {
20010
20010
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20011
- "line": 138
20011
+ "line": 139
20012
20012
  },
20013
20013
  "name": "serviceContainerDefinition",
20014
20014
  "type": {
@@ -20022,7 +20022,7 @@
20022
20022
  "immutable": true,
20023
20023
  "locationInModule": {
20024
20024
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20025
- "line": 141
20025
+ "line": 142
20026
20026
  },
20027
20027
  "name": "taskDefinition",
20028
20028
  "type": {
@@ -20036,7 +20036,7 @@
20036
20036
  "immutable": true,
20037
20037
  "locationInModule": {
20038
20038
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20039
- "line": 145
20039
+ "line": 146
20040
20040
  },
20041
20041
  "name": "blueTargetGroup",
20042
20042
  "optional": true,
@@ -20051,7 +20051,7 @@
20051
20051
  "immutable": true,
20052
20052
  "locationInModule": {
20053
20053
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20054
- "line": 146
20054
+ "line": 147
20055
20055
  },
20056
20056
  "name": "greenTargetGroup",
20057
20057
  "optional": true,
@@ -20066,7 +20066,7 @@
20066
20066
  "immutable": true,
20067
20067
  "locationInModule": {
20068
20068
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20069
- "line": 140
20069
+ "line": 141
20070
20070
  },
20071
20071
  "name": "logRouterContainerDefinition",
20072
20072
  "optional": true,
@@ -20088,7 +20088,7 @@
20088
20088
  "kind": "interface",
20089
20089
  "locationInModule": {
20090
20090
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20091
- "line": 22
20091
+ "line": 23
20092
20092
  },
20093
20093
  "name": "RioFargateServiceBlueGreenAlphaProps",
20094
20094
  "namespace": "fargate",
@@ -20102,7 +20102,7 @@
20102
20102
  "immutable": true,
20103
20103
  "locationInModule": {
20104
20104
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20105
- "line": 61
20105
+ "line": 62
20106
20106
  },
20107
20107
  "name": "containerDefinitionOption",
20108
20108
  "type": {
@@ -20118,7 +20118,7 @@
20118
20118
  "immutable": true,
20119
20119
  "locationInModule": {
20120
20120
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20121
- "line": 66
20121
+ "line": 67
20122
20122
  },
20123
20123
  "name": "fargateOptions",
20124
20124
  "type": {
@@ -20134,7 +20134,7 @@
20134
20134
  "immutable": true,
20135
20135
  "locationInModule": {
20136
20136
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20137
- "line": 31
20137
+ "line": 32
20138
20138
  },
20139
20139
  "name": "serviceName",
20140
20140
  "type": {
@@ -20150,7 +20150,7 @@
20150
20150
  "immutable": true,
20151
20151
  "locationInModule": {
20152
20152
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20153
- "line": 26
20153
+ "line": 27
20154
20154
  },
20155
20155
  "name": "stage",
20156
20156
  "type": {
@@ -20166,7 +20166,7 @@
20166
20166
  "immutable": true,
20167
20167
  "locationInModule": {
20168
20168
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20169
- "line": 36
20169
+ "line": 37
20170
20170
  },
20171
20171
  "name": "version",
20172
20172
  "type": {
@@ -20182,7 +20182,7 @@
20182
20182
  "immutable": true,
20183
20183
  "locationInModule": {
20184
20184
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20185
- "line": 48
20185
+ "line": 49
20186
20186
  },
20187
20187
  "name": "vpc",
20188
20188
  "type": {
@@ -20198,7 +20198,7 @@
20198
20198
  "immutable": true,
20199
20199
  "locationInModule": {
20200
20200
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20201
- "line": 81
20201
+ "line": 82
20202
20202
  },
20203
20203
  "name": "blueGreenDeploymentConfig",
20204
20204
  "optional": true,
@@ -20217,7 +20217,7 @@
20217
20217
  "immutable": true,
20218
20218
  "locationInModule": {
20219
20219
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20220
- "line": 56
20220
+ "line": 57
20221
20221
  },
20222
20222
  "name": "cluster",
20223
20223
  "optional": true,
@@ -20234,7 +20234,7 @@
20234
20234
  "immutable": true,
20235
20235
  "locationInModule": {
20236
20236
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20237
- "line": 76
20237
+ "line": 77
20238
20238
  },
20239
20239
  "name": "datadogOptions",
20240
20240
  "optional": true,
@@ -20252,7 +20252,7 @@
20252
20252
  "immutable": true,
20253
20253
  "locationInModule": {
20254
20254
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20255
- "line": 43
20255
+ "line": 44
20256
20256
  },
20257
20257
  "name": "frameworks",
20258
20258
  "optional": true,
@@ -20274,7 +20274,7 @@
20274
20274
  "immutable": true,
20275
20275
  "locationInModule": {
20276
20276
  "filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
20277
- "line": 71
20277
+ "line": 72
20278
20278
  },
20279
20279
  "name": "loadBalancerOptions",
20280
20280
  "optional": true,
@@ -22228,5 +22228,5 @@
22228
22228
  }
22229
22229
  },
22230
22230
  "version": "0.0.0",
22231
- "fingerprint": "Xr2rPmWEGAkoFbp3pzhpYyQJrsa1dUAV3pyymQV2GSE="
22231
+ "fingerprint": "e6ym0Vo8gd0Q8STnqLKDyO+oEYw9vLJCDZvXxEnGFCE="
22232
22232
  }
package/docs/changelog.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [7.7.0-alpha.0](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.6.0&sourceBranch=refs%2Ftags%2Fv7.7.0-alpha.0) (2025-07-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * using shared datadog secret instead of ssm parameter in rio-fargate-service ([e376e3e](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/commits/e376e3e7cf5367e0de63180b1c0c7b42d6a5fbdd))
11
+
5
12
  ## [7.6.0](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.5.4&sourceBranch=refs%2Ftags%2Fv7.6.0) (2025-07-24)
6
13
 
7
14
 
@@ -1,5 +1,4 @@
1
1
  import * as ecs from 'aws-cdk-lib/aws-ecs';
2
- import * as ssm from 'aws-cdk-lib/aws-ssm';
3
2
  import { Construct } from 'constructs';
4
3
  import { DataDogLoggingMode, RioFargateService } from './rio-fargate-service';
5
4
  import { RioFargateServiceBlueGreenAlpha } from './rio-fargate-service-blue-green-alpha';
@@ -15,11 +14,11 @@ export declare class DataDog {
15
14
  static getFargateDockerLabels(stage: string, serviceName: string, version: string): {
16
15
  [key: string]: string;
17
16
  };
18
- static addDatadogSidecar(scope: Construct, taskDefinition: ecs.TaskDefinition, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKeyParameter: ssm.IStringParameter, datadogSite: string, datadogLoggingMode: DataDogLoggingMode, apmGetResourcesToIgnore: string[], cpu: number, memoryLimitMiB: number, essential: boolean, containerTag: string, additionalTags: {
17
+ static addDatadogSidecar(scope: Construct, taskDefinition: ecs.TaskDefinition, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKey: string, datadogSite: string, datadogLoggingMode: DataDogLoggingMode, apmGetResourcesToIgnore: string[], cpu: number, memoryLimitMiB: number, essential: boolean, containerTag: string, additionalTags: {
19
18
  [k: string]: string;
20
19
  } | undefined, enableRestartPolicy: boolean, restartIgnoredExitCodes: number[]): ecs.ContainerDefinition;
21
20
  static addFireLensLogRouter(taskDefinition: ecs.TaskDefinition, cpu: number, memoryLimitMiB: number, firelensConfigFilePath: string, firelensConfigBucketArn: string, serviceName: string): ecs.ContainerDefinition;
22
- static setupLogging(scope: Construct, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKeyParameter: ssm.IStringParameter, datadogLoggingMode: DataDogLoggingMode, datadogSite: string, containerType: 'service' | 'datadog-sidecar', additionalTags: {
21
+ static setupLogging(scope: Construct, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKey: string, datadogLoggingMode: DataDogLoggingMode, datadogSite: string, containerType: 'service' | 'datadog-sidecar', additionalTags: {
23
22
  [k: string]: string;
24
23
  } | undefined): ecs.LogDriver;
25
24
  static ensureLoggingAndMonitoringAreReadyBeforeServiceStarts(rioFargateService: RioFargateService): void;
@@ -54,7 +53,7 @@ export declare function addDatadogSidecar(props: {
54
53
  stage: string;
55
54
  serviceName: string;
56
55
  version: string;
57
- datadogApiKeyParameter: ssm.IStringParameter;
56
+ datadogApiKey: string;
58
57
  datadogSite: string;
59
58
  datadogLoggingMode: DataDogLoggingMode;
60
59
  apmGetResourcesToIgnore: string[];
@@ -88,7 +87,7 @@ export declare function setupLogging(props: {
88
87
  stage: string;
89
88
  serviceName: string;
90
89
  version: string;
91
- datadogApiKeyParameter: ssm.IStringParameter;
90
+ datadogApiKey: string;
92
91
  datadogLoggingMode: DataDogLoggingMode;
93
92
  datadogSite: string;
94
93
  containerType: 'service' | 'datadog-sidecar';