@rio-cloud/cdk-v2-constructs 6.12.1 → 6.12.3

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.
Files changed (148) hide show
  1. package/.jsii +327 -16
  2. package/docs/API.md +242 -4
  3. package/docs/changelog.md +9 -0
  4. package/lib/datadogv2/datadog-lambda-instrumentation.js +3 -4
  5. package/lib/datadogv2/datadog-shared-secrets.d.ts +19 -2
  6. package/lib/datadogv2/datadog-shared-secrets.js +60 -1
  7. package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +117 -109
  8. package/lib/datadogv2/secret-locator-custom-resource/on-create.js +6 -2
  9. package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +79 -75
  10. package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +79 -75
  11. package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +309 -83
  12. package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
  13. package/node_modules/@aws-sdk/client-codedeploy/package.json +14 -14
  14. package/node_modules/@aws-sdk/client-ecs/README.md +25 -1
  15. package/node_modules/@aws-sdk/client-ecs/dist-cjs/index.js +255 -11
  16. package/node_modules/@aws-sdk/client-ecs/dist-es/ECS.js +6 -0
  17. package/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeServiceDeploymentsCommand.js +22 -0
  18. package/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeServiceRevisionsCommand.js +22 -0
  19. package/node_modules/@aws-sdk/client-ecs/dist-es/commands/ListServiceDeploymentsCommand.js +22 -0
  20. package/node_modules/@aws-sdk/client-ecs/dist-es/commands/index.js +3 -0
  21. package/node_modules/@aws-sdk/client-ecs/dist-es/models/models_0.js +17 -24
  22. package/node_modules/@aws-sdk/client-ecs/dist-es/models/models_1.js +25 -1
  23. package/node_modules/@aws-sdk/client-ecs/dist-es/protocols/Aws_json1_1.js +178 -1
  24. package/node_modules/@aws-sdk/client-ecs/dist-types/ECS.d.ts +21 -0
  25. package/node_modules/@aws-sdk/client-ecs/dist-types/ECSClient.d.ts +5 -2
  26. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateClusterCommand.d.ts +2 -2
  28. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateServiceCommand.d.ts +6 -6
  29. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteServiceCommand.d.ts +3 -3
  34. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeContainerInstancesCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceDeploymentsCommand.d.ts +177 -0
  42. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +243 -0
  43. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
  44. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTaskSetsCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DescribeTasksCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/GetTaskProtectionCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListClustersCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServiceDeploymentsCommand.d.ts +130 -0
  54. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListServicesCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/ListTasksCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterContainerInstanceCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/RunTaskCommand.d.ts +2 -2
  66. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StartTaskCommand.d.ts +2 -2
  67. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/StopTaskCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +1 -1
  69. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/TagResourceCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateCapacityProviderCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  75. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -2
  76. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -2
  77. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
  78. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateServiceCommand.d.ts +6 -6
  79. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -2
  80. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
  81. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -3
  82. package/node_modules/@aws-sdk/client-ecs/dist-types/commands/index.d.ts +3 -0
  83. package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_0.d.ts +3026 -2918
  84. package/node_modules/@aws-sdk/client-ecs/dist-types/models/models_1.d.ts +517 -1
  85. package/node_modules/@aws-sdk/client-ecs/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  86. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/ECS.d.ts +51 -0
  87. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/ECSClient.d.ts +18 -0
  88. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/DescribeServiceDeploymentsCommand.d.ts +51 -0
  89. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +51 -0
  90. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +51 -0
  91. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +4 -2
  99. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/commands/index.d.ts +3 -0
  100. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_0.d.ts +126 -95
  101. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/models/models_1.d.ts +119 -1
  102. package/node_modules/@aws-sdk/client-ecs/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  103. package/node_modules/@aws-sdk/client-ecs/package.json +14 -14
  104. package/node_modules/@aws-sdk/client-organizations/package.json +14 -14
  105. package/node_modules/@aws-sdk/client-secrets-manager/package.json +14 -14
  106. package/node_modules/@aws-sdk/client-ssm/package.json +14 -14
  107. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  108. package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
  109. package/node_modules/@aws-sdk/client-sts/package.json +15 -15
  110. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +9 -5
  111. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  112. package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  114. package/node_modules/@aws-sdk/core/package.json +6 -4
  115. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -4
  116. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -4
  117. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -10
  118. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -10
  119. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -4
  120. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -6
  121. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -5
  122. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -4
  123. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -4
  124. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -4
  125. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -7
  126. package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -3
  127. package/node_modules/@aws-sdk/token-providers/package.json +5 -4
  128. package/node_modules/@aws-sdk/types/package.json +1 -1
  129. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -4
  130. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -3
  131. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -4
  132. package/node_modules/@smithy/protocol-http/package.json +2 -2
  133. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  134. package/node_modules/@smithy/signature-v4/package.json +4 -4
  135. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  136. package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  137. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  138. package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  139. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  140. package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
  141. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  142. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  143. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
  144. package/node_modules/@smithy/types/package.json +1 -1
  145. package/node_modules/@smithy/util-middleware/package.json +2 -2
  146. package/node_modules/@smithy/util-retry/package.json +3 -3
  147. package/package.json +13 -11
  148. package/version.json +1 -1
