@rio-cloud/cdk-v2-constructs 6.6.0 → 6.7.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 +897 -211
- package/CHANGELOG.md +14 -0
- package/docs/API.md +584 -34
- package/lib/datadog/datadog-log-index-monitoring.js +3 -3
- package/lib/datadogv2/datadog-lambda-instrumentation.d.ts +72 -0
- package/lib/datadogv2/datadog-lambda-instrumentation.js +82 -0
- package/lib/datadogv2/datadog-log-index-monitoring.js +3 -3
- package/lib/datadogv2/index.d.ts +1 -0
- package/lib/datadogv2/index.js +2 -1
- package/lib/fargate/datadog.js +12 -9
- package/lib/kafka/kafka-topic.d.ts +2 -0
- package/lib/kafka/kafka-topic.js +1 -1
- package/lib/toggle.js +2 -3
- package/package.json +12 -14
- package/version.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
## [6.7.0](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv6.6.1&sourceBranch=refs%2Ftags%2Fv6.7.0) (2024-09-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add pre-configured wrapper around the Datadog construct for instrumenting lambdas. ([cd2c12a](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/commits/cd2c12a238f72b044f5517768b03e4663f992c50))
|
|
11
|
+
|
|
12
|
+
## [6.6.1](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv6.6.0&sourceBranch=refs%2Ftags%2Fv6.6.1) (2024-08-14)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* add missing healthcheck command for firelens sidecar ([9952738](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/commits/9952738dd94a8c6b1faa1deb7210dbf139a8c72c)), closes [#33](https://jira.collaboration-man.com/browse/33)
|
|
18
|
+
|
|
5
19
|
## [6.6.0](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv6.5.0&sourceBranch=refs%2Ftags%2Fv6.6.0) (2024-08-08)
|
|
6
20
|
|
|
7
21
|
|
package/docs/API.md
CHANGED
|
@@ -988,6 +988,190 @@ The tree node.
|
|
|
988
988
|
---
|
|
989
989
|
|
|
990
990
|
|
|
991
|
+
### DatadogLambdaInstrumentation <a name="DatadogLambdaInstrumentation" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation"></a>
|
|
992
|
+
|
|
993
|
+
Wrapper construct for Datadog's Lambda instrumentation.
|
|
994
|
+
|
|
995
|
+
This construct will create a Datadog construct with the provided props and add the Lambda functions to it.
|
|
996
|
+
Per default, it will disable all additional features, that cause Datadog charging for Serverless Functions features. So just change it, if you need the advanced features.
|
|
997
|
+
|
|
998
|
+
Additionally some defaults from the datadog-integration account module are applied:
|
|
999
|
+
- the secret for the API key is read from the secret manager `/rio/config/datadog-integration/api-key`
|
|
1000
|
+
- the site is read from the parameter store `/rio/config/datadog-integration/site`
|
|
1001
|
+
|
|
1002
|
+
To use it, install Datadog CDK Constructs package:
|
|
1003
|
+
```bash
|
|
1004
|
+
npm i -D datadog-cdk-constructs-v2
|
|
1005
|
+
```
|
|
1006
|
+
|
|
1007
|
+
#### Initializers <a name="Initializers" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer"></a>
|
|
1008
|
+
|
|
1009
|
+
```typescript
|
|
1010
|
+
import { datadogv2 } from '@rio-cloud/cdk-v2-constructs'
|
|
1011
|
+
|
|
1012
|
+
new datadogv2.DatadogLambdaInstrumentation(scope: Construct, id: string, props: DatadogLambdaInstrumentationProps)
|
|
1013
|
+
```
|
|
1014
|
+
|
|
1015
|
+
| **Name** | **Type** | **Description** |
|
|
1016
|
+
| --- | --- | --- |
|
|
1017
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
|
1018
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
|
1019
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.props">props</a></code> | <code>@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps</code> | *No description.* |
|
|
1020
|
+
|
|
1021
|
+
---
|
|
1022
|
+
|
|
1023
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.scope"></a>
|
|
1024
|
+
|
|
1025
|
+
- *Type:* constructs.Construct
|
|
1026
|
+
|
|
1027
|
+
---
|
|
1028
|
+
|
|
1029
|
+
##### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.id"></a>
|
|
1030
|
+
|
|
1031
|
+
- *Type:* string
|
|
1032
|
+
|
|
1033
|
+
---
|
|
1034
|
+
|
|
1035
|
+
##### `props`<sup>Required</sup> <a name="props" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.Initializer.parameter.props"></a>
|
|
1036
|
+
|
|
1037
|
+
- *Type:* @rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps
|
|
1038
|
+
|
|
1039
|
+
---
|
|
1040
|
+
|
|
1041
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
1042
|
+
|
|
1043
|
+
| **Name** | **Description** |
|
|
1044
|
+
| --- | --- |
|
|
1045
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1046
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addForwarderToNonLambdaLogGroups">addForwarderToNonLambdaLogGroups</a></code> | *No description.* |
|
|
1047
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addGitCommitMetadata">addGitCommitMetadata</a></code> | *No description.* |
|
|
1048
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addLambdaFunctions">addLambdaFunctions</a></code> | *No description.* |
|
|
1049
|
+
|
|
1050
|
+
---
|
|
1051
|
+
|
|
1052
|
+
##### `toString` <a name="toString" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.toString"></a>
|
|
1053
|
+
|
|
1054
|
+
```typescript
|
|
1055
|
+
public toString(): string
|
|
1056
|
+
```
|
|
1057
|
+
|
|
1058
|
+
Returns a string representation of this construct.
|
|
1059
|
+
|
|
1060
|
+
##### `addForwarderToNonLambdaLogGroups` <a name="addForwarderToNonLambdaLogGroups" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addForwarderToNonLambdaLogGroups"></a>
|
|
1061
|
+
|
|
1062
|
+
```typescript
|
|
1063
|
+
public addForwarderToNonLambdaLogGroups(logGroups: ILogGroup[]): void
|
|
1064
|
+
```
|
|
1065
|
+
|
|
1066
|
+
###### `logGroups`<sup>Required</sup> <a name="logGroups" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addForwarderToNonLambdaLogGroups.parameter.logGroups"></a>
|
|
1067
|
+
|
|
1068
|
+
- *Type:* aws-cdk-lib.aws_logs.ILogGroup[]
|
|
1069
|
+
|
|
1070
|
+
---
|
|
1071
|
+
|
|
1072
|
+
##### `addGitCommitMetadata` <a name="addGitCommitMetadata" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addGitCommitMetadata"></a>
|
|
1073
|
+
|
|
1074
|
+
```typescript
|
|
1075
|
+
public addGitCommitMetadata(lambdaFunctions: Function | SingletonFunction[], gitCommitSha?: string, gitRepoUrl?: string): void
|
|
1076
|
+
```
|
|
1077
|
+
|
|
1078
|
+
###### `lambdaFunctions`<sup>Required</sup> <a name="lambdaFunctions" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addGitCommitMetadata.parameter.lambdaFunctions"></a>
|
|
1079
|
+
|
|
1080
|
+
- *Type:* aws-cdk-lib.aws_lambda.Function | aws-cdk-lib.aws_lambda.SingletonFunction[]
|
|
1081
|
+
|
|
1082
|
+
---
|
|
1083
|
+
|
|
1084
|
+
###### `gitCommitSha`<sup>Optional</sup> <a name="gitCommitSha" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addGitCommitMetadata.parameter.gitCommitSha"></a>
|
|
1085
|
+
|
|
1086
|
+
- *Type:* string
|
|
1087
|
+
|
|
1088
|
+
---
|
|
1089
|
+
|
|
1090
|
+
###### `gitRepoUrl`<sup>Optional</sup> <a name="gitRepoUrl" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addGitCommitMetadata.parameter.gitRepoUrl"></a>
|
|
1091
|
+
|
|
1092
|
+
- *Type:* string
|
|
1093
|
+
|
|
1094
|
+
---
|
|
1095
|
+
|
|
1096
|
+
##### `addLambdaFunctions` <a name="addLambdaFunctions" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addLambdaFunctions"></a>
|
|
1097
|
+
|
|
1098
|
+
```typescript
|
|
1099
|
+
public addLambdaFunctions(lambdaFunctions: Function | SingletonFunction[], construct?: Construct): void
|
|
1100
|
+
```
|
|
1101
|
+
|
|
1102
|
+
###### `lambdaFunctions`<sup>Required</sup> <a name="lambdaFunctions" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addLambdaFunctions.parameter.lambdaFunctions"></a>
|
|
1103
|
+
|
|
1104
|
+
- *Type:* aws-cdk-lib.aws_lambda.Function | aws-cdk-lib.aws_lambda.SingletonFunction[]
|
|
1105
|
+
|
|
1106
|
+
---
|
|
1107
|
+
|
|
1108
|
+
###### `construct`<sup>Optional</sup> <a name="construct" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.addLambdaFunctions.parameter.construct"></a>
|
|
1109
|
+
|
|
1110
|
+
- *Type:* constructs.Construct
|
|
1111
|
+
|
|
1112
|
+
---
|
|
1113
|
+
|
|
1114
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
1115
|
+
|
|
1116
|
+
| **Name** | **Description** |
|
|
1117
|
+
| --- | --- |
|
|
1118
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
1119
|
+
|
|
1120
|
+
---
|
|
1121
|
+
|
|
1122
|
+
##### `isConstruct` <a name="isConstruct" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.isConstruct"></a>
|
|
1123
|
+
|
|
1124
|
+
```typescript
|
|
1125
|
+
import { datadogv2 } from '@rio-cloud/cdk-v2-constructs'
|
|
1126
|
+
|
|
1127
|
+
datadogv2.DatadogLambdaInstrumentation.isConstruct(x: any)
|
|
1128
|
+
```
|
|
1129
|
+
|
|
1130
|
+
Checks if `x` is a construct.
|
|
1131
|
+
|
|
1132
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
|
1133
|
+
instances, even when the construct library is symlinked.
|
|
1134
|
+
|
|
1135
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
|
1136
|
+
disk are seen as independent, completely different libraries. As a
|
|
1137
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
|
1138
|
+
is seen as a different class, and an instance of one class will not test as
|
|
1139
|
+
`instanceof` the other class. `npm install` will not create installations
|
|
1140
|
+
like this, but users may manually symlink construct libraries together or
|
|
1141
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
|
1142
|
+
library can be accidentally installed, and `instanceof` will behave
|
|
1143
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
|
1144
|
+
this type-testing method instead.
|
|
1145
|
+
|
|
1146
|
+
###### `x`<sup>Required</sup> <a name="x" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.isConstruct.parameter.x"></a>
|
|
1147
|
+
|
|
1148
|
+
- *Type:* any
|
|
1149
|
+
|
|
1150
|
+
Any object.
|
|
1151
|
+
|
|
1152
|
+
---
|
|
1153
|
+
|
|
1154
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1155
|
+
|
|
1156
|
+
| **Name** | **Type** | **Description** |
|
|
1157
|
+
| --- | --- | --- |
|
|
1158
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
1159
|
+
|
|
1160
|
+
---
|
|
1161
|
+
|
|
1162
|
+
##### `node`<sup>Required</sup> <a name="node" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentation.property.node"></a>
|
|
1163
|
+
|
|
1164
|
+
```typescript
|
|
1165
|
+
public readonly node: Node;
|
|
1166
|
+
```
|
|
1167
|
+
|
|
1168
|
+
- *Type:* constructs.Node
|
|
1169
|
+
|
|
1170
|
+
The tree node.
|
|
1171
|
+
|
|
1172
|
+
---
|
|
1173
|
+
|
|
1174
|
+
|
|
991
1175
|
### DataDogLogAlarm <a name="DataDogLogAlarm" id="@rio-cloud/cdk-v2-constructs.DataDogLogAlarm"></a>
|
|
992
1176
|
|
|
993
1177
|
#### Initializers <a name="Initializers" id="@rio-cloud/cdk-v2-constructs.DataDogLogAlarm.Initializer"></a>
|
|
@@ -8455,6 +8639,406 @@ At least one of memoryLimitMiB and memoryReservationMiB is required for non-Farg
|
|
|
8455
8639
|
|
|
8456
8640
|
---
|
|
8457
8641
|
|
|
8642
|
+
### DatadogLambdaInstrumentationProps <a name="DatadogLambdaInstrumentationProps" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps"></a>
|
|
8643
|
+
|
|
8644
|
+
Props for the DatadogLambdaInstrumentation construct.
|
|
8645
|
+
|
|
8646
|
+
Copied over from original Datadog construct.
|
|
8647
|
+
|
|
8648
|
+
> [dd.DatadogProps](dd.DatadogProps)
|
|
8649
|
+
|
|
8650
|
+
#### Initializer <a name="Initializer" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.Initializer"></a>
|
|
8651
|
+
|
|
8652
|
+
```typescript
|
|
8653
|
+
import { datadogv2 } from '@rio-cloud/cdk-v2-constructs'
|
|
8654
|
+
|
|
8655
|
+
const datadogLambdaInstrumentationProps: datadogv2.DatadogLambdaInstrumentationProps = { ... }
|
|
8656
|
+
```
|
|
8657
|
+
|
|
8658
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
8659
|
+
|
|
8660
|
+
| **Name** | **Type** | **Description** |
|
|
8661
|
+
| --- | --- | --- |
|
|
8662
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.service">service</a></code> | <code>string</code> | *No description.* |
|
|
8663
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.addLayers">addLayers</a></code> | <code>boolean</code> | *No description.* |
|
|
8664
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKey">apiKey</a></code> | <code>string</code> | *No description.* |
|
|
8665
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKeySecret">apiKeySecret</a></code> | <code>aws-cdk-lib.aws_secretsmanager.ISecret</code> | *No description.* |
|
|
8666
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKeySecretArn">apiKeySecretArn</a></code> | <code>string</code> | *No description.* |
|
|
8667
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKmsKey">apiKmsKey</a></code> | <code>string</code> | *No description.* |
|
|
8668
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apmFlushDeadline">apmFlushDeadline</a></code> | <code>string \| number</code> | *No description.* |
|
|
8669
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.captureLambdaPayload">captureLambdaPayload</a></code> | <code>boolean</code> | *No description.* |
|
|
8670
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.coldStartTraceSkipLibs">coldStartTraceSkipLibs</a></code> | <code>string</code> | *No description.* |
|
|
8671
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.createForwarderPermissions">createForwarderPermissions</a></code> | <code>boolean</code> | *No description.* |
|
|
8672
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.decodeAuthorizerContext">decodeAuthorizerContext</a></code> | <code>boolean</code> | *No description.* |
|
|
8673
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableColdStartTracing">enableColdStartTracing</a></code> | <code>boolean</code> | *No description.* |
|
|
8674
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogASM">enableDatadogASM</a></code> | <code>boolean</code> | *No description.* |
|
|
8675
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogLogs">enableDatadogLogs</a></code> | <code>boolean</code> | *No description.* |
|
|
8676
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogTracing">enableDatadogTracing</a></code> | <code>boolean</code> | *No description.* |
|
|
8677
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableEnhancedMetrics">enableEnhancedMetrics</a></code> | <code>boolean</code> | Whether to enable enhanced metrics for the Lambda functions. |
|
|
8678
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableMergeXrayTraces">enableMergeXrayTraces</a></code> | <code>boolean</code> | *No description.* |
|
|
8679
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableProfiling">enableProfiling</a></code> | <code>boolean</code> | *No description.* |
|
|
8680
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.encodeAuthorizerContext">encodeAuthorizerContext</a></code> | <code>boolean</code> | *No description.* |
|
|
8681
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.env">env</a></code> | <code>string</code> | *No description.* |
|
|
8682
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.extensionLayerVersion">extensionLayerVersion</a></code> | <code>number</code> | *No description.* |
|
|
8683
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.flushMetricsToLogs">flushMetricsToLogs</a></code> | <code>boolean</code> | *No description.* |
|
|
8684
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.forwarderArn">forwarderArn</a></code> | <code>string</code> | *No description.* |
|
|
8685
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.grantSecretReadAccess">grantSecretReadAccess</a></code> | <code>boolean</code> | *No description.* |
|
|
8686
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.injectLogContext">injectLogContext</a></code> | <code>boolean</code> | *No description.* |
|
|
8687
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.logLevel">logLevel</a></code> | <code>string</code> | *No description.* |
|
|
8688
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.minColdStartTraceDuration">minColdStartTraceDuration</a></code> | <code>number</code> | *No description.* |
|
|
8689
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.nodeLayerVersion">nodeLayerVersion</a></code> | <code>number</code> | *No description.* |
|
|
8690
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.redirectHandler">redirectHandler</a></code> | <code>boolean</code> | *No description.* |
|
|
8691
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.site">site</a></code> | <code>string</code> | *No description.* |
|
|
8692
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.sourceCodeIntegration">sourceCodeIntegration</a></code> | <code>boolean</code> | *No description.* |
|
|
8693
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.tags">tags</a></code> | <code>string</code> | *No description.* |
|
|
8694
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.useLayersFromAccount">useLayersFromAccount</a></code> | <code>string</code> | *No description.* |
|
|
8695
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.version">version</a></code> | <code>string</code> | *No description.* |
|
|
8696
|
+
|
|
8697
|
+
---
|
|
8698
|
+
|
|
8699
|
+
##### `service`<sup>Required</sup> <a name="service" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.service"></a>
|
|
8700
|
+
|
|
8701
|
+
```typescript
|
|
8702
|
+
public readonly service: string;
|
|
8703
|
+
```
|
|
8704
|
+
|
|
8705
|
+
- *Type:* string
|
|
8706
|
+
|
|
8707
|
+
---
|
|
8708
|
+
|
|
8709
|
+
##### `addLayers`<sup>Optional</sup> <a name="addLayers" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.addLayers"></a>
|
|
8710
|
+
|
|
8711
|
+
```typescript
|
|
8712
|
+
public readonly addLayers: boolean;
|
|
8713
|
+
```
|
|
8714
|
+
|
|
8715
|
+
- *Type:* boolean
|
|
8716
|
+
|
|
8717
|
+
---
|
|
8718
|
+
|
|
8719
|
+
##### `apiKey`<sup>Optional</sup> <a name="apiKey" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKey"></a>
|
|
8720
|
+
|
|
8721
|
+
```typescript
|
|
8722
|
+
public readonly apiKey: string;
|
|
8723
|
+
```
|
|
8724
|
+
|
|
8725
|
+
- *Type:* string
|
|
8726
|
+
|
|
8727
|
+
---
|
|
8728
|
+
|
|
8729
|
+
##### `apiKeySecret`<sup>Optional</sup> <a name="apiKeySecret" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKeySecret"></a>
|
|
8730
|
+
|
|
8731
|
+
```typescript
|
|
8732
|
+
public readonly apiKeySecret: ISecret;
|
|
8733
|
+
```
|
|
8734
|
+
|
|
8735
|
+
- *Type:* aws-cdk-lib.aws_secretsmanager.ISecret
|
|
8736
|
+
|
|
8737
|
+
---
|
|
8738
|
+
|
|
8739
|
+
##### `apiKeySecretArn`<sup>Optional</sup> <a name="apiKeySecretArn" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKeySecretArn"></a>
|
|
8740
|
+
|
|
8741
|
+
```typescript
|
|
8742
|
+
public readonly apiKeySecretArn: string;
|
|
8743
|
+
```
|
|
8744
|
+
|
|
8745
|
+
- *Type:* string
|
|
8746
|
+
|
|
8747
|
+
---
|
|
8748
|
+
|
|
8749
|
+
##### `apiKmsKey`<sup>Optional</sup> <a name="apiKmsKey" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apiKmsKey"></a>
|
|
8750
|
+
|
|
8751
|
+
```typescript
|
|
8752
|
+
public readonly apiKmsKey: string;
|
|
8753
|
+
```
|
|
8754
|
+
|
|
8755
|
+
- *Type:* string
|
|
8756
|
+
|
|
8757
|
+
---
|
|
8758
|
+
|
|
8759
|
+
##### `apmFlushDeadline`<sup>Optional</sup> <a name="apmFlushDeadline" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.apmFlushDeadline"></a>
|
|
8760
|
+
|
|
8761
|
+
```typescript
|
|
8762
|
+
public readonly apmFlushDeadline: string | number;
|
|
8763
|
+
```
|
|
8764
|
+
|
|
8765
|
+
- *Type:* string | number
|
|
8766
|
+
|
|
8767
|
+
---
|
|
8768
|
+
|
|
8769
|
+
##### `captureLambdaPayload`<sup>Optional</sup> <a name="captureLambdaPayload" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.captureLambdaPayload"></a>
|
|
8770
|
+
|
|
8771
|
+
```typescript
|
|
8772
|
+
public readonly captureLambdaPayload: boolean;
|
|
8773
|
+
```
|
|
8774
|
+
|
|
8775
|
+
- *Type:* boolean
|
|
8776
|
+
|
|
8777
|
+
---
|
|
8778
|
+
|
|
8779
|
+
##### `coldStartTraceSkipLibs`<sup>Optional</sup> <a name="coldStartTraceSkipLibs" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.coldStartTraceSkipLibs"></a>
|
|
8780
|
+
|
|
8781
|
+
```typescript
|
|
8782
|
+
public readonly coldStartTraceSkipLibs: string;
|
|
8783
|
+
```
|
|
8784
|
+
|
|
8785
|
+
- *Type:* string
|
|
8786
|
+
|
|
8787
|
+
---
|
|
8788
|
+
|
|
8789
|
+
##### `createForwarderPermissions`<sup>Optional</sup> <a name="createForwarderPermissions" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.createForwarderPermissions"></a>
|
|
8790
|
+
|
|
8791
|
+
```typescript
|
|
8792
|
+
public readonly createForwarderPermissions: boolean;
|
|
8793
|
+
```
|
|
8794
|
+
|
|
8795
|
+
- *Type:* boolean
|
|
8796
|
+
|
|
8797
|
+
---
|
|
8798
|
+
|
|
8799
|
+
##### `decodeAuthorizerContext`<sup>Optional</sup> <a name="decodeAuthorizerContext" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.decodeAuthorizerContext"></a>
|
|
8800
|
+
|
|
8801
|
+
```typescript
|
|
8802
|
+
public readonly decodeAuthorizerContext: boolean;
|
|
8803
|
+
```
|
|
8804
|
+
|
|
8805
|
+
- *Type:* boolean
|
|
8806
|
+
|
|
8807
|
+
---
|
|
8808
|
+
|
|
8809
|
+
##### `enableColdStartTracing`<sup>Optional</sup> <a name="enableColdStartTracing" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableColdStartTracing"></a>
|
|
8810
|
+
|
|
8811
|
+
```typescript
|
|
8812
|
+
public readonly enableColdStartTracing: boolean;
|
|
8813
|
+
```
|
|
8814
|
+
|
|
8815
|
+
- *Type:* boolean
|
|
8816
|
+
|
|
8817
|
+
---
|
|
8818
|
+
|
|
8819
|
+
##### `enableDatadogASM`<sup>Optional</sup> <a name="enableDatadogASM" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogASM"></a>
|
|
8820
|
+
|
|
8821
|
+
```typescript
|
|
8822
|
+
public readonly enableDatadogASM: boolean;
|
|
8823
|
+
```
|
|
8824
|
+
|
|
8825
|
+
- *Type:* boolean
|
|
8826
|
+
|
|
8827
|
+
---
|
|
8828
|
+
|
|
8829
|
+
##### `enableDatadogLogs`<sup>Optional</sup> <a name="enableDatadogLogs" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogLogs"></a>
|
|
8830
|
+
|
|
8831
|
+
```typescript
|
|
8832
|
+
public readonly enableDatadogLogs: boolean;
|
|
8833
|
+
```
|
|
8834
|
+
|
|
8835
|
+
- *Type:* boolean
|
|
8836
|
+
|
|
8837
|
+
---
|
|
8838
|
+
|
|
8839
|
+
##### `enableDatadogTracing`<sup>Optional</sup> <a name="enableDatadogTracing" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableDatadogTracing"></a>
|
|
8840
|
+
|
|
8841
|
+
```typescript
|
|
8842
|
+
public readonly enableDatadogTracing: boolean;
|
|
8843
|
+
```
|
|
8844
|
+
|
|
8845
|
+
- *Type:* boolean
|
|
8846
|
+
|
|
8847
|
+
---
|
|
8848
|
+
|
|
8849
|
+
##### `enableEnhancedMetrics`<sup>Optional</sup> <a name="enableEnhancedMetrics" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableEnhancedMetrics"></a>
|
|
8850
|
+
|
|
8851
|
+
```typescript
|
|
8852
|
+
public readonly enableEnhancedMetrics: boolean;
|
|
8853
|
+
```
|
|
8854
|
+
|
|
8855
|
+
- *Type:* boolean
|
|
8856
|
+
- *Default:* false
|
|
8857
|
+
|
|
8858
|
+
Whether to enable enhanced metrics for the Lambda functions.
|
|
8859
|
+
|
|
8860
|
+
---
|
|
8861
|
+
|
|
8862
|
+
##### `enableMergeXrayTraces`<sup>Optional</sup> <a name="enableMergeXrayTraces" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableMergeXrayTraces"></a>
|
|
8863
|
+
|
|
8864
|
+
```typescript
|
|
8865
|
+
public readonly enableMergeXrayTraces: boolean;
|
|
8866
|
+
```
|
|
8867
|
+
|
|
8868
|
+
- *Type:* boolean
|
|
8869
|
+
|
|
8870
|
+
---
|
|
8871
|
+
|
|
8872
|
+
##### `enableProfiling`<sup>Optional</sup> <a name="enableProfiling" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.enableProfiling"></a>
|
|
8873
|
+
|
|
8874
|
+
```typescript
|
|
8875
|
+
public readonly enableProfiling: boolean;
|
|
8876
|
+
```
|
|
8877
|
+
|
|
8878
|
+
- *Type:* boolean
|
|
8879
|
+
|
|
8880
|
+
---
|
|
8881
|
+
|
|
8882
|
+
##### `encodeAuthorizerContext`<sup>Optional</sup> <a name="encodeAuthorizerContext" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.encodeAuthorizerContext"></a>
|
|
8883
|
+
|
|
8884
|
+
```typescript
|
|
8885
|
+
public readonly encodeAuthorizerContext: boolean;
|
|
8886
|
+
```
|
|
8887
|
+
|
|
8888
|
+
- *Type:* boolean
|
|
8889
|
+
|
|
8890
|
+
---
|
|
8891
|
+
|
|
8892
|
+
##### `env`<sup>Optional</sup> <a name="env" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.env"></a>
|
|
8893
|
+
|
|
8894
|
+
```typescript
|
|
8895
|
+
public readonly env: string;
|
|
8896
|
+
```
|
|
8897
|
+
|
|
8898
|
+
- *Type:* string
|
|
8899
|
+
|
|
8900
|
+
---
|
|
8901
|
+
|
|
8902
|
+
##### `extensionLayerVersion`<sup>Optional</sup> <a name="extensionLayerVersion" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.extensionLayerVersion"></a>
|
|
8903
|
+
|
|
8904
|
+
```typescript
|
|
8905
|
+
public readonly extensionLayerVersion: number;
|
|
8906
|
+
```
|
|
8907
|
+
|
|
8908
|
+
- *Type:* number
|
|
8909
|
+
|
|
8910
|
+
---
|
|
8911
|
+
|
|
8912
|
+
##### `flushMetricsToLogs`<sup>Optional</sup> <a name="flushMetricsToLogs" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.flushMetricsToLogs"></a>
|
|
8913
|
+
|
|
8914
|
+
```typescript
|
|
8915
|
+
public readonly flushMetricsToLogs: boolean;
|
|
8916
|
+
```
|
|
8917
|
+
|
|
8918
|
+
- *Type:* boolean
|
|
8919
|
+
|
|
8920
|
+
---
|
|
8921
|
+
|
|
8922
|
+
##### `forwarderArn`<sup>Optional</sup> <a name="forwarderArn" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.forwarderArn"></a>
|
|
8923
|
+
|
|
8924
|
+
```typescript
|
|
8925
|
+
public readonly forwarderArn: string;
|
|
8926
|
+
```
|
|
8927
|
+
|
|
8928
|
+
- *Type:* string
|
|
8929
|
+
|
|
8930
|
+
---
|
|
8931
|
+
|
|
8932
|
+
##### `grantSecretReadAccess`<sup>Optional</sup> <a name="grantSecretReadAccess" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.grantSecretReadAccess"></a>
|
|
8933
|
+
|
|
8934
|
+
```typescript
|
|
8935
|
+
public readonly grantSecretReadAccess: boolean;
|
|
8936
|
+
```
|
|
8937
|
+
|
|
8938
|
+
- *Type:* boolean
|
|
8939
|
+
|
|
8940
|
+
---
|
|
8941
|
+
|
|
8942
|
+
##### `injectLogContext`<sup>Optional</sup> <a name="injectLogContext" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.injectLogContext"></a>
|
|
8943
|
+
|
|
8944
|
+
```typescript
|
|
8945
|
+
public readonly injectLogContext: boolean;
|
|
8946
|
+
```
|
|
8947
|
+
|
|
8948
|
+
- *Type:* boolean
|
|
8949
|
+
|
|
8950
|
+
---
|
|
8951
|
+
|
|
8952
|
+
##### `logLevel`<sup>Optional</sup> <a name="logLevel" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.logLevel"></a>
|
|
8953
|
+
|
|
8954
|
+
```typescript
|
|
8955
|
+
public readonly logLevel: string;
|
|
8956
|
+
```
|
|
8957
|
+
|
|
8958
|
+
- *Type:* string
|
|
8959
|
+
|
|
8960
|
+
---
|
|
8961
|
+
|
|
8962
|
+
##### `minColdStartTraceDuration`<sup>Optional</sup> <a name="minColdStartTraceDuration" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.minColdStartTraceDuration"></a>
|
|
8963
|
+
|
|
8964
|
+
```typescript
|
|
8965
|
+
public readonly minColdStartTraceDuration: number;
|
|
8966
|
+
```
|
|
8967
|
+
|
|
8968
|
+
- *Type:* number
|
|
8969
|
+
|
|
8970
|
+
---
|
|
8971
|
+
|
|
8972
|
+
##### `nodeLayerVersion`<sup>Optional</sup> <a name="nodeLayerVersion" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.nodeLayerVersion"></a>
|
|
8973
|
+
|
|
8974
|
+
```typescript
|
|
8975
|
+
public readonly nodeLayerVersion: number;
|
|
8976
|
+
```
|
|
8977
|
+
|
|
8978
|
+
- *Type:* number
|
|
8979
|
+
|
|
8980
|
+
---
|
|
8981
|
+
|
|
8982
|
+
##### `redirectHandler`<sup>Optional</sup> <a name="redirectHandler" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.redirectHandler"></a>
|
|
8983
|
+
|
|
8984
|
+
```typescript
|
|
8985
|
+
public readonly redirectHandler: boolean;
|
|
8986
|
+
```
|
|
8987
|
+
|
|
8988
|
+
- *Type:* boolean
|
|
8989
|
+
|
|
8990
|
+
---
|
|
8991
|
+
|
|
8992
|
+
##### `site`<sup>Optional</sup> <a name="site" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.site"></a>
|
|
8993
|
+
|
|
8994
|
+
```typescript
|
|
8995
|
+
public readonly site: string;
|
|
8996
|
+
```
|
|
8997
|
+
|
|
8998
|
+
- *Type:* string
|
|
8999
|
+
|
|
9000
|
+
---
|
|
9001
|
+
|
|
9002
|
+
##### `sourceCodeIntegration`<sup>Optional</sup> <a name="sourceCodeIntegration" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.sourceCodeIntegration"></a>
|
|
9003
|
+
|
|
9004
|
+
```typescript
|
|
9005
|
+
public readonly sourceCodeIntegration: boolean;
|
|
9006
|
+
```
|
|
9007
|
+
|
|
9008
|
+
- *Type:* boolean
|
|
9009
|
+
|
|
9010
|
+
---
|
|
9011
|
+
|
|
9012
|
+
##### `tags`<sup>Optional</sup> <a name="tags" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.tags"></a>
|
|
9013
|
+
|
|
9014
|
+
```typescript
|
|
9015
|
+
public readonly tags: string;
|
|
9016
|
+
```
|
|
9017
|
+
|
|
9018
|
+
- *Type:* string
|
|
9019
|
+
|
|
9020
|
+
---
|
|
9021
|
+
|
|
9022
|
+
##### `useLayersFromAccount`<sup>Optional</sup> <a name="useLayersFromAccount" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.useLayersFromAccount"></a>
|
|
9023
|
+
|
|
9024
|
+
```typescript
|
|
9025
|
+
public readonly useLayersFromAccount: string;
|
|
9026
|
+
```
|
|
9027
|
+
|
|
9028
|
+
- *Type:* string
|
|
9029
|
+
|
|
9030
|
+
---
|
|
9031
|
+
|
|
9032
|
+
##### `version`<sup>Optional</sup> <a name="version" id="@rio-cloud/cdk-v2-constructs.datadogv2.DatadogLambdaInstrumentationProps.property.version"></a>
|
|
9033
|
+
|
|
9034
|
+
```typescript
|
|
9035
|
+
public readonly version: string;
|
|
9036
|
+
```
|
|
9037
|
+
|
|
9038
|
+
- *Type:* string
|
|
9039
|
+
|
|
9040
|
+
---
|
|
9041
|
+
|
|
8458
9042
|
### DatadogLogIndexMonitoringProps <a name="DatadogLogIndexMonitoringProps" id="@rio-cloud/cdk-v2-constructs.DatadogLogIndexMonitoringProps"></a>
|
|
8459
9043
|
|
|
8460
9044
|
#### Initializer <a name="Initializer" id="@rio-cloud/cdk-v2-constructs.DatadogLogIndexMonitoringProps.Initializer"></a>
|
|
@@ -10219,7 +10803,6 @@ const kafkaAclStatement: KafkaAclStatement = { ... }
|
|
|
10219
10803
|
| --- | --- | --- |
|
|
10220
10804
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.KafkaAclStatement.property.read">read</a></code> | <code>string[]</code> | List of clients that should get read permissions. |
|
|
10221
10805
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.KafkaAclStatement.property.write">write</a></code> | <code>string[]</code> | List of clients that should get write permissions. |
|
|
10222
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.KafkaAclStatement.property.delete">delete</a></code> | <code>string[]</code> | List of clients that should get delete permissions. |
|
|
10223
10806
|
|
|
10224
10807
|
---
|
|
10225
10808
|
|
|
@@ -10247,22 +10830,6 @@ List of clients that should get write permissions.
|
|
|
10247
10830
|
|
|
10248
10831
|
---
|
|
10249
10832
|
|
|
10250
|
-
##### `delete`<sup>Optional</sup> <a name="delete" id="@rio-cloud/cdk-v2-constructs.KafkaAclStatement.property.delete"></a>
|
|
10251
|
-
|
|
10252
|
-
```typescript
|
|
10253
|
-
public readonly delete: string[];
|
|
10254
|
-
```
|
|
10255
|
-
|
|
10256
|
-
- *Type:* string[]
|
|
10257
|
-
|
|
10258
|
-
List of clients that should get delete permissions.
|
|
10259
|
-
|
|
10260
|
-
Attention: Only use Deletion policy if you know what you are doing!
|
|
10261
|
-
This is only necessary for KStream and allows the application to delete messages and the topic.<br>
|
|
10262
|
-
If you just want to "delete" a message on a log compacted topic, you should not set this permission and send a tombstone message instead.
|
|
10263
|
-
|
|
10264
|
-
---
|
|
10265
|
-
|
|
10266
10833
|
### KafkaAclStatement <a name="KafkaAclStatement" id="@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement"></a>
|
|
10267
10834
|
|
|
10268
10835
|
Read and write permissions for the topic.
|
|
@@ -10283,7 +10850,6 @@ const kafkaAclStatement: kafka.KafkaAclStatement = { ... }
|
|
|
10283
10850
|
| --- | --- | --- |
|
|
10284
10851
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement.property.read">read</a></code> | <code>string[]</code> | List of clients that should get read permissions. |
|
|
10285
10852
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement.property.write">write</a></code> | <code>string[]</code> | List of clients that should get write permissions. |
|
|
10286
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement.property.delete">delete</a></code> | <code>string[]</code> | List of clients that should get delete permissions. |
|
|
10287
10853
|
|
|
10288
10854
|
---
|
|
10289
10855
|
|
|
@@ -10311,22 +10877,6 @@ List of clients that should get write permissions.
|
|
|
10311
10877
|
|
|
10312
10878
|
---
|
|
10313
10879
|
|
|
10314
|
-
##### `delete`<sup>Optional</sup> <a name="delete" id="@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement.property.delete"></a>
|
|
10315
|
-
|
|
10316
|
-
```typescript
|
|
10317
|
-
public readonly delete: string[];
|
|
10318
|
-
```
|
|
10319
|
-
|
|
10320
|
-
- *Type:* string[]
|
|
10321
|
-
|
|
10322
|
-
List of clients that should get delete permissions.
|
|
10323
|
-
|
|
10324
|
-
Attention: Only use Deletion policy if you know what you are doing!
|
|
10325
|
-
This is only necessary for KStream and allows the application to delete messages and the topic.<br>
|
|
10326
|
-
If you just want to "delete" a message on a log compacted topic, you should not set this permission and send a tombstone message instead.
|
|
10327
|
-
|
|
10328
|
-
---
|
|
10329
|
-
|
|
10330
10880
|
### KafkaEventSpecProps <a name="KafkaEventSpecProps" id="@rio-cloud/cdk-v2-constructs.KafkaEventSpecProps"></a>
|
|
10331
10881
|
|
|
10332
10882
|
#### Initializer <a name="Initializer" id="@rio-cloud/cdk-v2-constructs.KafkaEventSpecProps.Initializer"></a>
|