@rio-cloud/cdk-v2-constructs 7.7.0-alpha.0 → 7.8.1-alpha.1
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 +516 -27
- package/docs/API.md +447 -3
- package/docs/changelog.md +15 -0
- package/lib/datadogv2/datadog-lambda-instrumentation.d.ts +2 -3
- package/lib/datadogv2/datadog-lambda-instrumentation.js +3 -4
- package/lib/datadogv2/datadog-shared-secrets.d.ts +30 -14
- package/lib/datadogv2/datadog-shared-secrets.js +54 -32
- package/lib/fargate/datadog.d.ts +4 -4
- package/lib/fargate/datadog.js +5 -3
- package/lib/fargate/rio-fargate-service-blue-green-alpha.js +4 -3
- package/lib/fargate/rio-fargate-service.js +5 -4
- package/package.json +1 -1
- package/version.json +1 -1
package/.jsii
CHANGED
|
@@ -16381,7 +16381,7 @@
|
|
|
16381
16381
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16382
16382
|
"base": "constructs.Construct",
|
|
16383
16383
|
"docs": {
|
|
16384
|
-
"remarks": "This construct will create a Datadog construct with the provided props and add the Lambda functions to it.\nPer default, it will disable all additional features, that cause Datadog charging for Serverless Functions features.\nSo just change it, if you need the advanced features.\n\nAdditionally, some defaults from the datadog-integration account module are applied:\n- the secret for the API key is read from
|
|
16384
|
+
"remarks": "This construct will create a Datadog construct with the provided props and add the Lambda functions to it.\nPer default, it will disable all additional features, that cause Datadog charging for Serverless Functions features.\nSo just change it, if you need the advanced features.\n\nAdditionally, some defaults from the datadog-integration account module are applied:\n- the secret and site for the API key is read from a shared secret in rio-developer-tools account\n\nTo use it, install Datadog CDK Constructs package:\n```bash\nnpm i -D datadog-cdk-constructs-v2\n```",
|
|
16385
16385
|
"stability": "stable",
|
|
16386
16386
|
"summary": "Wrapper construct for Datadog's Lambda instrumentation."
|
|
16387
16387
|
},
|
|
@@ -16392,7 +16392,7 @@
|
|
|
16392
16392
|
},
|
|
16393
16393
|
"locationInModule": {
|
|
16394
16394
|
"filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
|
|
16395
|
-
"line":
|
|
16395
|
+
"line": 82
|
|
16396
16396
|
},
|
|
16397
16397
|
"parameters": [
|
|
16398
16398
|
{
|
|
@@ -16418,7 +16418,7 @@
|
|
|
16418
16418
|
"kind": "class",
|
|
16419
16419
|
"locationInModule": {
|
|
16420
16420
|
"filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
|
|
16421
|
-
"line":
|
|
16421
|
+
"line": 77
|
|
16422
16422
|
},
|
|
16423
16423
|
"methods": [
|
|
16424
16424
|
{
|
|
@@ -16427,7 +16427,7 @@
|
|
|
16427
16427
|
},
|
|
16428
16428
|
"locationInModule": {
|
|
16429
16429
|
"filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
|
|
16430
|
-
"line":
|
|
16430
|
+
"line": 122
|
|
16431
16431
|
},
|
|
16432
16432
|
"name": "addForwarderToNonLambdaLogGroups",
|
|
16433
16433
|
"parameters": [
|
|
@@ -16450,7 +16450,7 @@
|
|
|
16450
16450
|
},
|
|
16451
16451
|
"locationInModule": {
|
|
16452
16452
|
"filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
|
|
16453
|
-
"line":
|
|
16453
|
+
"line": 119
|
|
16454
16454
|
},
|
|
16455
16455
|
"name": "addGitCommitMetadata",
|
|
16456
16456
|
"parameters": [
|
|
@@ -16496,7 +16496,7 @@
|
|
|
16496
16496
|
},
|
|
16497
16497
|
"locationInModule": {
|
|
16498
16498
|
"filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
|
|
16499
|
-
"line":
|
|
16499
|
+
"line": 112
|
|
16500
16500
|
},
|
|
16501
16501
|
"name": "addLambdaFunctions",
|
|
16502
16502
|
"parameters": [
|
|
@@ -17928,21 +17928,495 @@
|
|
|
17928
17928
|
],
|
|
17929
17929
|
"symbolId": "src/datadogv2/datadog-service-catalog-entry:DatadogServiceCatalogEntryProperties"
|
|
17930
17930
|
},
|
|
17931
|
+
"@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedCredentials": {
|
|
17932
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
17933
|
+
"base": "constructs.Construct",
|
|
17934
|
+
"docs": {
|
|
17935
|
+
"stability": "stable"
|
|
17936
|
+
},
|
|
17937
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedCredentials",
|
|
17938
|
+
"initializer": {
|
|
17939
|
+
"docs": {
|
|
17940
|
+
"stability": "stable"
|
|
17941
|
+
},
|
|
17942
|
+
"locationInModule": {
|
|
17943
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17944
|
+
"line": 68
|
|
17945
|
+
},
|
|
17946
|
+
"parameters": [
|
|
17947
|
+
{
|
|
17948
|
+
"name": "scope",
|
|
17949
|
+
"type": {
|
|
17950
|
+
"fqn": "constructs.IConstruct"
|
|
17951
|
+
}
|
|
17952
|
+
},
|
|
17953
|
+
{
|
|
17954
|
+
"name": "id",
|
|
17955
|
+
"type": {
|
|
17956
|
+
"primitive": "string"
|
|
17957
|
+
}
|
|
17958
|
+
},
|
|
17959
|
+
{
|
|
17960
|
+
"docs": {
|
|
17961
|
+
"remarks": "For \"owned\" secrets, this will be the full resource name (secret name + suffix), unless the\n'@aws-cdk/aws-secretsmanager:parseOwnedSecretName' feature flag is set.",
|
|
17962
|
+
"summary": "The name of the secret."
|
|
17963
|
+
},
|
|
17964
|
+
"name": "secretName",
|
|
17965
|
+
"type": {
|
|
17966
|
+
"primitive": "string"
|
|
17967
|
+
}
|
|
17968
|
+
}
|
|
17969
|
+
],
|
|
17970
|
+
"protected": true
|
|
17971
|
+
},
|
|
17972
|
+
"interfaces": [
|
|
17973
|
+
"aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
17974
|
+
],
|
|
17975
|
+
"kind": "class",
|
|
17976
|
+
"locationInModule": {
|
|
17977
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17978
|
+
"line": 203
|
|
17979
|
+
},
|
|
17980
|
+
"methods": [
|
|
17981
|
+
{
|
|
17982
|
+
"docs": {
|
|
17983
|
+
"stability": "stable",
|
|
17984
|
+
"summary": "Adds a rotation schedule to the secret."
|
|
17985
|
+
},
|
|
17986
|
+
"locationInModule": {
|
|
17987
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17988
|
+
"line": 141
|
|
17989
|
+
},
|
|
17990
|
+
"name": "addRotationSchedule",
|
|
17991
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
17992
|
+
"parameters": [
|
|
17993
|
+
{
|
|
17994
|
+
"name": "_id",
|
|
17995
|
+
"type": {
|
|
17996
|
+
"primitive": "string"
|
|
17997
|
+
}
|
|
17998
|
+
},
|
|
17999
|
+
{
|
|
18000
|
+
"name": "_options",
|
|
18001
|
+
"type": {
|
|
18002
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.RotationScheduleOptions"
|
|
18003
|
+
}
|
|
18004
|
+
}
|
|
18005
|
+
],
|
|
18006
|
+
"returns": {
|
|
18007
|
+
"type": {
|
|
18008
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.RotationSchedule"
|
|
18009
|
+
}
|
|
18010
|
+
}
|
|
18011
|
+
},
|
|
18012
|
+
{
|
|
18013
|
+
"docs": {
|
|
18014
|
+
"remarks": "If this secret was created in this stack, a resource policy will be\nautomatically created upon the first call to `addToResourcePolicy`. If\nthe secret is imported, then this is a no-op.",
|
|
18015
|
+
"stability": "stable",
|
|
18016
|
+
"summary": "Adds a statement to the IAM resource policy associated with this secret."
|
|
18017
|
+
},
|
|
18018
|
+
"locationInModule": {
|
|
18019
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18020
|
+
"line": 145
|
|
18021
|
+
},
|
|
18022
|
+
"name": "addToResourcePolicy",
|
|
18023
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18024
|
+
"parameters": [
|
|
18025
|
+
{
|
|
18026
|
+
"name": "_statement",
|
|
18027
|
+
"type": {
|
|
18028
|
+
"fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
|
|
18029
|
+
}
|
|
18030
|
+
}
|
|
18031
|
+
],
|
|
18032
|
+
"returns": {
|
|
18033
|
+
"type": {
|
|
18034
|
+
"fqn": "aws-cdk-lib.aws_iam.AddToResourcePolicyResult"
|
|
18035
|
+
}
|
|
18036
|
+
}
|
|
18037
|
+
},
|
|
18038
|
+
{
|
|
18039
|
+
"docs": {
|
|
18040
|
+
"remarks": "The Removal Policy controls what happens to this resource when it stops\nbeing managed by CloudFormation, either because you've removed it from the\nCDK application or because you've made a change that requires the resource\nto be replaced.\n\nThe resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS\naccount for data recovery and cleanup later (`RemovalPolicy.RETAIN`).",
|
|
18041
|
+
"stability": "stable",
|
|
18042
|
+
"summary": "Apply the given removal policy to this resource."
|
|
18043
|
+
},
|
|
18044
|
+
"locationInModule": {
|
|
18045
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18046
|
+
"line": 157
|
|
18047
|
+
},
|
|
18048
|
+
"name": "applyRemovalPolicy",
|
|
18049
|
+
"overrides": "aws-cdk-lib.IResource",
|
|
18050
|
+
"parameters": [
|
|
18051
|
+
{
|
|
18052
|
+
"name": "_policy",
|
|
18053
|
+
"type": {
|
|
18054
|
+
"fqn": "aws-cdk-lib.RemovalPolicy"
|
|
18055
|
+
}
|
|
18056
|
+
}
|
|
18057
|
+
]
|
|
18058
|
+
},
|
|
18059
|
+
{
|
|
18060
|
+
"docs": {
|
|
18061
|
+
"stability": "stable",
|
|
18062
|
+
"summary": "Attach a target to this secret."
|
|
18063
|
+
},
|
|
18064
|
+
"locationInModule": {
|
|
18065
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18066
|
+
"line": 153
|
|
18067
|
+
},
|
|
18068
|
+
"name": "attach",
|
|
18069
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18070
|
+
"parameters": [
|
|
18071
|
+
{
|
|
18072
|
+
"name": "_target",
|
|
18073
|
+
"type": {
|
|
18074
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecretAttachmentTarget"
|
|
18075
|
+
}
|
|
18076
|
+
}
|
|
18077
|
+
],
|
|
18078
|
+
"returns": {
|
|
18079
|
+
"type": {
|
|
18080
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
18081
|
+
}
|
|
18082
|
+
}
|
|
18083
|
+
},
|
|
18084
|
+
{
|
|
18085
|
+
"docs": {
|
|
18086
|
+
"stability": "stable",
|
|
18087
|
+
"summary": "Denies the `DeleteSecret` action to all principals within the current account."
|
|
18088
|
+
},
|
|
18089
|
+
"locationInModule": {
|
|
18090
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18091
|
+
"line": 149
|
|
18092
|
+
},
|
|
18093
|
+
"name": "denyAccountRootDelete",
|
|
18094
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
18095
|
+
},
|
|
18096
|
+
{
|
|
18097
|
+
"docs": {
|
|
18098
|
+
"stability": "stable"
|
|
18099
|
+
},
|
|
18100
|
+
"locationInModule": {
|
|
18101
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18102
|
+
"line": 209
|
|
18103
|
+
},
|
|
18104
|
+
"name": "getSecret",
|
|
18105
|
+
"parameters": [
|
|
18106
|
+
{
|
|
18107
|
+
"name": "field",
|
|
18108
|
+
"type": {
|
|
18109
|
+
"primitive": "string"
|
|
18110
|
+
}
|
|
18111
|
+
}
|
|
18112
|
+
],
|
|
18113
|
+
"returns": {
|
|
18114
|
+
"type": {
|
|
18115
|
+
"fqn": "aws-cdk-lib.aws_ecs.Secret"
|
|
18116
|
+
}
|
|
18117
|
+
}
|
|
18118
|
+
},
|
|
18119
|
+
{
|
|
18120
|
+
"docs": {
|
|
18121
|
+
"stability": "stable"
|
|
18122
|
+
},
|
|
18123
|
+
"locationInModule": {
|
|
18124
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18125
|
+
"line": 205
|
|
18126
|
+
},
|
|
18127
|
+
"name": "getSecretValue",
|
|
18128
|
+
"parameters": [
|
|
18129
|
+
{
|
|
18130
|
+
"name": "field",
|
|
18131
|
+
"type": {
|
|
18132
|
+
"primitive": "string"
|
|
18133
|
+
}
|
|
18134
|
+
}
|
|
18135
|
+
],
|
|
18136
|
+
"returns": {
|
|
18137
|
+
"type": {
|
|
18138
|
+
"fqn": "aws-cdk-lib.SecretValue"
|
|
18139
|
+
}
|
|
18140
|
+
}
|
|
18141
|
+
},
|
|
18142
|
+
{
|
|
18143
|
+
"docs": {
|
|
18144
|
+
"stability": "stable",
|
|
18145
|
+
"summary": "Grants reading the secret value to some role."
|
|
18146
|
+
},
|
|
18147
|
+
"locationInModule": {
|
|
18148
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18149
|
+
"line": 121
|
|
18150
|
+
},
|
|
18151
|
+
"name": "grantRead",
|
|
18152
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18153
|
+
"parameters": [
|
|
18154
|
+
{
|
|
18155
|
+
"name": "grantee",
|
|
18156
|
+
"type": {
|
|
18157
|
+
"fqn": "aws-cdk-lib.aws_iam.IGrantable"
|
|
18158
|
+
}
|
|
18159
|
+
},
|
|
18160
|
+
{
|
|
18161
|
+
"name": "versionStages",
|
|
18162
|
+
"optional": true,
|
|
18163
|
+
"type": {
|
|
18164
|
+
"collection": {
|
|
18165
|
+
"elementtype": {
|
|
18166
|
+
"primitive": "string"
|
|
18167
|
+
},
|
|
18168
|
+
"kind": "array"
|
|
18169
|
+
}
|
|
18170
|
+
}
|
|
18171
|
+
}
|
|
18172
|
+
],
|
|
18173
|
+
"returns": {
|
|
18174
|
+
"type": {
|
|
18175
|
+
"fqn": "aws-cdk-lib.aws_iam.Grant"
|
|
18176
|
+
}
|
|
18177
|
+
}
|
|
18178
|
+
},
|
|
18179
|
+
{
|
|
18180
|
+
"docs": {
|
|
18181
|
+
"stability": "stable",
|
|
18182
|
+
"summary": "Grants writing and updating the secret value to some role."
|
|
18183
|
+
},
|
|
18184
|
+
"locationInModule": {
|
|
18185
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18186
|
+
"line": 137
|
|
18187
|
+
},
|
|
18188
|
+
"name": "grantWrite",
|
|
18189
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18190
|
+
"parameters": [
|
|
18191
|
+
{
|
|
18192
|
+
"name": "_grantee",
|
|
18193
|
+
"type": {
|
|
18194
|
+
"fqn": "aws-cdk-lib.aws_iam.IGrantable"
|
|
18195
|
+
}
|
|
18196
|
+
}
|
|
18197
|
+
],
|
|
18198
|
+
"returns": {
|
|
18199
|
+
"type": {
|
|
18200
|
+
"fqn": "aws-cdk-lib.aws_iam.Grant"
|
|
18201
|
+
}
|
|
18202
|
+
}
|
|
18203
|
+
},
|
|
18204
|
+
{
|
|
18205
|
+
"docs": {
|
|
18206
|
+
"stability": "stable",
|
|
18207
|
+
"summary": "Interpret the secret as a JSON object and return a field's value from it as a `SecretValue`."
|
|
18208
|
+
},
|
|
18209
|
+
"locationInModule": {
|
|
18210
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18211
|
+
"line": 117
|
|
18212
|
+
},
|
|
18213
|
+
"name": "secretValueFromJson",
|
|
18214
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18215
|
+
"parameters": [
|
|
18216
|
+
{
|
|
18217
|
+
"name": "key",
|
|
18218
|
+
"type": {
|
|
18219
|
+
"primitive": "string"
|
|
18220
|
+
}
|
|
18221
|
+
}
|
|
18222
|
+
],
|
|
18223
|
+
"returns": {
|
|
18224
|
+
"type": {
|
|
18225
|
+
"fqn": "aws-cdk-lib.SecretValue"
|
|
18226
|
+
}
|
|
18227
|
+
}
|
|
18228
|
+
}
|
|
18229
|
+
],
|
|
18230
|
+
"name": "DatadogSharedCredentials",
|
|
18231
|
+
"namespace": "datadogv2",
|
|
18232
|
+
"properties": [
|
|
18233
|
+
{
|
|
18234
|
+
"docs": {
|
|
18235
|
+
"remarks": "For resources that are created and managed by the CDK\n(generally, those created by creating new class instances like Role, Bucket, etc.),\nthis is always the same as the environment of the stack they belong to;\nhowever, for imported resources\n(those obtained from static methods like fromRoleArn, fromBucketName, etc.),\nthat might be different than the stack they were imported into.",
|
|
18236
|
+
"stability": "stable",
|
|
18237
|
+
"summary": "The environment this resource belongs to."
|
|
18238
|
+
},
|
|
18239
|
+
"immutable": true,
|
|
18240
|
+
"locationInModule": {
|
|
18241
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18242
|
+
"line": 93
|
|
18243
|
+
},
|
|
18244
|
+
"name": "env",
|
|
18245
|
+
"overrides": "aws-cdk-lib.IResource",
|
|
18246
|
+
"type": {
|
|
18247
|
+
"fqn": "aws-cdk-lib.ResourceEnvironment"
|
|
18248
|
+
}
|
|
18249
|
+
},
|
|
18250
|
+
{
|
|
18251
|
+
"docs": {
|
|
18252
|
+
"stability": "stable"
|
|
18253
|
+
},
|
|
18254
|
+
"immutable": true,
|
|
18255
|
+
"locationInModule": {
|
|
18256
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18257
|
+
"line": 64
|
|
18258
|
+
},
|
|
18259
|
+
"name": "secret",
|
|
18260
|
+
"protected": true,
|
|
18261
|
+
"type": {
|
|
18262
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
18263
|
+
}
|
|
18264
|
+
},
|
|
18265
|
+
{
|
|
18266
|
+
"docs": {
|
|
18267
|
+
"remarks": "Will return the full ARN if available, otherwise a partial arn.\nFor secrets imported by the deprecated `fromSecretName`, it will return the `secretName`.",
|
|
18268
|
+
"stability": "stable",
|
|
18269
|
+
"summary": "The ARN of the secret in AWS Secrets Manager."
|
|
18270
|
+
},
|
|
18271
|
+
"immutable": true,
|
|
18272
|
+
"locationInModule": {
|
|
18273
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18274
|
+
"line": 101
|
|
18275
|
+
},
|
|
18276
|
+
"name": "secretArn",
|
|
18277
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18278
|
+
"type": {
|
|
18279
|
+
"primitive": "string"
|
|
18280
|
+
}
|
|
18281
|
+
},
|
|
18282
|
+
{
|
|
18283
|
+
"docs": {
|
|
18284
|
+
"remarks": "For \"owned\" secrets, this will be the full resource name (secret name + suffix), unless the\n'@aws-cdk/aws-secretsmanager:parseOwnedSecretName' feature flag is set.",
|
|
18285
|
+
"stability": "stable",
|
|
18286
|
+
"summary": "The name of the secret."
|
|
18287
|
+
},
|
|
18288
|
+
"immutable": true,
|
|
18289
|
+
"locationInModule": {
|
|
18290
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18291
|
+
"line": 109
|
|
18292
|
+
},
|
|
18293
|
+
"name": "secretName",
|
|
18294
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18295
|
+
"type": {
|
|
18296
|
+
"primitive": "string"
|
|
18297
|
+
}
|
|
18298
|
+
},
|
|
18299
|
+
{
|
|
18300
|
+
"docs": {
|
|
18301
|
+
"stability": "stable",
|
|
18302
|
+
"summary": "Retrieve the value of the stored secret as a `SecretValue`."
|
|
18303
|
+
},
|
|
18304
|
+
"immutable": true,
|
|
18305
|
+
"locationInModule": {
|
|
18306
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18307
|
+
"line": 113
|
|
18308
|
+
},
|
|
18309
|
+
"name": "secretValue",
|
|
18310
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18311
|
+
"type": {
|
|
18312
|
+
"fqn": "aws-cdk-lib.SecretValue"
|
|
18313
|
+
}
|
|
18314
|
+
},
|
|
18315
|
+
{
|
|
18316
|
+
"docs": {
|
|
18317
|
+
"stability": "stable",
|
|
18318
|
+
"summary": "The stack in which this resource is defined."
|
|
18319
|
+
},
|
|
18320
|
+
"immutable": true,
|
|
18321
|
+
"locationInModule": {
|
|
18322
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18323
|
+
"line": 89
|
|
18324
|
+
},
|
|
18325
|
+
"name": "stack",
|
|
18326
|
+
"overrides": "aws-cdk-lib.IResource",
|
|
18327
|
+
"type": {
|
|
18328
|
+
"fqn": "aws-cdk-lib.Stack"
|
|
18329
|
+
}
|
|
18330
|
+
},
|
|
18331
|
+
{
|
|
18332
|
+
"docs": {
|
|
18333
|
+
"remarks": "When not specified, the default\nKMS key for the account and region is being used.",
|
|
18334
|
+
"stability": "stable",
|
|
18335
|
+
"summary": "The customer-managed encryption key that is used to encrypt this secret, if any."
|
|
18336
|
+
},
|
|
18337
|
+
"immutable": true,
|
|
18338
|
+
"locationInModule": {
|
|
18339
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18340
|
+
"line": 97
|
|
18341
|
+
},
|
|
18342
|
+
"name": "encryptionKey",
|
|
18343
|
+
"optional": true,
|
|
18344
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18345
|
+
"type": {
|
|
18346
|
+
"fqn": "aws-cdk-lib.aws_kms.IKey"
|
|
18347
|
+
}
|
|
18348
|
+
},
|
|
18349
|
+
{
|
|
18350
|
+
"docs": {
|
|
18351
|
+
"remarks": "This is equal to `secretArn` in most cases, but is undefined when a full ARN is not available (e.g., secrets imported by name).",
|
|
18352
|
+
"stability": "stable",
|
|
18353
|
+
"summary": "The full ARN of the secret in AWS Secrets Manager, which is the ARN including the Secrets Manager-supplied 6-character suffix."
|
|
18354
|
+
},
|
|
18355
|
+
"immutable": true,
|
|
18356
|
+
"locationInModule": {
|
|
18357
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18358
|
+
"line": 105
|
|
18359
|
+
},
|
|
18360
|
+
"name": "secretFullArn",
|
|
18361
|
+
"optional": true,
|
|
18362
|
+
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
18363
|
+
"type": {
|
|
18364
|
+
"primitive": "string"
|
|
18365
|
+
}
|
|
18366
|
+
}
|
|
18367
|
+
],
|
|
18368
|
+
"symbolId": "src/datadogv2/datadog-shared-secrets:DatadogSharedCredentials"
|
|
18369
|
+
},
|
|
17931
18370
|
"@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedSecret": {
|
|
17932
18371
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
17933
18372
|
"base": "constructs.Construct",
|
|
17934
18373
|
"docs": {
|
|
18374
|
+
"example": "const datadogApiKey = DatadogSharedSecret.apiKeySecret(this);\n\nconst datadogSecret = DatadogSharedSecret.credentialsSecret(this);\nconst datadogSite = datadogSecret.getSecret('Site');\nconst datadogApiKey = datadogSecret.getSecret('ApiKey');\nconst datadogApiKeyValue = datadogSecret.getSecretValue('ApiKey');\nconst datadogApiKeyValue = datadogSecret.getSecretValue('ApplicationKey');",
|
|
17935
18375
|
"stability": "stable",
|
|
17936
|
-
"summary": "A custom resource that resolves the
|
|
18376
|
+
"summary": "A custom resource that resolves the Datadog API keys from a shared secret."
|
|
17937
18377
|
},
|
|
17938
18378
|
"fqn": "@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedSecret",
|
|
18379
|
+
"initializer": {
|
|
18380
|
+
"docs": {
|
|
18381
|
+
"stability": "stable"
|
|
18382
|
+
},
|
|
18383
|
+
"locationInModule": {
|
|
18384
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18385
|
+
"line": 68
|
|
18386
|
+
},
|
|
18387
|
+
"parameters": [
|
|
18388
|
+
{
|
|
18389
|
+
"name": "scope",
|
|
18390
|
+
"type": {
|
|
18391
|
+
"fqn": "constructs.IConstruct"
|
|
18392
|
+
}
|
|
18393
|
+
},
|
|
18394
|
+
{
|
|
18395
|
+
"name": "id",
|
|
18396
|
+
"type": {
|
|
18397
|
+
"primitive": "string"
|
|
18398
|
+
}
|
|
18399
|
+
},
|
|
18400
|
+
{
|
|
18401
|
+
"docs": {
|
|
18402
|
+
"remarks": "For \"owned\" secrets, this will be the full resource name (secret name + suffix), unless the\n'@aws-cdk/aws-secretsmanager:parseOwnedSecretName' feature flag is set.",
|
|
18403
|
+
"summary": "The name of the secret."
|
|
18404
|
+
},
|
|
18405
|
+
"name": "secretName",
|
|
18406
|
+
"type": {
|
|
18407
|
+
"primitive": "string"
|
|
18408
|
+
}
|
|
18409
|
+
}
|
|
18410
|
+
],
|
|
18411
|
+
"protected": true
|
|
18412
|
+
},
|
|
17939
18413
|
"interfaces": [
|
|
17940
18414
|
"aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
17941
18415
|
],
|
|
17942
18416
|
"kind": "class",
|
|
17943
18417
|
"locationInModule": {
|
|
17944
18418
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17945
|
-
"line":
|
|
18419
|
+
"line": 173
|
|
17946
18420
|
},
|
|
17947
18421
|
"methods": [
|
|
17948
18422
|
{
|
|
@@ -17952,7 +18426,7 @@
|
|
|
17952
18426
|
},
|
|
17953
18427
|
"locationInModule": {
|
|
17954
18428
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17955
|
-
"line":
|
|
18429
|
+
"line": 178
|
|
17956
18430
|
},
|
|
17957
18431
|
"name": "apiKeySecret",
|
|
17958
18432
|
"parameters": [
|
|
@@ -17977,7 +18451,7 @@
|
|
|
17977
18451
|
},
|
|
17978
18452
|
"locationInModule": {
|
|
17979
18453
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
17980
|
-
"line":
|
|
18454
|
+
"line": 190
|
|
17981
18455
|
},
|
|
17982
18456
|
"name": "credentialsSecret",
|
|
17983
18457
|
"parameters": [
|
|
@@ -17990,7 +18464,7 @@
|
|
|
17990
18464
|
],
|
|
17991
18465
|
"returns": {
|
|
17992
18466
|
"type": {
|
|
17993
|
-
"fqn": "@rio-cloud/cdk-v2-constructs.datadogv2.
|
|
18467
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedCredentials"
|
|
17994
18468
|
}
|
|
17995
18469
|
},
|
|
17996
18470
|
"static": true
|
|
@@ -18002,7 +18476,7 @@
|
|
|
18002
18476
|
},
|
|
18003
18477
|
"locationInModule": {
|
|
18004
18478
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18005
|
-
"line":
|
|
18479
|
+
"line": 141
|
|
18006
18480
|
},
|
|
18007
18481
|
"name": "addRotationSchedule",
|
|
18008
18482
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18034,7 +18508,7 @@
|
|
|
18034
18508
|
},
|
|
18035
18509
|
"locationInModule": {
|
|
18036
18510
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18037
|
-
"line":
|
|
18511
|
+
"line": 145
|
|
18038
18512
|
},
|
|
18039
18513
|
"name": "addToResourcePolicy",
|
|
18040
18514
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18060,7 +18534,7 @@
|
|
|
18060
18534
|
},
|
|
18061
18535
|
"locationInModule": {
|
|
18062
18536
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18063
|
-
"line":
|
|
18537
|
+
"line": 157
|
|
18064
18538
|
},
|
|
18065
18539
|
"name": "applyRemovalPolicy",
|
|
18066
18540
|
"overrides": "aws-cdk-lib.IResource",
|
|
@@ -18080,7 +18554,7 @@
|
|
|
18080
18554
|
},
|
|
18081
18555
|
"locationInModule": {
|
|
18082
18556
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18083
|
-
"line":
|
|
18557
|
+
"line": 153
|
|
18084
18558
|
},
|
|
18085
18559
|
"name": "attach",
|
|
18086
18560
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18105,7 +18579,7 @@
|
|
|
18105
18579
|
},
|
|
18106
18580
|
"locationInModule": {
|
|
18107
18581
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18108
|
-
"line":
|
|
18582
|
+
"line": 149
|
|
18109
18583
|
},
|
|
18110
18584
|
"name": "denyAccountRootDelete",
|
|
18111
18585
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
@@ -18117,7 +18591,7 @@
|
|
|
18117
18591
|
},
|
|
18118
18592
|
"locationInModule": {
|
|
18119
18593
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18120
|
-
"line":
|
|
18594
|
+
"line": 121
|
|
18121
18595
|
},
|
|
18122
18596
|
"name": "grantRead",
|
|
18123
18597
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18154,7 +18628,7 @@
|
|
|
18154
18628
|
},
|
|
18155
18629
|
"locationInModule": {
|
|
18156
18630
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18157
|
-
"line":
|
|
18631
|
+
"line": 137
|
|
18158
18632
|
},
|
|
18159
18633
|
"name": "grantWrite",
|
|
18160
18634
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18179,7 +18653,7 @@
|
|
|
18179
18653
|
},
|
|
18180
18654
|
"locationInModule": {
|
|
18181
18655
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18182
|
-
"line":
|
|
18656
|
+
"line": 117
|
|
18183
18657
|
},
|
|
18184
18658
|
"name": "secretValueFromJson",
|
|
18185
18659
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18210,7 +18684,7 @@
|
|
|
18210
18684
|
"immutable": true,
|
|
18211
18685
|
"locationInModule": {
|
|
18212
18686
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18213
|
-
"line":
|
|
18687
|
+
"line": 93
|
|
18214
18688
|
},
|
|
18215
18689
|
"name": "env",
|
|
18216
18690
|
"overrides": "aws-cdk-lib.IResource",
|
|
@@ -18218,6 +18692,21 @@
|
|
|
18218
18692
|
"fqn": "aws-cdk-lib.ResourceEnvironment"
|
|
18219
18693
|
}
|
|
18220
18694
|
},
|
|
18695
|
+
{
|
|
18696
|
+
"docs": {
|
|
18697
|
+
"stability": "stable"
|
|
18698
|
+
},
|
|
18699
|
+
"immutable": true,
|
|
18700
|
+
"locationInModule": {
|
|
18701
|
+
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18702
|
+
"line": 64
|
|
18703
|
+
},
|
|
18704
|
+
"name": "secret",
|
|
18705
|
+
"protected": true,
|
|
18706
|
+
"type": {
|
|
18707
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
18708
|
+
}
|
|
18709
|
+
},
|
|
18221
18710
|
{
|
|
18222
18711
|
"docs": {
|
|
18223
18712
|
"remarks": "Will return the full ARN if available, otherwise a partial arn.\nFor secrets imported by the deprecated `fromSecretName`, it will return the `secretName`.",
|
|
@@ -18227,7 +18716,7 @@
|
|
|
18227
18716
|
"immutable": true,
|
|
18228
18717
|
"locationInModule": {
|
|
18229
18718
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18230
|
-
"line":
|
|
18719
|
+
"line": 101
|
|
18231
18720
|
},
|
|
18232
18721
|
"name": "secretArn",
|
|
18233
18722
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18244,7 +18733,7 @@
|
|
|
18244
18733
|
"immutable": true,
|
|
18245
18734
|
"locationInModule": {
|
|
18246
18735
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18247
|
-
"line":
|
|
18736
|
+
"line": 109
|
|
18248
18737
|
},
|
|
18249
18738
|
"name": "secretName",
|
|
18250
18739
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18260,7 +18749,7 @@
|
|
|
18260
18749
|
"immutable": true,
|
|
18261
18750
|
"locationInModule": {
|
|
18262
18751
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18263
|
-
"line":
|
|
18752
|
+
"line": 113
|
|
18264
18753
|
},
|
|
18265
18754
|
"name": "secretValue",
|
|
18266
18755
|
"overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
|
|
@@ -18276,7 +18765,7 @@
|
|
|
18276
18765
|
"immutable": true,
|
|
18277
18766
|
"locationInModule": {
|
|
18278
18767
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18279
|
-
"line":
|
|
18768
|
+
"line": 89
|
|
18280
18769
|
},
|
|
18281
18770
|
"name": "stack",
|
|
18282
18771
|
"overrides": "aws-cdk-lib.IResource",
|
|
@@ -18293,7 +18782,7 @@
|
|
|
18293
18782
|
"immutable": true,
|
|
18294
18783
|
"locationInModule": {
|
|
18295
18784
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18296
|
-
"line":
|
|
18785
|
+
"line": 97
|
|
18297
18786
|
},
|
|
18298
18787
|
"name": "encryptionKey",
|
|
18299
18788
|
"optional": true,
|
|
@@ -18311,7 +18800,7 @@
|
|
|
18311
18800
|
"immutable": true,
|
|
18312
18801
|
"locationInModule": {
|
|
18313
18802
|
"filename": "src/datadogv2/datadog-shared-secrets.ts",
|
|
18314
|
-
"line":
|
|
18803
|
+
"line": 105
|
|
18315
18804
|
},
|
|
18316
18805
|
"name": "secretFullArn",
|
|
18317
18806
|
"optional": true,
|
|
@@ -22228,5 +22717,5 @@
|
|
|
22228
22717
|
}
|
|
22229
22718
|
},
|
|
22230
22719
|
"version": "0.0.0",
|
|
22231
|
-
"fingerprint": "
|
|
22720
|
+
"fingerprint": "k0ZMMvo6IDhsZijUQPt2hg4e2CyKjcZAnINDsVef40Y="
|
|
22232
22721
|
}
|