cdk8s-aws-cdk 0.0.5

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 (94) hide show
  1. package/.gitattributes +21 -0
  2. package/.jsii +4392 -0
  3. package/API.md +2204 -0
  4. package/LICENSE +202 -0
  5. package/README.md +201 -0
  6. package/changelog.md +2 -0
  7. package/examples/rds-db-instance/README.md +0 -0
  8. package/examples/rds-db-instance/cdk.out/RdsDBInstanceStack.assets.json +19 -0
  9. package/examples/rds-db-instance/cdk.out/RdsDBInstanceStack.template.json +86 -0
  10. package/examples/rds-db-instance/cdk.out/cdk.out +1 -0
  11. package/examples/rds-db-instance/cdk.out/manifest.json +230 -0
  12. package/examples/rds-db-instance/cdk.out/tree.json +171 -0
  13. package/examples/rds-db-instance/main.ts +136 -0
  14. package/lib/adapter.d.ts +37 -0
  15. package/lib/adapter.d.ts.map +1 -0
  16. package/lib/adapter.js +196 -0
  17. package/lib/chart.d.ts +19 -0
  18. package/lib/chart.d.ts.map +1 -0
  19. package/lib/chart.js +63 -0
  20. package/lib/imports/cloudcontrol.services.k8s.aws.d.ts +106 -0
  21. package/lib/imports/cloudcontrol.services.k8s.aws.d.ts.map +1 -0
  22. package/lib/imports/cloudcontrol.services.k8s.aws.js +92 -0
  23. package/lib/imports/dynamotables-dynamodb.services.k8s.aws.d.ts +430 -0
  24. package/lib/imports/dynamotables-dynamodb.services.k8s.aws.d.ts.map +1 -0
  25. package/lib/imports/dynamotables-dynamodb.services.k8s.aws.js +314 -0
  26. package/lib/imports/ec2securitygroups-ec2.services.k8s.aws.d.ts +173 -0
  27. package/lib/imports/ec2securitygroups-ec2.services.k8s.aws.d.ts.map +1 -0
  28. package/lib/imports/ec2securitygroups-ec2.services.k8s.aws.js +156 -0
  29. package/lib/imports/fieldexports-services.k8s.aws.d.ts +159 -0
  30. package/lib/imports/fieldexports-services.k8s.aws.d.ts.map +1 -0
  31. package/lib/imports/fieldexports-services.k8s.aws.js +151 -0
  32. package/lib/imports/iampolicies-iam.services.k8s.aws.d.ts +135 -0
  33. package/lib/imports/iampolicies-iam.services.k8s.aws.d.ts.map +1 -0
  34. package/lib/imports/iampolicies-iam.services.k8s.aws.js +109 -0
  35. package/lib/imports/iamroles-iam.services.k8s.aws.d.ts +143 -0
  36. package/lib/imports/iamroles-iam.services.k8s.aws.d.ts.map +1 -0
  37. package/lib/imports/iamroles-iam.services.k8s.aws.js +112 -0
  38. package/lib/imports/k8s.d.ts +18619 -0
  39. package/lib/imports/k8s.d.ts.map +1 -0
  40. package/lib/imports/k8s.js +14701 -0
  41. package/lib/imports/lambdaeventsourcemappings-lambda.services.k8s.aws.d.ts +280 -0
  42. package/lib/imports/lambdaeventsourcemappings-lambda.services.k8s.aws.d.ts.map +1 -0
  43. package/lib/imports/lambdaeventsourcemappings-lambda.services.k8s.aws.js +183 -0
  44. package/lib/imports/lambdafunctions-lambda.services.k8s.aws.d.ts +343 -0
  45. package/lib/imports/lambdafunctions-lambda.services.k8s.aws.d.ts.map +1 -0
  46. package/lib/imports/lambdafunctions-lambda.services.k8s.aws.js +225 -0
  47. package/lib/imports/rdsdbinstances-rds.services.k8s.aws.d.ts +790 -0
  48. package/lib/imports/rdsdbinstances-rds.services.k8s.aws.d.ts.map +1 -0
  49. package/lib/imports/rdsdbinstances-rds.services.k8s.aws.js +217 -0
  50. package/lib/imports/rdsdbsubnetgroups-rds.services.k8s.aws.d.ts +114 -0
  51. package/lib/imports/rdsdbsubnetgroups-rds.services.k8s.aws.d.ts.map +1 -0
  52. package/lib/imports/rdsdbsubnetgroups-rds.services.k8s.aws.js +108 -0
  53. package/lib/imports/s3buckets-s3.services.k8s.aws.d.ts +2253 -0
  54. package/lib/imports/s3buckets-s3.services.k8s.aws.d.ts.map +1 -0
  55. package/lib/imports/s3buckets-s3.services.k8s.aws.js +1672 -0
  56. package/lib/imports/sfnmachines-sfn.services.k8s.aws.d.ts +203 -0
  57. package/lib/imports/sfnmachines-sfn.services.k8s.aws.d.ts.map +1 -0
  58. package/lib/imports/sfnmachines-sfn.services.k8s.aws.js +174 -0
  59. package/lib/imports/snstopics-sns.services.k8s.aws.d.ts +106 -0
  60. package/lib/imports/snstopics-sns.services.k8s.aws.d.ts.map +1 -0
  61. package/lib/imports/snstopics-sns.services.k8s.aws.js +110 -0
  62. package/lib/index.d.ts +4 -0
  63. package/lib/index.d.ts.map +1 -0
  64. package/lib/index.js +16 -0
  65. package/lib/mappers/base.d.ts +23 -0
  66. package/lib/mappers/base.d.ts.map +1 -0
  67. package/lib/mappers/base.js +20 -0
  68. package/lib/mappers/ec2-security-group.d.ts +9 -0
  69. package/lib/mappers/ec2-security-group.d.ts.map +1 -0
  70. package/lib/mappers/ec2-security-group.js +33 -0
  71. package/lib/mappers/iam-policy.d.ts +9 -0
  72. package/lib/mappers/iam-policy.d.ts.map +1 -0
  73. package/lib/mappers/iam-policy.js +32 -0
  74. package/lib/mappers/iam-role.d.ts +9 -0
  75. package/lib/mappers/iam-role.d.ts.map +1 -0
  76. package/lib/mappers/iam-role.js +34 -0
  77. package/lib/mappers/index.d.ts +9 -0
  78. package/lib/mappers/index.d.ts.map +1 -0
  79. package/lib/mappers/index.js +21 -0
  80. package/lib/mappers/lambda-function.d.ts +9 -0
  81. package/lib/mappers/lambda-function.d.ts.map +1 -0
  82. package/lib/mappers/lambda-function.js +37 -0
  83. package/lib/mappers/rds-db-instance.d.ts +10 -0
  84. package/lib/mappers/rds-db-instance.d.ts.map +1 -0
  85. package/lib/mappers/rds-db-instance.js +65 -0
  86. package/lib/mappers/rds-db-subnet-group.d.ts +9 -0
  87. package/lib/mappers/rds-db-subnet-group.d.ts.map +1 -0
  88. package/lib/mappers/rds-db-subnet-group.js +34 -0
  89. package/lib/mappers/s3-bucket.d.ts +9 -0
  90. package/lib/mappers/s3-bucket.d.ts.map +1 -0
  91. package/lib/mappers/s3-bucket.js +53 -0
  92. package/package.json +129 -0
  93. package/releasetag.txt +1 -0
  94. package/version.txt +1 -0