package/.jsii CHANGED
@@ -8,19 +8,20 @@
8
8
  "url": "https://rio.cloud/"
9
9
  },
10
10
  "bundled": {
11
- "@aws-sdk/client-cloudformation": "^3.675.0",
12
- "@aws-sdk/client-codedeploy": "^3.675.0",
13
- "@aws-sdk/client-ecs": "^3.675.0",
14
- "@aws-sdk/client-organizations": "^3.675.0",
15
- "@aws-sdk/client-secrets-manager": "^3.675.0",
16
- "@aws-sdk/client-ssm": "^3.675.0",
11
+ "@aws-sdk/client-cloudformation": "^3.682.0",
12
+ "@aws-sdk/client-codedeploy": "^3.682.0",
13
+ "@aws-sdk/client-ecs": "^3.682.0",
14
+ "@aws-sdk/client-organizations": "^3.682.0",
15
+ "@aws-sdk/client-secrets-manager": "^3.682.0",
16
+ "@aws-sdk/client-ssm": "^3.682.0",
17
17
  "@datadog/datadog-api-client": "^1.29.0",
18
+ "@smithy/util-retry": "^3.0.8",
18
19
  "aws-lambda": "^1.0.7",
19
20
  "js-yaml": "~4.1.0"
20
21
  },
21
22
  "dependencies": {
22
- "aws-cdk-lib": "^2.161.1",
23
- "constructs": "^10.3.0"
23
+ "aws-cdk-lib": "^2.163.0",
24
+ "constructs": "^10.4.2"
24
25
  },
25
26
  "dependencyClosure": {
26
27
  "@aws-cdk/asset-awscli-v1": {
@@ -14586,7 +14587,7 @@
14586
14587
  },
14587
14588
  "locationInModule": {
14588
14589
  "filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
14589
- "line": 119
14590
+ "line": 118
14590
14591
  },
14591
14592
  "name": "addForwarderToNonLambdaLogGroups",
14592
14593
  "parameters": [
@@ -14609,7 +14610,7 @@
14609
14610
  },
14610
14611
  "locationInModule": {
14611
14612
  "filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
14612
- "line": 116
14613
+ "line": 115
14613
14614
  },
14614
14615
  "name": "addGitCommitMetadata",
14615
14616
  "parameters": [
@@ -14655,7 +14656,7 @@
14655
14656
  },
14656
14657
  "locationInModule": {
14657
14658
  "filename": "src/datadogv2/datadog-lambda-instrumentation.ts",
14658
- "line": 109
14659
+ "line": 108
14659
14660
  },
14660
14661
  "name": "addLambdaFunctions",
14661
14662
  "parameters": [
@@ -15916,6 +15917,9 @@
15916
15917
  "summary": "A custom resource that resolves the secret ARN based on the organization ID."
15917
15918
  },
15918
15919
  "fqn": "@rio-cloud/cdk-v2-constructs.datadogv2.DatadogSharedSecret",
15920
+ "interfaces": [
15921
+ "aws-cdk-lib.aws_secretsmanager.ISecret"
15922
+ ],
15919
15923
  "kind": "class",
15920
15924
  "locationInModule": {
15921
15925
  "filename": "src/datadogv2/datadog-shared-secrets.ts",
@@ -15983,6 +15987,208 @@
15983
15987
  }
15984
15988
  },
15985
15989
  "static": true
15990
+ },
15991
+ {
15992
+ "docs": {
15993
+ "stability": "stable",
15994
+ "summary": "Adds a rotation schedule to the secret."
15995
+ },
15996
+ "locationInModule": {
15997
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
15998
+ "line": 151
15999
+ },
16000
+ "name": "addRotationSchedule",
16001
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16002
+ "parameters": [
16003
+ {
16004
+ "name": "_id",
16005
+ "type": {
16006
+ "primitive": "string"
16007
+ }
16008
+ },
16009
+ {
16010
+ "name": "_options",
16011
+ "type": {
16012
+ "fqn": "aws-cdk-lib.aws_secretsmanager.RotationScheduleOptions"
16013
+ }
16014
+ }
16015
+ ],
16016
+ "returns": {
16017
+ "type": {
16018
+ "fqn": "aws-cdk-lib.aws_secretsmanager.RotationSchedule"
16019
+ }
16020
+ }
16021
+ },
16022
+ {
16023
+ "docs": {
16024
+ "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.",
16025
+ "stability": "stable",
16026
+ "summary": "Adds a statement to the IAM resource policy associated with this secret."
16027
+ },
16028
+ "locationInModule": {
16029
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16030
+ "line": 155
16031
+ },
16032
+ "name": "addToResourcePolicy",
16033
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16034
+ "parameters": [
16035
+ {
16036
+ "name": "_statement",
16037
+ "type": {
16038
+ "fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
16039
+ }
16040
+ }
16041
+ ],
16042
+ "returns": {
16043
+ "type": {
16044
+ "fqn": "aws-cdk-lib.aws_iam.AddToResourcePolicyResult"
16045
+ }
16046
+ }
16047
+ },
16048
+ {
16049
+ "docs": {
16050
+ "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`).",
16051
+ "stability": "stable",
16052
+ "summary": "Apply the given removal policy to this resource."
16053
+ },
16054
+ "locationInModule": {
16055
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16056
+ "line": 167
16057
+ },
16058
+ "name": "applyRemovalPolicy",
16059
+ "overrides": "aws-cdk-lib.IResource",
16060
+ "parameters": [
16061
+ {
16062
+ "name": "_policy",
16063
+ "type": {
16064
+ "fqn": "aws-cdk-lib.RemovalPolicy"
16065
+ }
16066
+ }
16067
+ ]
16068
+ },
16069
+ {
16070
+ "docs": {
16071
+ "stability": "stable",
16072
+ "summary": "Attach a target to this secret."
16073
+ },
16074
+ "locationInModule": {
16075
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16076
+ "line": 163
16077
+ },
16078
+ "name": "attach",
16079
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16080
+ "parameters": [
16081
+ {
16082
+ "name": "_target",
16083
+ "type": {
16084
+ "fqn": "aws-cdk-lib.aws_secretsmanager.ISecretAttachmentTarget"
16085
+ }
16086
+ }
16087
+ ],
16088
+ "returns": {
16089
+ "type": {
16090
+ "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
16091
+ }
16092
+ }
16093
+ },
16094
+ {
16095
+ "docs": {
16096
+ "stability": "stable",
16097
+ "summary": "Denies the `DeleteSecret` action to all principals within the current account."
16098
+ },
16099
+ "locationInModule": {
16100
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16101
+ "line": 159
16102
+ },
16103
+ "name": "denyAccountRootDelete",
16104
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret"
16105
+ },
16106
+ {
16107
+ "docs": {
16108
+ "stability": "stable",
16109
+ "summary": "Grants reading the secret value to some role."
16110
+ },
16111
+ "locationInModule": {
16112
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16113
+ "line": 131
16114
+ },
16115
+ "name": "grantRead",
16116
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16117
+ "parameters": [
16118
+ {
16119
+ "name": "grantee",
16120
+ "type": {
16121
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
16122
+ }
16123
+ },
16124
+ {
16125
+ "name": "versionStages",
16126
+ "optional": true,
16127
+ "type": {
16128
+ "collection": {
16129
+ "elementtype": {
16130
+ "primitive": "string"
16131
+ },
16132
+ "kind": "array"
16133
+ }
16134
+ }
16135
+ }
16136
+ ],
16137
+ "returns": {
16138
+ "type": {
16139
+ "fqn": "aws-cdk-lib.aws_iam.Grant"
16140
+ }
16141
+ }
16142
+ },
16143
+ {
16144
+ "docs": {
16145
+ "stability": "stable",
16146
+ "summary": "Grants writing and updating the secret value to some role."
16147
+ },
16148
+ "locationInModule": {
16149
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16150
+ "line": 147
16151
+ },
16152
+ "name": "grantWrite",
16153
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16154
+ "parameters": [
16155
+ {
16156
+ "name": "_grantee",
16157
+ "type": {
16158
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
16159
+ }
16160
+ }
16161
+ ],
16162
+ "returns": {
16163
+ "type": {
16164
+ "fqn": "aws-cdk-lib.aws_iam.Grant"
16165
+ }
16166
+ }
16167
+ },
16168
+ {
16169
+ "docs": {
16170
+ "stability": "stable",
16171
+ "summary": "Interpret the secret as a JSON object and return a field's value from it as a `SecretValue`."
16172
+ },
16173
+ "locationInModule": {
16174
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16175
+ "line": 127
16176
+ },
16177
+ "name": "secretValueFromJson",
16178
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16179
+ "parameters": [
16180
+ {
16181
+ "name": "key",
16182
+ "type": {
16183
+ "primitive": "string"
16184
+ }
16185
+ }
16186
+ ],
16187
+ "returns": {
16188
+ "type": {
16189
+ "fqn": "aws-cdk-lib.SecretValue"
16190
+ }
16191
+ }
15986
16192
  }