package/API.md ADDED
@@ -0,0 +1,2204 @@
1
+ # API Reference <a name="API Reference" id="api-reference"></a>
2
+
3
+ ## Constructs <a name="Constructs" id="Constructs"></a>
4
+
5
+ ### AwsCdkAdapater <a name="AwsCdkAdapater" id="cdk8s-aws-cdk.AwsCdkAdapater"></a>
6
+
7
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.AwsCdkAdapater.Initializer"></a>
8
+
9
+ ```typescript
10
+ import { AwsCdkAdapater } from 'cdk8s-aws-cdk'
11
+
12
+ new AwsCdkAdapater(scope: Construct, id: string, props: AwsCdkAdapterProps)
13
+ ```
14
+
15
+ | **Name** | **Type** | **Description** |
16
+ | --- | --- | --- |
17
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
18
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
19
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.props">props</a></code> | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps">AwsCdkAdapterProps</a></code> | *No description.* |
20
+
21
+ ---
22
+
23
+ ##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.scope"></a>
24
+
25
+ - *Type:* constructs.Construct
26
+
27
+ ---
28
+
29
+ ##### `id`<sup>Required</sup> <a name="id" id="cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.id"></a>
30
+
31
+ - *Type:* string
32
+
33
+ ---
34
+
35
+ ##### `props`<sup>Required</sup> <a name="props" id="cdk8s-aws-cdk.AwsCdkAdapater.Initializer.parameter.props"></a>
36
+
37
+ - *Type:* <a href="#cdk8s-aws-cdk.AwsCdkAdapterProps">AwsCdkAdapterProps</a>
38
+
39
+ ---
40
+
41
+ #### Methods <a name="Methods" id="Methods"></a>
42
+
43
+ | **Name** | **Description** |
44
+ | --- | --- |
45
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.toString">toString</a></code> | Returns a string representation of this construct. |
46
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.addDependency">addDependency</a></code> | Add a dependency between this stack and another stack. |
47
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.addTransform">addTransform</a></code> | Add a Transform to this stack. A Transform is a macro that AWS CloudFormation uses to process your template. |
48
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.exportValue">exportValue</a></code> | Create a CloudFormation Export for a value. |
49
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.formatArn">formatArn</a></code> | Creates an ARN from components. |
50
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.getLogicalId">getLogicalId</a></code> | Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource. |
51
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.regionalFact">regionalFact</a></code> | Look up a fact value for the given fact for the region of this stack. |
52
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.renameLogicalId">renameLogicalId</a></code> | Rename a generated logical identities. |
53
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.reportMissingContextKey">reportMissingContextKey</a></code> | Indicate that a context key was expected. |
54
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.resolve">resolve</a></code> | Resolve a tokenized value in the context of the current stack. |
55
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.splitArn">splitArn</a></code> | Splits the provided ARN into its components. |
56
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.toJsonString">toJsonString</a></code> | Convert an object, potentially containing tokens, to a JSON string. |
57
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.registerMapper">registerMapper</a></code> | Register a mapper that can transform a specific CloudFormation resource type. |
58
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.transformAttributes">transformAttributes</a></code> | Transform CloudFormation attributes into ACK field exports. |
59
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.transformResources">transformResources</a></code> | Transform CloudFormation resources to ACK resources. |
60
+
61
+ ---
62
+
63
+ ##### `toString` <a name="toString" id="cdk8s-aws-cdk.AwsCdkAdapater.toString"></a>
64
+
65
+ ```typescript
66
+ public toString(): string
67
+ ```
68
+
69
+ Returns a string representation of this construct.
70
+
71
+ ##### `addDependency` <a name="addDependency" id="cdk8s-aws-cdk.AwsCdkAdapater.addDependency"></a>
72
+
73
+ ```typescript
74
+ public addDependency(target: Stack, reason?: string): void
75
+ ```
76
+
77
+ Add a dependency between this stack and another stack.
78
+
79
+ This can be used to define dependencies between any two stacks within an
80
+ app, and also supports nested stacks.
81
+
82
+ ###### `target`<sup>Required</sup> <a name="target" id="cdk8s-aws-cdk.AwsCdkAdapater.addDependency.parameter.target"></a>
83
+
84
+ - *Type:* aws-cdk-lib.Stack
85
+
86
+ ---
87
+
88
+ ###### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-aws-cdk.AwsCdkAdapater.addDependency.parameter.reason"></a>
89
+
90
+ - *Type:* string
91
+
92
+ ---
93
+
94
+ ##### `addTransform` <a name="addTransform" id="cdk8s-aws-cdk.AwsCdkAdapater.addTransform"></a>
95
+
96
+ ```typescript
97
+ public addTransform(transform: string): void
98
+ ```
99
+
100
+ Add a Transform to this stack. A Transform is a macro that AWS CloudFormation uses to process your template.
101
+
102
+ Duplicate values are removed when stack is synthesized.
103
+
104
+ > [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html)
105
+
106
+ *Example*
107
+
108
+ ```typescript
109
+ declare const stack: Stack;
110
+
111
+ stack.addTransform('AWS::Serverless-2016-10-31')
112
+ ```
113
+
114
+
115
+ ###### `transform`<sup>Required</sup> <a name="transform" id="cdk8s-aws-cdk.AwsCdkAdapater.addTransform.parameter.transform"></a>
116
+
117
+ - *Type:* string
118
+
119
+ The transform to add.
120
+
121
+ ---
122
+
123
+ ##### `exportValue` <a name="exportValue" id="cdk8s-aws-cdk.AwsCdkAdapater.exportValue"></a>
124
+
125
+ ```typescript
126
+ public exportValue(exportedValue: any, options?: ExportValueOptions): string
127
+ ```
128
+
129
+ Create a CloudFormation Export for a value.
130
+
131
+ Returns a string representing the corresponding `Fn.importValue()`
132
+ expression for this Export. You can control the name for the export by
133
+ passing the `name` option.
134
+
135
+ If you don't supply a value for `name`, the value you're exporting must be
136
+ a Resource attribute (for example: `bucket.bucketName`) and it will be
137
+ given the same name as the automatic cross-stack reference that would be created
138
+ if you used the attribute in another Stack.
139
+
140
+ One of the uses for this method is to *remove* the relationship between
141
+ two Stacks established by automatic cross-stack references. It will
142
+ temporarily ensure that the CloudFormation Export still exists while you
143
+ remove the reference from the consuming stack. After that, you can remove
144
+ the resource and the manual export.
145
+
146
+ ## Example
147
+
148
+ Here is how the process works. Let's say there are two stacks,
149
+ `producerStack` and `consumerStack`, and `producerStack` has a bucket
150
+ called `bucket`, which is referenced by `consumerStack` (perhaps because
151
+ an AWS Lambda Function writes into it, or something like that).
152
+
153
+ It is not safe to remove `producerStack.bucket` because as the bucket is being
154
+ deleted, `consumerStack` might still be using it.
155
+
156
+ Instead, the process takes two deployments:
157
+
158
+ ### Deployment 1: break the relationship
159
+
160
+ - Make sure `consumerStack` no longer references `bucket.bucketName` (maybe the consumer
161
+ stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just
162
+ remove the Lambda Function altogether).
163
+ - In the `ProducerStack` class, call `this.exportValue(this.bucket.bucketName)`. This
164
+ will make sure the CloudFormation Export continues to exist while the relationship
165
+ between the two stacks is being broken.
166
+ - Deploy (this will effectively only change the `consumerStack`, but it's safe to deploy both).
167
+
168
+ ### Deployment 2: remove the bucket resource
169
+
170
+ - You are now free to remove the `bucket` resource from `producerStack`.
171
+ - Don't forget to remove the `exportValue()` call as well.
172
+ - Deploy again (this time only the `producerStack` will be changed -- the bucket will be deleted).
173
+
174
+ ###### `exportedValue`<sup>Required</sup> <a name="exportedValue" id="cdk8s-aws-cdk.AwsCdkAdapater.exportValue.parameter.exportedValue"></a>
175
+
176
+ - *Type:* any
177
+
178
+ ---
179
+
180
+ ###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-aws-cdk.AwsCdkAdapater.exportValue.parameter.options"></a>
181
+
182
+ - *Type:* aws-cdk-lib.ExportValueOptions
183
+
184
+ ---
185
+
186
+ ##### `formatArn` <a name="formatArn" id="cdk8s-aws-cdk.AwsCdkAdapater.formatArn"></a>
187
+
188
+ ```typescript
189
+ public formatArn(components: ArnComponents): string
190
+ ```
191
+
192
+ Creates an ARN from components.
193
+
194
+ If `partition`, `region` or `account` are not specified, the stack's
195
+ partition, region and account will be used.
196
+
197
+ If any component is the empty string, an empty string will be inserted
198
+ into the generated ARN at the location that component corresponds to.
199
+
200
+ The ARN will be formatted as follows:
201
+
202
+ arn:{partition}:{service}:{region}:{account}:{resource}{sep}}{resource-name}
203
+
204
+ The required ARN pieces that are omitted will be taken from the stack that
205
+ the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope
206
+ can be 'undefined'.
207
+
208
+ ###### `components`<sup>Required</sup> <a name="components" id="cdk8s-aws-cdk.AwsCdkAdapater.formatArn.parameter.components"></a>
209
+
210
+ - *Type:* aws-cdk-lib.ArnComponents
211
+
212
+ ---
213
+
214
+ ##### `getLogicalId` <a name="getLogicalId" id="cdk8s-aws-cdk.AwsCdkAdapater.getLogicalId"></a>
215
+
216
+ ```typescript
217
+ public getLogicalId(element: CfnElement): string
218
+ ```
219
+
220
+ Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.
221
+
222
+ This method is called when a `CfnElement` is created and used to render the
223
+ initial logical identity of resources. Logical ID renames are applied at
224
+ this stage.
225
+
226
+ This method uses the protected method `allocateLogicalId` to render the
227
+ logical ID for an element. To modify the naming scheme, extend the `Stack`
228
+ class and override this method.
229
+
230
+ ###### `element`<sup>Required</sup> <a name="element" id="cdk8s-aws-cdk.AwsCdkAdapater.getLogicalId.parameter.element"></a>
231
+
232
+ - *Type:* aws-cdk-lib.CfnElement
233
+
234
+ The CloudFormation element for which a logical identity is needed.
235
+
236
+ ---
237
+
238
+ ##### `regionalFact` <a name="regionalFact" id="cdk8s-aws-cdk.AwsCdkAdapater.regionalFact"></a>
239
+
240
+ ```typescript
241
+ public regionalFact(factName: string, defaultValue?: string): string
242
+ ```
243
+
244
+ Look up a fact value for the given fact for the region of this stack.
245
+
246
+ Will return a definite value only if the region of the current stack is resolved.
247
+ If not, a lookup map will be added to the stack and the lookup will be done at
248
+ CDK deployment time.
249
+
250
+ What regions will be included in the lookup map is controlled by the
251
+ `@aws-cdk/core:target-partitions` context value: it must be set to a list
252
+ of partitions, and only regions from the given partitions will be included.
253
+ If no such context key is set, all regions will be included.
254
+
255
+ This function is intended to be used by construct library authors. Application
256
+ builders can rely on the abstractions offered by construct libraries and do
257
+ not have to worry about regional facts.
258
+
259
+ If `defaultValue` is not given, it is an error if the fact is unknown for
260
+ the given region.
261
+
262
+ ###### `factName`<sup>Required</sup> <a name="factName" id="cdk8s-aws-cdk.AwsCdkAdapater.regionalFact.parameter.factName"></a>
263
+
264
+ - *Type:* string
265
+
266
+ ---
267
+
268
+ ###### `defaultValue`<sup>Optional</sup> <a name="defaultValue" id="cdk8s-aws-cdk.AwsCdkAdapater.regionalFact.parameter.defaultValue"></a>
269
+
270
+ - *Type:* string
271
+
272
+ ---
273
+
274
+ ##### `renameLogicalId` <a name="renameLogicalId" id="cdk8s-aws-cdk.AwsCdkAdapater.renameLogicalId"></a>
275
+
276
+ ```typescript
277
+ public renameLogicalId(oldId: string, newId: string): void
278
+ ```
279
+
280
+ Rename a generated logical identities.
281
+
282
+ To modify the naming scheme strategy, extend the `Stack` class and
283
+ override the `allocateLogicalId` method.
284
+
285
+ ###### `oldId`<sup>Required</sup> <a name="oldId" id="cdk8s-aws-cdk.AwsCdkAdapater.renameLogicalId.parameter.oldId"></a>
286
+
287
+ - *Type:* string
288
+
289
+ ---
290
+
291
+ ###### `newId`<sup>Required</sup> <a name="newId" id="cdk8s-aws-cdk.AwsCdkAdapater.renameLogicalId.parameter.newId"></a>
292
+
293
+ - *Type:* string
294
+
295
+ ---
296
+
297
+ ##### `reportMissingContextKey` <a name="reportMissingContextKey" id="cdk8s-aws-cdk.AwsCdkAdapater.reportMissingContextKey"></a>
298
+
299
+ ```typescript
300
+ public reportMissingContextKey(report: MissingContext): void
301
+ ```
302
+
303
+ Indicate that a context key was expected.
304
+
305
+ Contains instructions which will be emitted into the cloud assembly on how
306
+ the key should be supplied.
307
+
308
+ ###### `report`<sup>Required</sup> <a name="report" id="cdk8s-aws-cdk.AwsCdkAdapater.reportMissingContextKey.parameter.report"></a>
309
+
310
+ - *Type:* aws-cdk-lib.cloud_assembly_schema.MissingContext
311
+
312
+ The set of parameters needed to obtain the context.
313
+
314
+ ---
315
+
316
+ ##### `resolve` <a name="resolve" id="cdk8s-aws-cdk.AwsCdkAdapater.resolve"></a>
317
+
318
+ ```typescript
319
+ public resolve(obj: any): any
320
+ ```
321
+
322
+ Resolve a tokenized value in the context of the current stack.
323
+
324
+ ###### `obj`<sup>Required</sup> <a name="obj" id="cdk8s-aws-cdk.AwsCdkAdapater.resolve.parameter.obj"></a>
325
+
326
+ - *Type:* any
327
+
328
+ ---
329
+
330
+ ##### `splitArn` <a name="splitArn" id="cdk8s-aws-cdk.AwsCdkAdapater.splitArn"></a>
331
+
332
+ ```typescript
333
+ public splitArn(arn: string, arnFormat: ArnFormat): ArnComponents
334
+ ```
335
+
336
+ Splits the provided ARN into its components.
337
+
338
+ Works both if 'arn' is a string like 'arn:aws:s3:::bucket',
339
+ and a Token representing a dynamic CloudFormation expression
340
+ (in which case the returned components will also be dynamic CloudFormation expressions,
341
+ encoded as Tokens).
342
+
343
+ ###### `arn`<sup>Required</sup> <a name="arn" id="cdk8s-aws-cdk.AwsCdkAdapater.splitArn.parameter.arn"></a>
344
+
345
+ - *Type:* string
346
+
347
+ the ARN to split into its components.
348
+
349
+ ---
350
+
351
+ ###### `arnFormat`<sup>Required</sup> <a name="arnFormat" id="cdk8s-aws-cdk.AwsCdkAdapater.splitArn.parameter.arnFormat"></a>
352
+
353
+ - *Type:* aws-cdk-lib.ArnFormat
354
+
355
+ the expected format of 'arn' - depends on what format the service 'arn' represents uses.
356
+
357
+ ---
358
+
359
+ ##### `toJsonString` <a name="toJsonString" id="cdk8s-aws-cdk.AwsCdkAdapater.toJsonString"></a>
360
+
361
+ ```typescript
362
+ public toJsonString(obj: any, space?: number): string
363
+ ```
364
+
365
+ Convert an object, potentially containing tokens, to a JSON string.
366
+
367
+ ###### `obj`<sup>Required</sup> <a name="obj" id="cdk8s-aws-cdk.AwsCdkAdapater.toJsonString.parameter.obj"></a>
368
+
369
+ - *Type:* any
370
+
371
+ ---
372
+
373
+ ###### `space`<sup>Optional</sup> <a name="space" id="cdk8s-aws-cdk.AwsCdkAdapater.toJsonString.parameter.space"></a>
374
+
375
+ - *Type:* number
376
+
377
+ ---
378
+
379
+ ##### `registerMapper` <a name="registerMapper" id="cdk8s-aws-cdk.AwsCdkAdapater.registerMapper"></a>
380
+
381
+ ```typescript
382
+ public registerMapper(mapper: CloudFormationResourceMapper): void
383
+ ```
384
+
385
+ Register a mapper that can transform a specific CloudFormation resource type.
386
+
387
+ ###### `mapper`<sup>Required</sup> <a name="mapper" id="cdk8s-aws-cdk.AwsCdkAdapater.registerMapper.parameter.mapper"></a>
388
+
389
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationResourceMapper">CloudFormationResourceMapper</a>
390
+
391
+ ---
392
+
393
+ ##### `transformAttributes` <a name="transformAttributes" id="cdk8s-aws-cdk.AwsCdkAdapater.transformAttributes"></a>
394
+
395
+ ```typescript
396
+ public transformAttributes(apiObjects: ApiObject[]): void
397
+ ```
398
+
399
+ Transform CloudFormation attributes into ACK field exports.
400
+
401
+ Note that this is only supported for container environment variables,
402
+ as only they allow referencing fields from config maps, which the field exports export to.
403
+
404
+ If an ApiObject contains a CloudFormation attribute in any other definition, it will remain
405
+ as is, it will remain in-place.
406
+
407
+ ###### `apiObjects`<sup>Required</sup> <a name="apiObjects" id="cdk8s-aws-cdk.AwsCdkAdapater.transformAttributes.parameter.apiObjects"></a>
408
+
409
+ - *Type:* cdk8s.ApiObject[]
410
+
411
+ ---
412
+
413
+ ##### `transformResources` <a name="transformResources" id="cdk8s-aws-cdk.AwsCdkAdapater.transformResources"></a>
414
+
415
+ ```typescript
416
+ public transformResources(cfnResources: CfnResource[]): void
417
+ ```
418
+
419
+ Transform CloudFormation resources to ACK resources.
420
+
421
+ ###### `cfnResources`<sup>Required</sup> <a name="cfnResources" id="cdk8s-aws-cdk.AwsCdkAdapater.transformResources.parameter.cfnResources"></a>
422
+
423
+ - *Type:* aws-cdk-lib.CfnResource[]
424
+
425
+ ---
426
+
427
+ #### Static Functions <a name="Static Functions" id="Static Functions"></a>
428
+
429
+ | **Name** | **Description** |
430
+ | --- | --- |
431
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
432
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.isStack">isStack</a></code> | Return whether the given object is a Stack. |
433
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.of">of</a></code> | Looks up the first stack scope in which `construct` is defined. |
434
+
435
+ ---
436
+
437
+ ##### `isConstruct` <a name="isConstruct" id="cdk8s-aws-cdk.AwsCdkAdapater.isConstruct"></a>
438
+
439
+ ```typescript
440
+ import { AwsCdkAdapater } from 'cdk8s-aws-cdk'
441
+
442
+ AwsCdkAdapater.isConstruct(x: any)
443
+ ```
444
+
445
+ Checks if `x` is a construct.
446
+
447
+ Use this method instead of `instanceof` to properly detect `Construct`
448
+ instances, even when the construct library is symlinked.
449
+
450
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
451
+ disk are seen as independent, completely different libraries. As a
452
+ consequence, the class `Construct` in each copy of the `constructs` library
453
+ is seen as a different class, and an instance of one class will not test as
454
+ `instanceof` the other class. `npm install` will not create installations
455
+ like this, but users may manually symlink construct libraries together or
456
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
457
+ library can be accidentally installed, and `instanceof` will behave
458
+ unpredictably. It is safest to avoid using `instanceof`, and using
459
+ this type-testing method instead.
460
+
461
+ ###### `x`<sup>Required</sup> <a name="x" id="cdk8s-aws-cdk.AwsCdkAdapater.isConstruct.parameter.x"></a>
462
+
463
+ - *Type:* any
464
+
465
+ Any object.
466
+
467
+ ---
468
+
469
+ ##### `isStack` <a name="isStack" id="cdk8s-aws-cdk.AwsCdkAdapater.isStack"></a>
470
+
471
+ ```typescript
472
+ import { AwsCdkAdapater } from 'cdk8s-aws-cdk'
473
+
474
+ AwsCdkAdapater.isStack(x: any)
475
+ ```
476
+
477
+ Return whether the given object is a Stack.
478
+
479
+ We do attribute detection since we can't reliably use 'instanceof'.
480
+
481
+ ###### `x`<sup>Required</sup> <a name="x" id="cdk8s-aws-cdk.AwsCdkAdapater.isStack.parameter.x"></a>
482
+
483
+ - *Type:* any
484
+
485
+ ---
486
+
487
+ ##### `of` <a name="of" id="cdk8s-aws-cdk.AwsCdkAdapater.of"></a>
488
+
489
+ ```typescript
490
+ import { AwsCdkAdapater } from 'cdk8s-aws-cdk'
491
+
492
+ AwsCdkAdapater.of(construct: IConstruct)
493
+ ```
494
+
495
+ Looks up the first stack scope in which `construct` is defined.
496
+
497
+ Fails if there is no stack up the tree.
498
+
499
+ ###### `construct`<sup>Required</sup> <a name="construct" id="cdk8s-aws-cdk.AwsCdkAdapater.of.parameter.construct"></a>
500
+
501
+ - *Type:* constructs.IConstruct
502
+
503
+ The construct to start the search from.
504
+
505
+ ---
506
+
507
+ #### Properties <a name="Properties" id="Properties"></a>
508
+
509
+ | **Name** | **Type** | **Description** |
510
+ | --- | --- | --- |
511
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
512
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.account">account</a></code> | <code>string</code> | The AWS account into which this stack will be deployed. |
513
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.artifactId">artifactId</a></code> | <code>string</code> | The ID of the cloud assembly artifact for this stack. |
514
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.availabilityZones">availabilityZones</a></code> | <code>string[]</code> | Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack. |
515
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.bundlingRequired">bundlingRequired</a></code> | <code>boolean</code> | Indicates whether the stack requires bundling or not. |
516
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.dependencies">dependencies</a></code> | <code>aws-cdk-lib.Stack[]</code> | Return the stacks this stack depends on. |
517
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.environment">environment</a></code> | <code>string</code> | The environment coordinates in which this stack is deployed. |
518
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.nested">nested</a></code> | <code>boolean</code> | Indicates if this is a nested stack, in which case `parentStack` will include a reference to it's parent. |
519
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.notificationArns">notificationArns</a></code> | <code>string[]</code> | Returns the list of notification Amazon Resource Names (ARNs) for the current stack. |
520
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.partition">partition</a></code> | <code>string</code> | The partition in which this stack is defined. |
521
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.region">region</a></code> | <code>string</code> | The AWS region into which this stack will be deployed (e.g. `us-west-2`). |
522
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.stackId">stackId</a></code> | <code>string</code> | The ID of the stack. |
523
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.stackName">stackName</a></code> | <code>string</code> | The concrete CloudFormation physical stack name. |
524
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.synthesizer">synthesizer</a></code> | <code>aws-cdk-lib.IStackSynthesizer</code> | Synthesis method for this stack. |
525
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.tags">tags</a></code> | <code>aws-cdk-lib.TagManager</code> | Tags to be applied to the stack. |
526
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.templateFile">templateFile</a></code> | <code>string</code> | The name of the CloudFormation template file emitted to the output directory during synthesis. |
527
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.templateOptions">templateOptions</a></code> | <code>aws-cdk-lib.ITemplateOptions</code> | Options for CloudFormation template (like version, transform, description). |
528
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.urlSuffix">urlSuffix</a></code> | <code>string</code> | The Amazon domain suffix for the region in which this stack is defined. |
529
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.nestedStackParent">nestedStackParent</a></code> | <code>aws-cdk-lib.Stack</code> | If this is a nested stack, returns it's parent stack. |
530
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.nestedStackResource">nestedStackResource</a></code> | <code>aws-cdk-lib.CfnResource</code> | If this is a nested stack, this represents its `AWS::CloudFormation::Stack` resource. |
531
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapater.property.terminationProtection">terminationProtection</a></code> | <code>boolean</code> | Whether termination protection is enabled for this stack. |
532
+
533
+ ---
534
+
535
+ ##### `node`<sup>Required</sup> <a name="node" id="cdk8s-aws-cdk.AwsCdkAdapater.property.node"></a>
536
+
537
+ ```typescript
538
+ public readonly node: Node;
539
+ ```
540
+
541
+ - *Type:* constructs.Node
542
+
543
+ The tree node.
544
+
545
+ ---
546
+
547
+ ##### `account`<sup>Required</sup> <a name="account" id="cdk8s-aws-cdk.AwsCdkAdapater.property.account"></a>
548
+
549
+ ```typescript
550
+ public readonly account: string;
551
+ ```
552
+
553
+ - *Type:* string
554
+
555
+ The AWS account into which this stack will be deployed.
556
+
557
+ This value is resolved according to the following rules:
558
+
559
+ 1. The value provided to `env.account` when the stack is defined. This can
560
+ either be a concerete account (e.g. `585695031111`) or the
561
+ `Aws.accountId` token.
562
+ 3. `Aws.accountId`, which represents the CloudFormation intrinsic reference
563
+ `{ "Ref": "AWS::AccountId" }` encoded as a string token.
564
+
565
+ Preferably, you should use the return value as an opaque string and not
566
+ attempt to parse it to implement your logic. If you do, you must first
567
+ check that it is a concerete value an not an unresolved token. If this
568
+ value is an unresolved token (`Token.isUnresolved(stack.account)` returns
569
+ `true`), this implies that the user wishes that this stack will synthesize
570
+ into a **account-agnostic template**. In this case, your code should either
571
+ fail (throw an error, emit a synth error using `Annotations.of(construct).addError()`) or
572
+ implement some other region-agnostic behavior.
573
+
574
+ ---
575
+
576
+ ##### `artifactId`<sup>Required</sup> <a name="artifactId" id="cdk8s-aws-cdk.AwsCdkAdapater.property.artifactId"></a>
577
+
578
+ ```typescript
579
+ public readonly artifactId: string;
580
+ ```
581
+
582
+ - *Type:* string
583
+
584
+ The ID of the cloud assembly artifact for this stack.
585
+
586
+ ---
587
+
588
+ ##### `availabilityZones`<sup>Required</sup> <a name="availabilityZones" id="cdk8s-aws-cdk.AwsCdkAdapater.property.availabilityZones"></a>
589
+
590
+ ```typescript
591
+ public readonly availabilityZones: string[];
592
+ ```
593
+
594
+ - *Type:* string[]
595
+
596
+ Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.
597
+
598
+ If the stack is environment-agnostic (either account and/or region are
599
+ tokens), this property will return an array with 2 tokens that will resolve
600
+ at deploy-time to the first two availability zones returned from CloudFormation's
601
+ `Fn::GetAZs` intrinsic function.
602
+
603
+ If they are not available in the context, returns a set of dummy values and
604
+ reports them as missing, and let the CLI resolve them by calling EC2
605
+ `DescribeAvailabilityZones` on the target environment.
606
+
607
+ To specify a different strategy for selecting availability zones override this method.
608
+
609
+ ---
610
+
611
+ ##### `bundlingRequired`<sup>Required</sup> <a name="bundlingRequired" id="cdk8s-aws-cdk.AwsCdkAdapater.property.bundlingRequired"></a>
612
+
613
+ ```typescript
614
+ public readonly bundlingRequired: boolean;
615
+ ```
616
+
617
+ - *Type:* boolean
618
+
619
+ Indicates whether the stack requires bundling or not.
620
+
621
+ ---
622
+
623
+ ##### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-aws-cdk.AwsCdkAdapater.property.dependencies"></a>
624
+
625
+ ```typescript
626
+ public readonly dependencies: Stack[];
627
+ ```
628
+
629
+ - *Type:* aws-cdk-lib.Stack[]
630
+
631
+ Return the stacks this stack depends on.
632
+
633
+ ---
634
+
635
+ ##### `environment`<sup>Required</sup> <a name="environment" id="cdk8s-aws-cdk.AwsCdkAdapater.property.environment"></a>
636
+
637
+ ```typescript
638
+ public readonly environment: string;
639
+ ```
640
+
641
+ - *Type:* string
642
+
643
+ The environment coordinates in which this stack is deployed.
644
+
645
+ In the form
646
+ `aws://account/region`. Use `stack.account` and `stack.region` to obtain
647
+ the specific values, no need to parse.
648
+
649
+ You can use this value to determine if two stacks are targeting the same
650
+ environment.
651
+
652
+ If either `stack.account` or `stack.region` are not concrete values (e.g.
653
+ `Aws.account` or `Aws.region`) the special strings `unknown-account` and/or
654
+ `unknown-region` will be used respectively to indicate this stack is
655
+ region/account-agnostic.
656
+
657
+ ---
658
+
659
+ ##### `nested`<sup>Required</sup> <a name="nested" id="cdk8s-aws-cdk.AwsCdkAdapater.property.nested"></a>
660
+
661
+ ```typescript
662
+ public readonly nested: boolean;
663
+ ```
664
+
665
+ - *Type:* boolean
666
+
667
+ Indicates if this is a nested stack, in which case `parentStack` will include a reference to it's parent.
668
+
669
+ ---
670
+
671
+ ##### `notificationArns`<sup>Required</sup> <a name="notificationArns" id="cdk8s-aws-cdk.AwsCdkAdapater.property.notificationArns"></a>
672
+
673
+ ```typescript
674
+ public readonly notificationArns: string[];
675
+ ```
676
+
677
+ - *Type:* string[]
678
+
679
+ Returns the list of notification Amazon Resource Names (ARNs) for the current stack.
680
+
681
+ ---
682
+
683
+ ##### `partition`<sup>Required</sup> <a name="partition" id="cdk8s-aws-cdk.AwsCdkAdapater.property.partition"></a>
684
+
685
+ ```typescript
686
+ public readonly partition: string;
687
+ ```
688
+
689
+ - *Type:* string
690
+
691
+ The partition in which this stack is defined.
692
+
693
+ ---
694
+
695
+ ##### `region`<sup>Required</sup> <a name="region" id="cdk8s-aws-cdk.AwsCdkAdapater.property.region"></a>
696
+
697
+ ```typescript
698
+ public readonly region: string;
699
+ ```
700
+
701
+ - *Type:* string
702
+
703
+ The AWS region into which this stack will be deployed (e.g. `us-west-2`).
704
+
705
+ This value is resolved according to the following rules:
706
+
707
+ 1. The value provided to `env.region` when the stack is defined. This can
708
+ either be a concerete region (e.g. `us-west-2`) or the `Aws.region`
709
+ token.
710
+ 3. `Aws.region`, which is represents the CloudFormation intrinsic reference
711
+ `{ "Ref": "AWS::Region" }` encoded as a string token.
712
+
713
+ Preferably, you should use the return value as an opaque string and not
714
+ attempt to parse it to implement your logic. If you do, you must first
715
+ check that it is a concerete value an not an unresolved token. If this
716
+ value is an unresolved token (`Token.isUnresolved(stack.region)` returns
717
+ `true`), this implies that the user wishes that this stack will synthesize
718
+ into a **region-agnostic template**. In this case, your code should either
719
+ fail (throw an error, emit a synth error using `Annotations.of(construct).addError()`) or
720
+ implement some other region-agnostic behavior.
721
+
722
+ ---
723
+
724
+ ##### `stackId`<sup>Required</sup> <a name="stackId" id="cdk8s-aws-cdk.AwsCdkAdapater.property.stackId"></a>
725
+
726
+ ```typescript
727
+ public readonly stackId: string;
728
+ ```
729
+
730
+ - *Type:* string
731
+
732
+ The ID of the stack.
733
+
734
+ ---
735
+
736
+ *Example*
737
+
738
+ ```typescript
739
+ // After resolving, looks like
740
+ 'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123'
741
+ ```
742
+
743
+
744
+ ##### `stackName`<sup>Required</sup> <a name="stackName" id="cdk8s-aws-cdk.AwsCdkAdapater.property.stackName"></a>
745
+
746
+ ```typescript
747
+ public readonly stackName: string;
748
+ ```
749
+
750
+ - *Type:* string
751
+
752
+ The concrete CloudFormation physical stack name.
753
+
754
+ This is either the name defined explicitly in the `stackName` prop or
755
+ allocated based on the stack's location in the construct tree. Stacks that
756
+ are directly defined under the app use their construct `id` as their stack
757
+ name. Stacks that are defined deeper within the tree will use a hashed naming
758
+ scheme based on the construct path to ensure uniqueness.
759
+
760
+ If you wish to obtain the deploy-time AWS::StackName intrinsic,
761
+ you can use `Aws.stackName` directly.
762
+
763
+ ---
764
+
765
+ ##### `synthesizer`<sup>Required</sup> <a name="synthesizer" id="cdk8s-aws-cdk.AwsCdkAdapater.property.synthesizer"></a>
766
+
767
+ ```typescript
768
+ public readonly synthesizer: IStackSynthesizer;
769
+ ```
770
+
771
+ - *Type:* aws-cdk-lib.IStackSynthesizer
772
+
773
+ Synthesis method for this stack.
774
+
775
+ ---
776
+
777
+ ##### `tags`<sup>Required</sup> <a name="tags" id="cdk8s-aws-cdk.AwsCdkAdapater.property.tags"></a>
778
+
779
+ ```typescript
780
+ public readonly tags: TagManager;
781
+ ```
782
+
783
+ - *Type:* aws-cdk-lib.TagManager
784
+
785
+ Tags to be applied to the stack.
786
+
787
+ ---
788
+
789
+ ##### `templateFile`<sup>Required</sup> <a name="templateFile" id="cdk8s-aws-cdk.AwsCdkAdapater.property.templateFile"></a>
790
+
791
+ ```typescript
792
+ public readonly templateFile: string;
793
+ ```
794
+
795
+ - *Type:* string
796
+
797
+ The name of the CloudFormation template file emitted to the output directory during synthesis.
798
+
799
+ Example value: `MyStack.template.json`
800
+
801
+ ---
802
+
803
+ ##### `templateOptions`<sup>Required</sup> <a name="templateOptions" id="cdk8s-aws-cdk.AwsCdkAdapater.property.templateOptions"></a>
804
+
805
+ ```typescript
806
+ public readonly templateOptions: ITemplateOptions;
807
+ ```
808
+
809
+ - *Type:* aws-cdk-lib.ITemplateOptions
810
+
811
+ Options for CloudFormation template (like version, transform, description).
812
+
813
+ ---
814
+
815
+ ##### `urlSuffix`<sup>Required</sup> <a name="urlSuffix" id="cdk8s-aws-cdk.AwsCdkAdapater.property.urlSuffix"></a>
816
+
817
+ ```typescript
818
+ public readonly urlSuffix: string;
819
+ ```
820
+
821
+ - *Type:* string
822
+
823
+ The Amazon domain suffix for the region in which this stack is defined.
824
+
825
+ ---
826
+
827
+ ##### `nestedStackParent`<sup>Optional</sup> <a name="nestedStackParent" id="cdk8s-aws-cdk.AwsCdkAdapater.property.nestedStackParent"></a>
828
+
829
+ ```typescript
830
+ public readonly nestedStackParent: Stack;
831
+ ```
832
+
833
+ - *Type:* aws-cdk-lib.Stack
834
+
835
+ If this is a nested stack, returns it's parent stack.
836
+
837
+ ---
838
+
839
+ ##### `nestedStackResource`<sup>Optional</sup> <a name="nestedStackResource" id="cdk8s-aws-cdk.AwsCdkAdapater.property.nestedStackResource"></a>
840
+
841
+ ```typescript
842
+ public readonly nestedStackResource: CfnResource;
843
+ ```
844
+
845
+ - *Type:* aws-cdk-lib.CfnResource
846
+
847
+ If this is a nested stack, this represents its `AWS::CloudFormation::Stack` resource.
848
+
849
+ `undefined` for top-level (non-nested) stacks.
850
+
851
+ ---
852
+
853
+ ##### `terminationProtection`<sup>Optional</sup> <a name="terminationProtection" id="cdk8s-aws-cdk.AwsCdkAdapater.property.terminationProtection"></a>
854
+
855
+ ```typescript
856
+ public readonly terminationProtection: boolean;
857
+ ```
858
+
859
+ - *Type:* boolean
860
+
861
+ Whether termination protection is enabled for this stack.
862
+
863
+ ---
864
+
865
+
866
+ ### Chart <a name="Chart" id="cdk8s-aws-cdk.Chart"></a>
867
+
868
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.Chart.Initializer"></a>
869
+
870
+ ```typescript
871
+ import { Chart } from 'cdk8s-aws-cdk'
872
+
873
+ new Chart(scope: Construct, id: string, props?: ChartProps)
874
+ ```
875
+
876
+ | **Name** | **Type** | **Description** |
877
+ | --- | --- | --- |
878
+ | <code><a href="#cdk8s-aws-cdk.Chart.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
879
+ | <code><a href="#cdk8s-aws-cdk.Chart.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
880
+ | <code><a href="#cdk8s-aws-cdk.Chart.Initializer.parameter.props">props</a></code> | <code>cdk8s.ChartProps</code> | *No description.* |
881
+
882
+ ---
883
+
884
+ ##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-aws-cdk.Chart.Initializer.parameter.scope"></a>
885
+
886
+ - *Type:* constructs.Construct
887
+
888
+ ---
889
+
890
+ ##### `id`<sup>Required</sup> <a name="id" id="cdk8s-aws-cdk.Chart.Initializer.parameter.id"></a>
891
+
892
+ - *Type:* string
893
+
894
+ ---
895
+
896
+ ##### `props`<sup>Optional</sup> <a name="props" id="cdk8s-aws-cdk.Chart.Initializer.parameter.props"></a>
897
+
898
+ - *Type:* cdk8s.ChartProps
899
+
900
+ ---
901
+
902
+ #### Methods <a name="Methods" id="Methods"></a>
903
+
904
+ | **Name** | **Description** |
905
+ | --- | --- |
906
+ | <code><a href="#cdk8s-aws-cdk.Chart.toString">toString</a></code> | Returns a string representation of this construct. |
907
+ | <code><a href="#cdk8s-aws-cdk.Chart.addDependency">addDependency</a></code> | Create a dependency between this Chart and other constructs. |
908
+ | <code><a href="#cdk8s-aws-cdk.Chart.generateObjectName">generateObjectName</a></code> | Generates a app-unique name for an object given it's construct node path. |
909
+ | <code><a href="#cdk8s-aws-cdk.Chart.toJson">toJson</a></code> | Renders this chart to a set of Kubernetes JSON resources. |
910
+
911
+ ---
912
+
913
+ ##### `toString` <a name="toString" id="cdk8s-aws-cdk.Chart.toString"></a>
914
+
915
+ ```typescript
916
+ public toString(): string
917
+ ```
918
+
919
+ Returns a string representation of this construct.
920
+
921
+ ##### `addDependency` <a name="addDependency" id="cdk8s-aws-cdk.Chart.addDependency"></a>
922
+
923
+ ```typescript
924
+ public addDependency(dependencies: IConstruct): void
925
+ ```
926
+
927
+ Create a dependency between this Chart and other constructs.
928
+
929
+ These can be other ApiObjects, Charts, or custom.
930
+
931
+ ###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-aws-cdk.Chart.addDependency.parameter.dependencies"></a>
932
+
933
+ - *Type:* constructs.IConstruct
934
+
935
+ the dependencies to add.
936
+
937
+ ---
938
+
939
+ ##### `generateObjectName` <a name="generateObjectName" id="cdk8s-aws-cdk.Chart.generateObjectName"></a>
940
+
941
+ ```typescript
942
+ public generateObjectName(apiObject: ApiObject): string
943
+ ```
944
+
945
+ Generates a app-unique name for an object given it's construct node path.
946
+
947
+ Different resource types may have different constraints on names
948
+ (`metadata.name`). The previous version of the name generator was
949
+ compatible with DNS_SUBDOMAIN but not with DNS_LABEL.
950
+
951
+ For example, `Deployment` names must comply with DNS_SUBDOMAIN while
952
+ `Service` names must comply with DNS_LABEL.
953
+
954
+ Since there is no formal specification for this, the default name
955
+ generation scheme for kubernetes objects in cdk8s was changed to DNS_LABEL,
956
+ since it’s the common denominator for all kubernetes resources
957
+ (supposedly).
958
+
959
+ You can override this method if you wish to customize object names at the
960
+ chart level.
961
+
962
+ ###### `apiObject`<sup>Required</sup> <a name="apiObject" id="cdk8s-aws-cdk.Chart.generateObjectName.parameter.apiObject"></a>
963
+
964
+ - *Type:* cdk8s.ApiObject
965
+
966
+ The API object to generate a name for.
967
+
968
+ ---
969
+
970
+ ##### `toJson` <a name="toJson" id="cdk8s-aws-cdk.Chart.toJson"></a>
971
+
972
+ ```typescript
973
+ public toJson(): any[]
974
+ ```
975
+
976
+ Renders this chart to a set of Kubernetes JSON resources.
977
+
978
+ #### Static Functions <a name="Static Functions" id="Static Functions"></a>
979
+
980
+ | **Name** | **Description** |
981
+ | --- | --- |
982
+ | <code><a href="#cdk8s-aws-cdk.Chart.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
983
+ | <code><a href="#cdk8s-aws-cdk.Chart.isChart">isChart</a></code> | Return whether the given object is a Chart. |
984
+ | <code><a href="#cdk8s-aws-cdk.Chart.of">of</a></code> | Finds the chart in which a node is defined. |
985
+
986
+ ---
987
+
988
+ ##### `isConstruct` <a name="isConstruct" id="cdk8s-aws-cdk.Chart.isConstruct"></a>
989
+
990
+ ```typescript
991
+ import { Chart } from 'cdk8s-aws-cdk'
992
+
993
+ Chart.isConstruct(x: any)
994
+ ```
995
+
996
+ Checks if `x` is a construct.
997
+
998
+ Use this method instead of `instanceof` to properly detect `Construct`
999
+ instances, even when the construct library is symlinked.
1000
+
1001
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
1002
+ disk are seen as independent, completely different libraries. As a
1003
+ consequence, the class `Construct` in each copy of the `constructs` library
1004
+ is seen as a different class, and an instance of one class will not test as
1005
+ `instanceof` the other class. `npm install` will not create installations
1006
+ like this, but users may manually symlink construct libraries together or
1007
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
1008
+ library can be accidentally installed, and `instanceof` will behave
1009
+ unpredictably. It is safest to avoid using `instanceof`, and using
1010
+ this type-testing method instead.
1011
+
1012
+ ###### `x`<sup>Required</sup> <a name="x" id="cdk8s-aws-cdk.Chart.isConstruct.parameter.x"></a>
1013
+
1014
+ - *Type:* any
1015
+
1016
+ Any object.
1017
+
1018
+ ---
1019
+
1020
+ ##### `isChart` <a name="isChart" id="cdk8s-aws-cdk.Chart.isChart"></a>
1021
+
1022
+ ```typescript
1023
+ import { Chart } from 'cdk8s-aws-cdk'
1024
+
1025
+ Chart.isChart(x: any)
1026
+ ```
1027
+
1028
+ Return whether the given object is a Chart.
1029
+
1030
+ We do attribute detection since we can't reliably use 'instanceof'.
1031
+
1032
+ ###### `x`<sup>Required</sup> <a name="x" id="cdk8s-aws-cdk.Chart.isChart.parameter.x"></a>
1033
+
1034
+ - *Type:* any
1035
+
1036
+ ---
1037
+
1038
+ ##### `of` <a name="of" id="cdk8s-aws-cdk.Chart.of"></a>
1039
+
1040
+ ```typescript
1041
+ import { Chart } from 'cdk8s-aws-cdk'
1042
+
1043
+ Chart.of(c: IConstruct)
1044
+ ```
1045
+
1046
+ Finds the chart in which a node is defined.
1047
+
1048
+ ###### `c`<sup>Required</sup> <a name="c" id="cdk8s-aws-cdk.Chart.of.parameter.c"></a>
1049
+
1050
+ - *Type:* constructs.IConstruct
1051
+
1052
+ a construct node.
1053
+
1054
+ ---
1055
+
1056
+ #### Properties <a name="Properties" id="Properties"></a>
1057
+
1058
+ | **Name** | **Type** | **Description** |
1059
+ | --- | --- | --- |
1060
+ | <code><a href="#cdk8s-aws-cdk.Chart.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
1061
+ | <code><a href="#cdk8s-aws-cdk.Chart.property.labels">labels</a></code> | <code>{[ key: string ]: string}</code> | Labels applied to all resources in this chart. |
1062
+ | <code><a href="#cdk8s-aws-cdk.Chart.property.namespace">namespace</a></code> | <code>string</code> | The default namespace for all objects in this chart. |
1063
+
1064
+ ---
1065
+
1066
+ ##### `node`<sup>Required</sup> <a name="node" id="cdk8s-aws-cdk.Chart.property.node"></a>
1067
+
1068
+ ```typescript
1069
+ public readonly node: Node;
1070
+ ```
1071
+
1072
+ - *Type:* constructs.Node
1073
+
1074
+ The tree node.
1075
+
1076
+ ---
1077
+
1078
+ ##### `labels`<sup>Required</sup> <a name="labels" id="cdk8s-aws-cdk.Chart.property.labels"></a>
1079
+
1080
+ ```typescript
1081
+ public readonly labels: {[ key: string ]: string};
1082
+ ```
1083
+
1084
+ - *Type:* {[ key: string ]: string}
1085
+
1086
+ Labels applied to all resources in this chart.
1087
+
1088
+ This is an immutable copy.
1089
+
1090
+ ---
1091
+
1092
+ ##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-aws-cdk.Chart.property.namespace"></a>
1093
+
1094
+ ```typescript
1095
+ public readonly namespace: string;
1096
+ ```
1097
+
1098
+ - *Type:* string
1099
+
1100
+ The default namespace for all objects in this chart.
1101
+
1102
+ ---
1103
+
1104
+
1105
+ ## Structs <a name="Structs" id="Structs"></a>
1106
+
1107
+ ### AwsCdkAdapterProps <a name="AwsCdkAdapterProps" id="cdk8s-aws-cdk.AwsCdkAdapterProps"></a>
1108
+
1109
+ #### Initializer <a name="Initializer" id="cdk8s-aws-cdk.AwsCdkAdapterProps.Initializer"></a>
1110
+
1111
+ ```typescript
1112
+ import { AwsCdkAdapterProps } from 'cdk8s-aws-cdk'
1113
+
1114
+ const awsCdkAdapterProps: AwsCdkAdapterProps = { ... }
1115
+ ```
1116
+
1117
+ #### Properties <a name="Properties" id="Properties"></a>
1118
+
1119
+ | **Name** | **Type** | **Description** |
1120
+ | --- | --- | --- |
1121
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.analyticsReporting">analyticsReporting</a></code> | <code>boolean</code> | Include runtime versioning information in this Stack. |
1122
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.description">description</a></code> | <code>string</code> | A description of the stack. |
1123
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.env">env</a></code> | <code>aws-cdk-lib.Environment</code> | The AWS environment (account/region) where this stack will be deployed. |
1124
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.stackName">stackName</a></code> | <code>string</code> | Name to deploy the stack with. |
1125
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.synthesizer">synthesizer</a></code> | <code>aws-cdk-lib.IStackSynthesizer</code> | Synthesis method to use while deploying this stack. |
1126
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.tags">tags</a></code> | <code>{[ key: string ]: string}</code> | Stack tags that will be applied to all the taggable resources and the stack itself. |
1127
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.terminationProtection">terminationProtection</a></code> | <code>boolean</code> | Whether to enable termination protection for this stack. |
1128
+ | <code><a href="#cdk8s-aws-cdk.AwsCdkAdapterProps.property.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1129
+
1130
+ ---
1131
+
1132
+ ##### `analyticsReporting`<sup>Optional</sup> <a name="analyticsReporting" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.analyticsReporting"></a>
1133
+
1134
+ ```typescript
1135
+ public readonly analyticsReporting: boolean;
1136
+ ```
1137
+
1138
+ - *Type:* boolean
1139
+ - *Default:* `analyticsReporting` setting of containing `App`, or value of 'aws:cdk:version-reporting' context key
1140
+
1141
+ Include runtime versioning information in this Stack.
1142
+
1143
+ ---
1144
+
1145
+ ##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.description"></a>
1146
+
1147
+ ```typescript
1148
+ public readonly description: string;
1149
+ ```
1150
+
1151
+ - *Type:* string
1152
+ - *Default:* No description.
1153
+
1154
+ A description of the stack.
1155
+
1156
+ ---
1157
+
1158
+ ##### `env`<sup>Optional</sup> <a name="env" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.env"></a>
1159
+
1160
+ ```typescript
1161
+ public readonly env: Environment;
1162
+ ```
1163
+
1164
+ - *Type:* aws-cdk-lib.Environment
1165
+ - *Default:* The environment of the containing `Stage` if available, otherwise create the stack will be environment-agnostic.
1166
+
1167
+ The AWS environment (account/region) where this stack will be deployed.
1168
+
1169
+ Set the `region`/`account` fields of `env` to either a concrete value to
1170
+ select the indicated environment (recommended for production stacks), or to
1171
+ the values of environment variables
1172
+ `CDK_DEFAULT_REGION`/`CDK_DEFAULT_ACCOUNT` to let the target environment
1173
+ depend on the AWS credentials/configuration that the CDK CLI is executed
1174
+ under (recommended for development stacks).
1175
+
1176
+ If the `Stack` is instantiated inside a `Stage`, any undefined
1177
+ `region`/`account` fields from `env` will default to the same field on the
1178
+ encompassing `Stage`, if configured there.
1179
+
1180
+ If either `region` or `account` are not set nor inherited from `Stage`, the
1181
+ Stack will be considered "*environment-agnostic*"". Environment-agnostic
1182
+ stacks can be deployed to any environment but may not be able to take
1183
+ advantage of all features of the CDK. For example, they will not be able to
1184
+ use environmental context lookups such as `ec2.Vpc.fromLookup` and will not
1185
+ automatically translate Service Principals to the right format based on the
1186
+ environment's AWS partition, and other such enhancements.
1187
+
1188
+ ---
1189
+
1190
+ *Example*
1191
+
1192
+ ```typescript
1193
+ // Use a concrete account and region to deploy this stack to:
1194
+ // `.account` and `.region` will simply return these values.
1195
+ new Stack(app, 'Stack1', {
1196
+ env: {
1197
+ account: '123456789012',
1198
+ region: 'us-east-1'
1199
+ },
1200
+ });
1201
+
1202
+ // Use the CLI's current credentials to determine the target environment:
1203
+ // `.account` and `.region` will reflect the account+region the CLI
1204
+ // is configured to use (based on the user CLI credentials)
1205
+ new Stack(app, 'Stack2', {
1206
+ env: {
1207
+ account: process.env.CDK_DEFAULT_ACCOUNT,
1208
+ region: process.env.CDK_DEFAULT_REGION
1209
+ },
1210
+ });
1211
+
1212
+ // Define multiple stacks stage associated with an environment
1213
+ const myStage = new Stage(app, 'MyStage', {
1214
+ env: {
1215
+ account: '123456789012',
1216
+ region: 'us-east-1'
1217
+ }
1218
+ });
1219
+
1220
+ // both of these stacks will use the stage's account/region:
1221
+ // `.account` and `.region` will resolve to the concrete values as above
1222
+ new MyStack(myStage, 'Stack1');
1223
+ new YourStack(myStage, 'Stack2');
1224
+
1225
+ // Define an environment-agnostic stack:
1226
+ // `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.
1227
+ // which will only resolve to actual values by CloudFormation during deployment.
1228
+ new MyStack(app, 'Stack1');
1229
+ ```
1230
+
1231
+
1232
+ ##### `stackName`<sup>Optional</sup> <a name="stackName" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.stackName"></a>
1233
+
1234
+ ```typescript
1235
+ public readonly stackName: string;
1236
+ ```
1237
+
1238
+ - *Type:* string
1239
+ - *Default:* Derived from construct path.
1240
+
1241
+ Name to deploy the stack with.
1242
+
1243
+ ---
1244
+
1245
+ ##### `synthesizer`<sup>Optional</sup> <a name="synthesizer" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.synthesizer"></a>
1246
+
1247
+ ```typescript
1248
+ public readonly synthesizer: IStackSynthesizer;
1249
+ ```
1250
+
1251
+ - *Type:* aws-cdk-lib.IStackSynthesizer
1252
+ - *Default:* `DefaultStackSynthesizer` if the `@aws-cdk/core:newStyleStackSynthesis` feature flag is set, `LegacyStackSynthesizer` otherwise.
1253
+
1254
+ Synthesis method to use while deploying this stack.
1255
+
1256
+ ---
1257
+
1258
+ ##### `tags`<sup>Optional</sup> <a name="tags" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.tags"></a>
1259
+
1260
+ ```typescript
1261
+ public readonly tags: {[ key: string ]: string};
1262
+ ```
1263
+
1264
+ - *Type:* {[ key: string ]: string}
1265
+ - *Default:* {}
1266
+
1267
+ Stack tags that will be applied to all the taggable resources and the stack itself.
1268
+
1269
+ ---
1270
+
1271
+ ##### `terminationProtection`<sup>Optional</sup> <a name="terminationProtection" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.terminationProtection"></a>
1272
+
1273
+ ```typescript
1274
+ public readonly terminationProtection: boolean;
1275
+ ```
1276
+
1277
+ - *Type:* boolean
1278
+ - *Default:* false
1279
+
1280
+ Whether to enable termination protection for this stack.
1281
+
1282
+ ---
1283
+
1284
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.AwsCdkAdapterProps.property.chart"></a>
1285
+
1286
+ ```typescript
1287
+ public readonly chart: Chart;
1288
+ ```
1289
+
1290
+ - *Type:* cdk8s.Chart
1291
+
1292
+ ---
1293
+
1294
+ ### CloudFormationMapperExportMapping <a name="CloudFormationMapperExportMapping" id="cdk8s-aws-cdk.CloudFormationMapperExportMapping"></a>
1295
+
1296
+ #### Initializer <a name="Initializer" id="cdk8s-aws-cdk.CloudFormationMapperExportMapping.Initializer"></a>
1297
+
1298
+ ```typescript
1299
+ import { CloudFormationMapperExportMapping } from 'cdk8s-aws-cdk'
1300
+
1301
+ const cloudFormationMapperExportMapping: CloudFormationMapperExportMapping = { ... }
1302
+ ```
1303
+
1304
+ #### Properties <a name="Properties" id="Properties"></a>
1305
+
1306
+ | **Name** | **Type** | **Description** |
1307
+ | --- | --- | --- |
1308
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping.property.attribute">attribute</a></code> | <code>string</code> | *No description.* |
1309
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping.property.field">field</a></code> | <code>string</code> | *No description.* |
1310
+
1311
+ ---
1312
+
1313
+ ##### `attribute`<sup>Required</sup> <a name="attribute" id="cdk8s-aws-cdk.CloudFormationMapperExportMapping.property.attribute"></a>
1314
+
1315
+ ```typescript
1316
+ public readonly attribute: string;
1317
+ ```
1318
+
1319
+ - *Type:* string
1320
+
1321
+ ---
1322
+
1323
+ ##### `field`<sup>Required</sup> <a name="field" id="cdk8s-aws-cdk.CloudFormationMapperExportMapping.property.field"></a>
1324
+
1325
+ ```typescript
1326
+ public readonly field: string;
1327
+ ```
1328
+
1329
+ - *Type:* string
1330
+
1331
+ ---
1332
+
1333
+ ### CloudFormationMapperNameMapping <a name="CloudFormationMapperNameMapping" id="cdk8s-aws-cdk.CloudFormationMapperNameMapping"></a>
1334
+
1335
+ #### Initializer <a name="Initializer" id="cdk8s-aws-cdk.CloudFormationMapperNameMapping.Initializer"></a>
1336
+
1337
+ ```typescript
1338
+ import { CloudFormationMapperNameMapping } from 'cdk8s-aws-cdk'
1339
+
1340
+ const cloudFormationMapperNameMapping: CloudFormationMapperNameMapping = { ... }
1341
+ ```
1342
+
1343
+ #### Properties <a name="Properties" id="Properties"></a>
1344
+
1345
+ | **Name** | **Type** | **Description** |
1346
+ | --- | --- | --- |
1347
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping.property.cfnProperty">cfnProperty</a></code> | <code>string</code> | *No description.* |
1348
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping.property.specPath">specPath</a></code> | <code>string</code> | *No description.* |
1349
+
1350
+ ---
1351
+
1352
+ ##### `cfnProperty`<sup>Required</sup> <a name="cfnProperty" id="cdk8s-aws-cdk.CloudFormationMapperNameMapping.property.cfnProperty"></a>
1353
+
1354
+ ```typescript
1355
+ public readonly cfnProperty: string;
1356
+ ```
1357
+
1358
+ - *Type:* string
1359
+
1360
+ ---
1361
+
1362
+ ##### `specPath`<sup>Required</sup> <a name="specPath" id="cdk8s-aws-cdk.CloudFormationMapperNameMapping.property.specPath"></a>
1363
+
1364
+ ```typescript
1365
+ public readonly specPath: string;
1366
+ ```
1367
+
1368
+ - *Type:* string
1369
+
1370
+ ---
1371
+
1372
+ ## Classes <a name="Classes" id="Classes"></a>
1373
+
1374
+ ### CloudFormationResourceMapper <a name="CloudFormationResourceMapper" id="cdk8s-aws-cdk.CloudFormationResourceMapper"></a>
1375
+
1376
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.CloudFormationResourceMapper.Initializer"></a>
1377
+
1378
+ ```typescript
1379
+ import { CloudFormationResourceMapper } from 'cdk8s-aws-cdk'
1380
+
1381
+ new CloudFormationResourceMapper(chart: Chart)
1382
+ ```
1383
+
1384
+ | **Name** | **Type** | **Description** |
1385
+ | --- | --- | --- |
1386
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1387
+
1388
+ ---
1389
+
1390
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.CloudFormationResourceMapper.Initializer.parameter.chart"></a>
1391
+
1392
+ - *Type:* cdk8s.Chart
1393
+
1394
+ ---
1395
+
1396
+ #### Methods <a name="Methods" id="Methods"></a>
1397
+
1398
+ | **Name** | **Description** |
1399
+ | --- | --- |
1400
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.map">map</a></code> | *No description.* |
1401
+
1402
+ ---
1403
+
1404
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.CloudFormationResourceMapper.map"></a>
1405
+
1406
+ ```typescript
1407
+ public map(logicalId: string, cfnProperties: any): ApiObject
1408
+ ```
1409
+
1410
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.CloudFormationResourceMapper.map.parameter.logicalId"></a>
1411
+
1412
+ - *Type:* string
1413
+
1414
+ ---
1415
+
1416
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.CloudFormationResourceMapper.map.parameter.cfnProperties"></a>
1417
+
1418
+ - *Type:* any
1419
+
1420
+ ---
1421
+
1422
+
1423
+ #### Properties <a name="Properties" id="Properties"></a>
1424
+
1425
+ | **Name** | **Type** | **Description** |
1426
+ | --- | --- | --- |
1427
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1428
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1429
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1430
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationResourceMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1431
+
1432
+ ---
1433
+
1434
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.CloudFormationResourceMapper.property.exportMappings"></a>
1435
+
1436
+ ```typescript
1437
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1438
+ ```
1439
+
1440
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1441
+
1442
+ ---
1443
+
1444
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.CloudFormationResourceMapper.property.nameMapping"></a>
1445
+
1446
+ ```typescript
1447
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1448
+ ```
1449
+
1450
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1451
+
1452
+ ---
1453
+
1454
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.CloudFormationResourceMapper.property.refMapping"></a>
1455
+
1456
+ ```typescript
1457
+ public readonly refMapping: CloudFormationMapperRefMapping;
1458
+ ```
1459
+
1460
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1461
+
1462
+ ---
1463
+
1464
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.CloudFormationResourceMapper.property.type"></a>
1465
+
1466
+ ```typescript
1467
+ public readonly type: string;
1468
+ ```
1469
+
1470
+ - *Type:* string
1471
+
1472
+ ---
1473
+
1474
+
1475
+ ### Ec2SecurityGroupMapper <a name="Ec2SecurityGroupMapper" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper"></a>
1476
+
1477
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.Initializer"></a>
1478
+
1479
+ ```typescript
1480
+ import { Ec2SecurityGroupMapper } from 'cdk8s-aws-cdk'
1481
+
1482
+ new Ec2SecurityGroupMapper(chart: Chart)
1483
+ ```
1484
+
1485
+ | **Name** | **Type** | **Description** |
1486
+ | --- | --- | --- |
1487
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1488
+
1489
+ ---
1490
+
1491
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.Initializer.parameter.chart"></a>
1492
+
1493
+ - *Type:* cdk8s.Chart
1494
+
1495
+ ---
1496
+
1497
+ #### Methods <a name="Methods" id="Methods"></a>
1498
+
1499
+ | **Name** | **Description** |
1500
+ | --- | --- |
1501
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.map">map</a></code> | *No description.* |
1502
+
1503
+ ---
1504
+
1505
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.map"></a>
1506
+
1507
+ ```typescript
1508
+ public map(logicalId: string, cfnProperties: any): ApiObject
1509
+ ```
1510
+
1511
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.map.parameter.logicalId"></a>
1512
+
1513
+ - *Type:* string
1514
+
1515
+ ---
1516
+
1517
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.map.parameter.cfnProperties"></a>
1518
+
1519
+ - *Type:* any
1520
+
1521
+ ---
1522
+
1523
+
1524
+ #### Properties <a name="Properties" id="Properties"></a>
1525
+
1526
+ | **Name** | **Type** | **Description** |
1527
+ | --- | --- | --- |
1528
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1529
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1530
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1531
+ | <code><a href="#cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1532
+
1533
+ ---
1534
+
1535
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.exportMappings"></a>
1536
+
1537
+ ```typescript
1538
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1539
+ ```
1540
+
1541
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1542
+
1543
+ ---
1544
+
1545
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.nameMapping"></a>
1546
+
1547
+ ```typescript
1548
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1549
+ ```
1550
+
1551
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1552
+
1553
+ ---
1554
+
1555
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.refMapping"></a>
1556
+
1557
+ ```typescript
1558
+ public readonly refMapping: CloudFormationMapperRefMapping;
1559
+ ```
1560
+
1561
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1562
+
1563
+ ---
1564
+
1565
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.Ec2SecurityGroupMapper.property.type"></a>
1566
+
1567
+ ```typescript
1568
+ public readonly type: string;
1569
+ ```
1570
+
1571
+ - *Type:* string
1572
+
1573
+ ---
1574
+
1575
+
1576
+ ### IamPolicyMapper <a name="IamPolicyMapper" id="cdk8s-aws-cdk.IamPolicyMapper"></a>
1577
+
1578
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.IamPolicyMapper.Initializer"></a>
1579
+
1580
+ ```typescript
1581
+ import { IamPolicyMapper } from 'cdk8s-aws-cdk'
1582
+
1583
+ new IamPolicyMapper(chart: Chart)
1584
+ ```
1585
+
1586
+ | **Name** | **Type** | **Description** |
1587
+ | --- | --- | --- |
1588
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1589
+
1590
+ ---
1591
+
1592
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.IamPolicyMapper.Initializer.parameter.chart"></a>
1593
+
1594
+ - *Type:* cdk8s.Chart
1595
+
1596
+ ---
1597
+
1598
+ #### Methods <a name="Methods" id="Methods"></a>
1599
+
1600
+ | **Name** | **Description** |
1601
+ | --- | --- |
1602
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.map">map</a></code> | *No description.* |
1603
+
1604
+ ---
1605
+
1606
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.IamPolicyMapper.map"></a>
1607
+
1608
+ ```typescript
1609
+ public map(logicalId: string, cfnProperties: any): ApiObject
1610
+ ```
1611
+
1612
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.IamPolicyMapper.map.parameter.logicalId"></a>
1613
+
1614
+ - *Type:* string
1615
+
1616
+ ---
1617
+
1618
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.IamPolicyMapper.map.parameter.cfnProperties"></a>
1619
+
1620
+ - *Type:* any
1621
+
1622
+ ---
1623
+
1624
+
1625
+ #### Properties <a name="Properties" id="Properties"></a>
1626
+
1627
+ | **Name** | **Type** | **Description** |
1628
+ | --- | --- | --- |
1629
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1630
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1631
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1632
+ | <code><a href="#cdk8s-aws-cdk.IamPolicyMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1633
+
1634
+ ---
1635
+
1636
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.IamPolicyMapper.property.exportMappings"></a>
1637
+
1638
+ ```typescript
1639
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1640
+ ```
1641
+
1642
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1643
+
1644
+ ---
1645
+
1646
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.IamPolicyMapper.property.nameMapping"></a>
1647
+
1648
+ ```typescript
1649
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1650
+ ```
1651
+
1652
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1653
+
1654
+ ---
1655
+
1656
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.IamPolicyMapper.property.refMapping"></a>
1657
+
1658
+ ```typescript
1659
+ public readonly refMapping: CloudFormationMapperRefMapping;
1660
+ ```
1661
+
1662
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1663
+
1664
+ ---
1665
+
1666
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.IamPolicyMapper.property.type"></a>
1667
+
1668
+ ```typescript
1669
+ public readonly type: string;
1670
+ ```
1671
+
1672
+ - *Type:* string
1673
+
1674
+ ---
1675
+
1676
+
1677
+ ### IamRoleMapper <a name="IamRoleMapper" id="cdk8s-aws-cdk.IamRoleMapper"></a>
1678
+
1679
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.IamRoleMapper.Initializer"></a>
1680
+
1681
+ ```typescript
1682
+ import { IamRoleMapper } from 'cdk8s-aws-cdk'
1683
+
1684
+ new IamRoleMapper(chart: Chart)
1685
+ ```
1686
+
1687
+ | **Name** | **Type** | **Description** |
1688
+ | --- | --- | --- |
1689
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1690
+
1691
+ ---
1692
+
1693
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.IamRoleMapper.Initializer.parameter.chart"></a>
1694
+
1695
+ - *Type:* cdk8s.Chart
1696
+
1697
+ ---
1698
+
1699
+ #### Methods <a name="Methods" id="Methods"></a>
1700
+
1701
+ | **Name** | **Description** |
1702
+ | --- | --- |
1703
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.map">map</a></code> | *No description.* |
1704
+
1705
+ ---
1706
+
1707
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.IamRoleMapper.map"></a>
1708
+
1709
+ ```typescript
1710
+ public map(logicalId: string, cfnProperties: any): ApiObject
1711
+ ```
1712
+
1713
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.IamRoleMapper.map.parameter.logicalId"></a>
1714
+
1715
+ - *Type:* string
1716
+
1717
+ ---
1718
+
1719
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.IamRoleMapper.map.parameter.cfnProperties"></a>
1720
+
1721
+ - *Type:* any
1722
+
1723
+ ---
1724
+
1725
+
1726
+ #### Properties <a name="Properties" id="Properties"></a>
1727
+
1728
+ | **Name** | **Type** | **Description** |
1729
+ | --- | --- | --- |
1730
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1731
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1732
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1733
+ | <code><a href="#cdk8s-aws-cdk.IamRoleMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1734
+
1735
+ ---
1736
+
1737
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.IamRoleMapper.property.exportMappings"></a>
1738
+
1739
+ ```typescript
1740
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1741
+ ```
1742
+
1743
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1744
+
1745
+ ---
1746
+
1747
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.IamRoleMapper.property.nameMapping"></a>
1748
+
1749
+ ```typescript
1750
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1751
+ ```
1752
+
1753
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1754
+
1755
+ ---
1756
+
1757
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.IamRoleMapper.property.refMapping"></a>
1758
+
1759
+ ```typescript
1760
+ public readonly refMapping: CloudFormationMapperRefMapping;
1761
+ ```
1762
+
1763
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1764
+
1765
+ ---
1766
+
1767
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.IamRoleMapper.property.type"></a>
1768
+
1769
+ ```typescript
1770
+ public readonly type: string;
1771
+ ```
1772
+
1773
+ - *Type:* string
1774
+
1775
+ ---
1776
+
1777
+
1778
+ ### LambdaFunctionMapper <a name="LambdaFunctionMapper" id="cdk8s-aws-cdk.LambdaFunctionMapper"></a>
1779
+
1780
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.LambdaFunctionMapper.Initializer"></a>
1781
+
1782
+ ```typescript
1783
+ import { LambdaFunctionMapper } from 'cdk8s-aws-cdk'
1784
+
1785
+ new LambdaFunctionMapper(chart: Chart)
1786
+ ```
1787
+
1788
+ | **Name** | **Type** | **Description** |
1789
+ | --- | --- | --- |
1790
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1791
+
1792
+ ---
1793
+
1794
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.LambdaFunctionMapper.Initializer.parameter.chart"></a>
1795
+
1796
+ - *Type:* cdk8s.Chart
1797
+
1798
+ ---
1799
+
1800
+ #### Methods <a name="Methods" id="Methods"></a>
1801
+
1802
+ | **Name** | **Description** |
1803
+ | --- | --- |
1804
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.map">map</a></code> | *No description.* |
1805
+
1806
+ ---
1807
+
1808
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.LambdaFunctionMapper.map"></a>
1809
+
1810
+ ```typescript
1811
+ public map(logicalId: string, cfnProperties: any): ApiObject
1812
+ ```
1813
+
1814
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.LambdaFunctionMapper.map.parameter.logicalId"></a>
1815
+
1816
+ - *Type:* string
1817
+
1818
+ ---
1819
+
1820
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.LambdaFunctionMapper.map.parameter.cfnProperties"></a>
1821
+
1822
+ - *Type:* any
1823
+
1824
+ ---
1825
+
1826
+
1827
+ #### Properties <a name="Properties" id="Properties"></a>
1828
+
1829
+ | **Name** | **Type** | **Description** |
1830
+ | --- | --- | --- |
1831
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1832
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1833
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1834
+ | <code><a href="#cdk8s-aws-cdk.LambdaFunctionMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1835
+
1836
+ ---
1837
+
1838
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.LambdaFunctionMapper.property.exportMappings"></a>
1839
+
1840
+ ```typescript
1841
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1842
+ ```
1843
+
1844
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1845
+
1846
+ ---
1847
+
1848
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.LambdaFunctionMapper.property.nameMapping"></a>
1849
+
1850
+ ```typescript
1851
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1852
+ ```
1853
+
1854
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1855
+
1856
+ ---
1857
+
1858
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.LambdaFunctionMapper.property.refMapping"></a>
1859
+
1860
+ ```typescript
1861
+ public readonly refMapping: CloudFormationMapperRefMapping;
1862
+ ```
1863
+
1864
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1865
+
1866
+ ---
1867
+
1868
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.LambdaFunctionMapper.property.type"></a>
1869
+
1870
+ ```typescript
1871
+ public readonly type: string;
1872
+ ```
1873
+
1874
+ - *Type:* string
1875
+
1876
+ ---
1877
+
1878
+
1879
+ ### RdsDBInstanceMapper <a name="RdsDBInstanceMapper" id="cdk8s-aws-cdk.RdsDBInstanceMapper"></a>
1880
+
1881
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.RdsDBInstanceMapper.Initializer"></a>
1882
+
1883
+ ```typescript
1884
+ import { RdsDBInstanceMapper } from 'cdk8s-aws-cdk'
1885
+
1886
+ new RdsDBInstanceMapper(chart: Chart)
1887
+ ```
1888
+
1889
+ | **Name** | **Type** | **Description** |
1890
+ | --- | --- | --- |
1891
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1892
+
1893
+ ---
1894
+
1895
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.RdsDBInstanceMapper.Initializer.parameter.chart"></a>
1896
+
1897
+ - *Type:* cdk8s.Chart
1898
+
1899
+ ---
1900
+
1901
+ #### Methods <a name="Methods" id="Methods"></a>
1902
+
1903
+ | **Name** | **Description** |
1904
+ | --- | --- |
1905
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.map">map</a></code> | *No description.* |
1906
+
1907
+ ---
1908
+
1909
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.RdsDBInstanceMapper.map"></a>
1910
+
1911
+ ```typescript
1912
+ public map(logicalId: string, cfnProperties: any): ApiObject
1913
+ ```
1914
+
1915
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.RdsDBInstanceMapper.map.parameter.logicalId"></a>
1916
+
1917
+ - *Type:* string
1918
+
1919
+ ---
1920
+
1921
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.RdsDBInstanceMapper.map.parameter.cfnProperties"></a>
1922
+
1923
+ - *Type:* any
1924
+
1925
+ ---
1926
+
1927
+
1928
+ #### Properties <a name="Properties" id="Properties"></a>
1929
+
1930
+ | **Name** | **Type** | **Description** |
1931
+ | --- | --- | --- |
1932
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
1933
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
1934
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
1935
+ | <code><a href="#cdk8s-aws-cdk.RdsDBInstanceMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
1936
+
1937
+ ---
1938
+
1939
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.RdsDBInstanceMapper.property.exportMappings"></a>
1940
+
1941
+ ```typescript
1942
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
1943
+ ```
1944
+
1945
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
1946
+
1947
+ ---
1948
+
1949
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.RdsDBInstanceMapper.property.nameMapping"></a>
1950
+
1951
+ ```typescript
1952
+ public readonly nameMapping: CloudFormationMapperNameMapping;
1953
+ ```
1954
+
1955
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
1956
+
1957
+ ---
1958
+
1959
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.RdsDBInstanceMapper.property.refMapping"></a>
1960
+
1961
+ ```typescript
1962
+ public readonly refMapping: CloudFormationMapperRefMapping;
1963
+ ```
1964
+
1965
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
1966
+
1967
+ ---
1968
+
1969
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.RdsDBInstanceMapper.property.type"></a>
1970
+
1971
+ ```typescript
1972
+ public readonly type: string;
1973
+ ```
1974
+
1975
+ - *Type:* string
1976
+
1977
+ ---
1978
+
1979
+
1980
+ ### RdsDBSubnetGroup <a name="RdsDBSubnetGroup" id="cdk8s-aws-cdk.RdsDBSubnetGroup"></a>
1981
+
1982
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.RdsDBSubnetGroup.Initializer"></a>
1983
+
1984
+ ```typescript
1985
+ import { RdsDBSubnetGroup } from 'cdk8s-aws-cdk'
1986
+
1987
+ new RdsDBSubnetGroup(chart: Chart)
1988
+ ```
1989
+
1990
+ | **Name** | **Type** | **Description** |
1991
+ | --- | --- | --- |
1992
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
1993
+
1994
+ ---
1995
+
1996
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.RdsDBSubnetGroup.Initializer.parameter.chart"></a>
1997
+
1998
+ - *Type:* cdk8s.Chart
1999
+
2000
+ ---
2001
+
2002
+ #### Methods <a name="Methods" id="Methods"></a>
2003
+
2004
+ | **Name** | **Description** |
2005
+ | --- | --- |
2006
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.map">map</a></code> | *No description.* |
2007
+
2008
+ ---
2009
+
2010
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.RdsDBSubnetGroup.map"></a>
2011
+
2012
+ ```typescript
2013
+ public map(logicalId: string, cfnProperties: any): ApiObject
2014
+ ```
2015
+
2016
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.RdsDBSubnetGroup.map.parameter.logicalId"></a>
2017
+
2018
+ - *Type:* string
2019
+
2020
+ ---
2021
+
2022
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.RdsDBSubnetGroup.map.parameter.cfnProperties"></a>
2023
+
2024
+ - *Type:* any
2025
+
2026
+ ---
2027
+
2028
+
2029
+ #### Properties <a name="Properties" id="Properties"></a>
2030
+
2031
+ | **Name** | **Type** | **Description** |
2032
+ | --- | --- | --- |
2033
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
2034
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
2035
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
2036
+ | <code><a href="#cdk8s-aws-cdk.RdsDBSubnetGroup.property.type">type</a></code> | <code>string</code> | *No description.* |
2037
+
2038
+ ---
2039
+
2040
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.RdsDBSubnetGroup.property.exportMappings"></a>
2041
+
2042
+ ```typescript
2043
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
2044
+ ```
2045
+
2046
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
2047
+
2048
+ ---
2049
+
2050
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.RdsDBSubnetGroup.property.nameMapping"></a>
2051
+
2052
+ ```typescript
2053
+ public readonly nameMapping: CloudFormationMapperNameMapping;
2054
+ ```
2055
+
2056
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
2057
+
2058
+ ---
2059
+
2060
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.RdsDBSubnetGroup.property.refMapping"></a>
2061
+
2062
+ ```typescript
2063
+ public readonly refMapping: CloudFormationMapperRefMapping;
2064
+ ```
2065
+
2066
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
2067
+
2068
+ ---
2069
+
2070
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.RdsDBSubnetGroup.property.type"></a>
2071
+
2072
+ ```typescript
2073
+ public readonly type: string;
2074
+ ```
2075
+
2076
+ - *Type:* string
2077
+
2078
+ ---
2079
+
2080
+
2081
+ ### S3BucketMapper <a name="S3BucketMapper" id="cdk8s-aws-cdk.S3BucketMapper"></a>
2082
+
2083
+ #### Initializers <a name="Initializers" id="cdk8s-aws-cdk.S3BucketMapper.Initializer"></a>
2084
+
2085
+ ```typescript
2086
+ import { S3BucketMapper } from 'cdk8s-aws-cdk'
2087
+
2088
+ new S3BucketMapper(chart: Chart)
2089
+ ```
2090
+
2091
+ | **Name** | **Type** | **Description** |
2092
+ | --- | --- | --- |
2093
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.Initializer.parameter.chart">chart</a></code> | <code>cdk8s.Chart</code> | *No description.* |
2094
+
2095
+ ---
2096
+
2097
+ ##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-aws-cdk.S3BucketMapper.Initializer.parameter.chart"></a>
2098
+
2099
+ - *Type:* cdk8s.Chart
2100
+
2101
+ ---
2102
+
2103
+ #### Methods <a name="Methods" id="Methods"></a>
2104
+
2105
+ | **Name** | **Description** |
2106
+ | --- | --- |
2107
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.map">map</a></code> | *No description.* |
2108
+
2109
+ ---
2110
+
2111
+ ##### `map` <a name="map" id="cdk8s-aws-cdk.S3BucketMapper.map"></a>
2112
+
2113
+ ```typescript
2114
+ public map(logicalId: string, cfnProperties: any): ApiObject
2115
+ ```
2116
+
2117
+ ###### `logicalId`<sup>Required</sup> <a name="logicalId" id="cdk8s-aws-cdk.S3BucketMapper.map.parameter.logicalId"></a>
2118
+
2119
+ - *Type:* string
2120
+
2121
+ ---
2122
+
2123
+ ###### `cfnProperties`<sup>Required</sup> <a name="cfnProperties" id="cdk8s-aws-cdk.S3BucketMapper.map.parameter.cfnProperties"></a>
2124
+
2125
+ - *Type:* any
2126
+
2127
+ ---
2128
+
2129
+
2130
+ #### Properties <a name="Properties" id="Properties"></a>
2131
+
2132
+ | **Name** | **Type** | **Description** |
2133
+ | --- | --- | --- |
2134
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.property.exportMappings">exportMappings</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]</code> | *No description.* |
2135
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.property.nameMapping">nameMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a></code> | *No description.* |
2136
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.property.refMapping">refMapping</a></code> | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a></code> | *No description.* |
2137
+ | <code><a href="#cdk8s-aws-cdk.S3BucketMapper.property.type">type</a></code> | <code>string</code> | *No description.* |
2138
+
2139
+ ---
2140
+
2141
+ ##### `exportMappings`<sup>Required</sup> <a name="exportMappings" id="cdk8s-aws-cdk.S3BucketMapper.property.exportMappings"></a>
2142
+
2143
+ ```typescript
2144
+ public readonly exportMappings: CloudFormationMapperExportMapping[];
2145
+ ```
2146
+
2147
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperExportMapping">CloudFormationMapperExportMapping</a>[]
2148
+
2149
+ ---
2150
+
2151
+ ##### `nameMapping`<sup>Required</sup> <a name="nameMapping" id="cdk8s-aws-cdk.S3BucketMapper.property.nameMapping"></a>
2152
+
2153
+ ```typescript
2154
+ public readonly nameMapping: CloudFormationMapperNameMapping;
2155
+ ```
2156
+
2157
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperNameMapping">CloudFormationMapperNameMapping</a>
2158
+
2159
+ ---
2160
+
2161
+ ##### `refMapping`<sup>Required</sup> <a name="refMapping" id="cdk8s-aws-cdk.S3BucketMapper.property.refMapping"></a>
2162
+
2163
+ ```typescript
2164
+ public readonly refMapping: CloudFormationMapperRefMapping;
2165
+ ```
2166
+
2167
+ - *Type:* <a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping">CloudFormationMapperRefMapping</a>
2168
+
2169
+ ---
2170
+
2171
+ ##### `type`<sup>Required</sup> <a name="type" id="cdk8s-aws-cdk.S3BucketMapper.property.type"></a>
2172
+
2173
+ ```typescript
2174
+ public readonly type: string;
2175
+ ```
2176
+
2177
+ - *Type:* string
2178
+
2179
+ ---
2180
+
2181
+
2182
+
2183
+ ## Enums <a name="Enums" id="Enums"></a>
2184
+
2185
+ ### CloudFormationMapperRefMapping <a name="CloudFormationMapperRefMapping" id="cdk8s-aws-cdk.CloudFormationMapperRefMapping"></a>
2186
+
2187
+ #### Members <a name="Members" id="Members"></a>
2188
+
2189
+ | **Name** | **Description** |
2190
+ | --- | --- |
2191
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping.NAME">NAME</a></code> | *No description.* |
2192
+ | <code><a href="#cdk8s-aws-cdk.CloudFormationMapperRefMapping.ARN">ARN</a></code> | *No description.* |
2193
+
2194
+ ---
2195
+
2196
+ ##### `NAME` <a name="NAME" id="cdk8s-aws-cdk.CloudFormationMapperRefMapping.NAME"></a>
2197
+
2198
+ ---
2199
+
2200
+
2201
+ ##### `ARN` <a name="ARN" id="cdk8s-aws-cdk.CloudFormationMapperRefMapping.ARN"></a>
2202
+
2203
+ ---
2204
+