15987
16193
  ],
15988
16194
  "name": "DatadogSharedSecret",
@@ -15990,16 +16196,121 @@
15990
16196
  "properties": [
15991
16197
  {
15992
16198
  "docs": {
15993
- "stability": "stable"
16199
+ "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.",
16200
+ "stability": "stable",
16201
+ "summary": "The environment this resource belongs to."
15994
16202
  },
15995
16203
  "immutable": true,
15996
16204
  "locationInModule": {
15997
16205
  "filename": "src/datadogv2/datadog-shared-secrets.ts",
15998
- "line": 74
16206
+ "line": 103
15999
16207
  },
16000
- "name": "secret",
16208
+ "name": "env",
16209
+ "overrides": "aws-cdk-lib.IResource",
16001
16210
  "type": {
16002
- "fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
16211
+ "fqn": "aws-cdk-lib.ResourceEnvironment"
16212
+ }
16213
+ },
16214
+ {
16215
+ "docs": {
16216
+ "remarks": "Will return the full ARN if available, otherwise a partial arn.\nFor secrets imported by the deprecated `fromSecretName`, it will return the `secretName`.",
16217
+ "stability": "stable",
16218
+ "summary": "The ARN of the secret in AWS Secrets Manager."
16219
+ },
16220
+ "immutable": true,
16221
+ "locationInModule": {
16222
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16223
+ "line": 111
16224
+ },
16225
+ "name": "secretArn",
16226
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16227
+ "type": {
16228
+ "primitive": "string"
16229
+ }
16230
+ },
16231
+ {
16232
+ "docs": {
16233
+ "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.",
16234
+ "stability": "stable",
16235
+ "summary": "The name of the secret."
16236
+ },
16237
+ "immutable": true,
16238
+ "locationInModule": {
16239
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16240
+ "line": 119
16241
+ },
16242
+ "name": "secretName",
16243
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16244
+ "type": {
16245
+ "primitive": "string"
16246
+ }
16247
+ },
16248
+ {
16249
+ "docs": {
16250
+ "stability": "stable",
16251
+ "summary": "Retrieve the value of the stored secret as a `SecretValue`."
16252
+ },
16253
+ "immutable": true,
16254
+ "locationInModule": {
16255
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16256
+ "line": 123
16257
+ },
16258
+ "name": "secretValue",
16259
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16260
+ "type": {
16261
+ "fqn": "aws-cdk-lib.SecretValue"
16262
+ }
16263
+ },
16264
+ {
16265
+ "docs": {
16266
+ "stability": "stable",
16267
+ "summary": "The stack in which this resource is defined."
16268
+ },
16269
+ "immutable": true,
16270
+ "locationInModule": {
16271
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16272
+ "line": 99
16273
+ },
16274
+ "name": "stack",
16275
+ "overrides": "aws-cdk-lib.IResource",
16276
+ "type": {
16277
+ "fqn": "aws-cdk-lib.Stack"
16278
+ }
16279
+ },
16280
+ {
16281
+ "docs": {
16282
+ "remarks": "When not specified, the default\nKMS key for the account and region is being used.",
16283
+ "stability": "stable",
16284
+ "summary": "The customer-managed encryption key that is used to encrypt this secret, if any."
16285
+ },
16286
+ "immutable": true,
16287
+ "locationInModule": {
16288
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16289
+ "line": 107
16290
+ },
16291
+ "name": "encryptionKey",
16292
+ "optional": true,
16293
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16294
+ "type": {
16295
+ "fqn": "aws-cdk-lib.aws_kms.IKey"
16296
+ }
16297
+ },
16298
+ {
16299
+ "docs": {
16300
+ "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).",
16301
+ "stability": "stable",
16302
+ "summary": "The full ARN of the secret in AWS Secrets Manager, which is the ARN including the Secrets Manager-supplied 6-character suffix."
16303
+ },
16304
+ "immutable": true,
16305
+ "locationInModule": {
16306
+ "filename": "src/datadogv2/datadog-shared-secrets.ts",
16307
+ "line": 115
16308
+ },
16309
+ "name": "secretFullArn",
16310
+ "optional": true,
16311
+ "overrides": "aws-cdk-lib.aws_secretsmanager.ISecret",
16312
+ "type": {
16313
+ "primitive": "string"
16003
16314
  }
16004
16315
  }
16005
16316
  ],
@@ -19546,5 +19857,5 @@
19546
19857
  }
19547
19858
  },
19548
19859
  "version": "0.0.0",
19549
- "fingerprint": "nne4l7I6QYKfeWWj+aKn0szZGv9LSdFjX9d+76vMGkw="
19860
+ "fingerprint": "tG2tIuEiBzg1oHhvr4KKXexddegBQ/BOGnkXgQWpM8c="
19550
19861
  }