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
@@ -0,0 +1,430 @@
1
+ import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
2
+ import { Construct } from 'constructs';
3
+ /**
4
+ * Table is the Schema for the Tables API
5
+ *
6
+ * @schema Table
7
+ */
8
+ export declare class Table extends ApiObject {
9
+ /**
10
+ * Returns the apiVersion and kind for "Table"
11
+ */
12
+ static readonly GVK: GroupVersionKind;
13
+ /**
14
+ * Renders a Kubernetes manifest for "Table".
15
+ *
16
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
17
+ *
18
+ * @param props initialization props
19
+ */
20
+ static manifest(props?: TableProps): any;
21
+ /**
22
+ * Defines a "Table" API object
23
+ * @param scope the scope in which to define this object
24
+ * @param id a scope-local name for the object
25
+ * @param props initialization props
26
+ */
27
+ constructor(scope: Construct, id: string, props?: TableProps);
28
+ /**
29
+ * Renders the object to Kubernetes JSON.
30
+ */
31
+ toJson(): any;
32
+ }
33
+ /**
34
+ * Table is the Schema for the Tables API
35
+ *
36
+ * @schema Table
37
+ */
38
+ export interface TableProps {
39
+ /**
40
+ * @schema Table#metadata
41
+ */
42
+ readonly metadata?: ApiObjectMetadata;
43
+ /**
44
+ * TableSpec defines the desired state of Table.
45
+ *
46
+ * @schema Table#spec
47
+ */
48
+ readonly spec?: TableSpec;
49
+ }
50
+ /**
51
+ * Converts an object of type 'TableProps' to JSON representation.
52
+ */
53
+ export declare function toJson_TableProps(obj: TableProps | undefined): Record<string, any> | undefined;
54
+ /**
55
+ * TableSpec defines the desired state of Table.
56
+ *
57
+ * @schema TableSpec
58
+ */
59
+ export interface TableSpec {
60
+ /**
61
+ * An array of attributes that describe the key schema for the table and indexes.
62
+ *
63
+ * @schema TableSpec#attributeDefinitions
64
+ */
65
+ readonly attributeDefinitions: TableSpecAttributeDefinitions[];
66
+ /**
67
+ * Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
68
+ * * PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual).
69
+ * * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand).
70
+ *
71
+ * @schema TableSpec#billingMode
72
+ */
73
+ readonly billingMode?: string;
74
+ /**
75
+ * One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:
76
+ * * IndexName - The name of the global secondary index. Must be unique only for this table.
77
+ * * KeySchema - Specifies the key schema for the global secondary index.
78
+ * * Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes is in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
79
+ * * ProvisionedThroughput - The provisioned throughput settings for the global secondary index, consisting of read and write capacity units.
80
+ *
81
+ * @schema TableSpec#globalSecondaryIndexes
82
+ */
83
+ readonly globalSecondaryIndexes?: TableSpecGlobalSecondaryIndexes[];
84
+ /**
85
+ * Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Model (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) in the Amazon DynamoDB Developer Guide.
86
+ * Each KeySchemaElement in the array is composed of:
87
+ * * AttributeName - The name of this key attribute.
88
+ * * KeyType - The role that the key attribute will assume: HASH - partition key RANGE - sort key
89
+ * The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from the DynamoDB usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
90
+ * The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
91
+ * For a simple primary key (partition key), you must provide exactly one element with a KeyType of HASH.
92
+ * For a composite primary key (partition key and sort key), you must provide exactly two elements, in this order: The first element must have a KeyType of HASH, and the second element must have a KeyType of RANGE.
93
+ * For more information, see Working with Tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key) in the Amazon DynamoDB Developer Guide.
94
+ *
95
+ * @schema TableSpec#keySchema
96
+ */
97
+ readonly keySchema: TableSpecKeySchema[];
98
+ /**
99
+ * One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.
100
+ * Each local secondary index in the array includes the following:
101
+ * * IndexName - The name of the local secondary index. Must be unique only for this table.
102
+ * * KeySchema - Specifies the key schema for the local secondary index. The key schema must begin with the same partition key as the table.
103
+ * * Projection - Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of: ProjectionType - One of the following: KEYS_ONLY - Only the index and primary keys are projected into the index. INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes is in NonKeyAttributes. ALL - All of the table attributes are projected into the index. NonKeyAttributes - A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
104
+ *
105
+ * @schema TableSpec#localSecondaryIndexes
106
+ */
107
+ readonly localSecondaryIndexes?: TableSpecLocalSecondaryIndexes[];
108
+ /**
109
+ * Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.
110
+ * If you set BillingMode as PROVISIONED, you must specify this property. If you set BillingMode as PAY_PER_REQUEST, you cannot specify this property.
111
+ * For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
112
+ *
113
+ * @schema TableSpec#provisionedThroughput
114
+ */
115
+ readonly provisionedThroughput?: TableSpecProvisionedThroughput;
116
+ /**
117
+ * Represents the settings used to enable server-side encryption.
118
+ *
119
+ * @schema TableSpec#sseSpecification
120
+ */
121
+ readonly sseSpecification?: TableSpecSseSpecification;
122
+ /**
123
+ * The settings for DynamoDB Streams on the table. These settings consist of:
124
+ * * StreamEnabled - Indicates whether DynamoDB Streams is to be enabled (true) or disabled (false).
125
+ * * StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values for StreamViewType are: KEYS_ONLY - Only the key attributes of the modified item are written to the stream. NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream. OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream. NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
126
+ *
127
+ * @schema TableSpec#streamSpecification
128
+ */
129
+ readonly streamSpecification?: TableSpecStreamSpecification;
130
+ /**
131
+ * The name of the table to create.
132
+ *
133
+ * @schema TableSpec#tableName
134
+ */
135
+ readonly tableName: string;
136
+ /**
137
+ * A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html).
138
+ *
139
+ * @schema TableSpec#tags
140
+ */
141
+ readonly tags?: TableSpecTags[];
142
+ }
143
+ /**
144
+ * Converts an object of type 'TableSpec' to JSON representation.
145
+ */
146
+ export declare function toJson_TableSpec(obj: TableSpec | undefined): Record<string, any> | undefined;
147
+ /**
148
+ * Represents an attribute for describing the key schema for the table and indexes.
149
+ *
150
+ * @schema TableSpecAttributeDefinitions
151
+ */
152
+ export interface TableSpecAttributeDefinitions {
153
+ /**
154
+ * @schema TableSpecAttributeDefinitions#attributeName
155
+ */
156
+ readonly attributeName?: string;
157
+ /**
158
+ * @schema TableSpecAttributeDefinitions#attributeType
159
+ */
160
+ readonly attributeType?: string;
161
+ }
162
+ /**
163
+ * Converts an object of type 'TableSpecAttributeDefinitions' to JSON representation.
164
+ */
165
+ export declare function toJson_TableSpecAttributeDefinitions(obj: TableSpecAttributeDefinitions | undefined): Record<string, any> | undefined;
166
+ /**
167
+ * Represents the properties of a global secondary index.
168
+ *
169
+ * @schema TableSpecGlobalSecondaryIndexes
170
+ */
171
+ export interface TableSpecGlobalSecondaryIndexes {
172
+ /**
173
+ * @schema TableSpecGlobalSecondaryIndexes#indexName
174
+ */
175
+ readonly indexName?: string;
176
+ /**
177
+ * @schema TableSpecGlobalSecondaryIndexes#keySchema
178
+ */
179
+ readonly keySchema?: TableSpecGlobalSecondaryIndexesKeySchema[];
180
+ /**
181
+ * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
182
+ *
183
+ * @schema TableSpecGlobalSecondaryIndexes#projection
184
+ */
185
+ readonly projection?: TableSpecGlobalSecondaryIndexesProjection;
186
+ /**
187
+ * Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.
188
+ * For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
189
+ *
190
+ * @schema TableSpecGlobalSecondaryIndexes#provisionedThroughput
191
+ */
192
+ readonly provisionedThroughput?: TableSpecGlobalSecondaryIndexesProvisionedThroughput;
193
+ }
194
+ /**
195
+ * Converts an object of type 'TableSpecGlobalSecondaryIndexes' to JSON representation.
196
+ */
197
+ export declare function toJson_TableSpecGlobalSecondaryIndexes(obj: TableSpecGlobalSecondaryIndexes | undefined): Record<string, any> | undefined;
198
+ /**
199
+ * Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
200
+ * A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one KeySchemaElement (for the partition key). A composite primary key would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.
201
+ * A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.
202
+ *
203
+ * @schema TableSpecKeySchema
204
+ */
205
+ export interface TableSpecKeySchema {
206
+ /**
207
+ * @schema TableSpecKeySchema#attributeName
208
+ */
209
+ readonly attributeName?: string;
210
+ /**
211
+ * @schema TableSpecKeySchema#keyType
212
+ */
213
+ readonly keyType?: string;
214
+ }
215
+ /**
216
+ * Converts an object of type 'TableSpecKeySchema' to JSON representation.
217
+ */
218
+ export declare function toJson_TableSpecKeySchema(obj: TableSpecKeySchema | undefined): Record<string, any> | undefined;
219
+ /**
220
+ * Represents the properties of a local secondary index.
221
+ *
222
+ * @schema TableSpecLocalSecondaryIndexes
223
+ */
224
+ export interface TableSpecLocalSecondaryIndexes {
225
+ /**
226
+ * @schema TableSpecLocalSecondaryIndexes#indexName
227
+ */
228
+ readonly indexName?: string;
229
+ /**
230
+ * @schema TableSpecLocalSecondaryIndexes#keySchema
231
+ */
232
+ readonly keySchema?: TableSpecLocalSecondaryIndexesKeySchema[];
233
+ /**
234
+ * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
235
+ *
236
+ * @schema TableSpecLocalSecondaryIndexes#projection
237
+ */
238
+ readonly projection?: TableSpecLocalSecondaryIndexesProjection;
239
+ }
240
+ /**
241
+ * Converts an object of type 'TableSpecLocalSecondaryIndexes' to JSON representation.
242
+ */
243
+ export declare function toJson_TableSpecLocalSecondaryIndexes(obj: TableSpecLocalSecondaryIndexes | undefined): Record<string, any> | undefined;
244
+ /**
245
+ * Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.
246
+ * If you set BillingMode as PROVISIONED, you must specify this property. If you set BillingMode as PAY_PER_REQUEST, you cannot specify this property.
247
+ * For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
248
+ *
249
+ * @schema TableSpecProvisionedThroughput
250
+ */
251
+ export interface TableSpecProvisionedThroughput {
252
+ /**
253
+ * @schema TableSpecProvisionedThroughput#readCapacityUnits
254
+ */
255
+ readonly readCapacityUnits?: number;
256
+ /**
257
+ * @schema TableSpecProvisionedThroughput#writeCapacityUnits
258
+ */
259
+ readonly writeCapacityUnits?: number;
260
+ }
261
+ /**
262
+ * Converts an object of type 'TableSpecProvisionedThroughput' to JSON representation.
263
+ */
264
+ export declare function toJson_TableSpecProvisionedThroughput(obj: TableSpecProvisionedThroughput | undefined): Record<string, any> | undefined;
265
+ /**
266
+ * Represents the settings used to enable server-side encryption.
267
+ *
268
+ * @schema TableSpecSseSpecification
269
+ */
270
+ export interface TableSpecSseSpecification {
271
+ /**
272
+ * @schema TableSpecSseSpecification#enabled
273
+ */
274
+ readonly enabled?: boolean;
275
+ /**
276
+ * @schema TableSpecSseSpecification#kmsMasterKeyID
277
+ */
278
+ readonly kmsMasterKeyId?: string;
279
+ /**
280
+ * @schema TableSpecSseSpecification#sseType
281
+ */
282
+ readonly sseType?: string;
283
+ }
284
+ /**
285
+ * Converts an object of type 'TableSpecSseSpecification' to JSON representation.
286
+ */
287
+ export declare function toJson_TableSpecSseSpecification(obj: TableSpecSseSpecification | undefined): Record<string, any> | undefined;
288
+ /**
289
+ * The settings for DynamoDB Streams on the table. These settings consist of:
290
+ * * StreamEnabled - Indicates whether DynamoDB Streams is to be enabled (true) or disabled (false).
291
+ * * StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values for StreamViewType are: KEYS_ONLY - Only the key attributes of the modified item are written to the stream. NEW_IMAGE - The entire item, as it appears after it was modified, is written to the stream. OLD_IMAGE - The entire item, as it appeared before it was modified, is written to the stream. NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are written to the stream.
292
+ *
293
+ * @schema TableSpecStreamSpecification
294
+ */
295
+ export interface TableSpecStreamSpecification {
296
+ /**
297
+ * @schema TableSpecStreamSpecification#streamEnabled
298
+ */
299
+ readonly streamEnabled?: boolean;
300
+ /**
301
+ * @schema TableSpecStreamSpecification#streamViewType
302
+ */
303
+ readonly streamViewType?: string;
304
+ }
305
+ /**
306
+ * Converts an object of type 'TableSpecStreamSpecification' to JSON representation.
307
+ */
308
+ export declare function toJson_TableSpecStreamSpecification(obj: TableSpecStreamSpecification | undefined): Record<string, any> | undefined;
309
+ /**
310
+ * Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single DynamoDB table.
311
+ * AWS-assigned tag names and values are automatically assigned the aws: prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix user: in the Cost Allocation Report. You cannot backdate the application of a tag.
312
+ * For an overview on tagging DynamoDB resources, see Tagging for DynamoDB (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) in the Amazon DynamoDB Developer Guide.
313
+ *
314
+ * @schema TableSpecTags
315
+ */
316
+ export interface TableSpecTags {
317
+ /**
318
+ * @schema TableSpecTags#key
319
+ */
320
+ readonly key?: string;
321
+ /**
322
+ * @schema TableSpecTags#value
323
+ */
324
+ readonly value?: string;
325
+ }
326
+ /**
327
+ * Converts an object of type 'TableSpecTags' to JSON representation.
328
+ */
329
+ export declare function toJson_TableSpecTags(obj: TableSpecTags | undefined): Record<string, any> | undefined;
330
+ /**
331
+ * Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
332
+ * A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one KeySchemaElement (for the partition key). A composite primary key would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.
333
+ * A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.
334
+ *
335
+ * @schema TableSpecGlobalSecondaryIndexesKeySchema
336
+ */
337
+ export interface TableSpecGlobalSecondaryIndexesKeySchema {
338
+ /**
339
+ * @schema TableSpecGlobalSecondaryIndexesKeySchema#attributeName
340
+ */
341
+ readonly attributeName?: string;
342
+ /**
343
+ * @schema TableSpecGlobalSecondaryIndexesKeySchema#keyType
344
+ */
345
+ readonly keyType?: string;
346
+ }
347
+ /**
348
+ * Converts an object of type 'TableSpecGlobalSecondaryIndexesKeySchema' to JSON representation.
349
+ */
350
+ export declare function toJson_TableSpecGlobalSecondaryIndexesKeySchema(obj: TableSpecGlobalSecondaryIndexesKeySchema | undefined): Record<string, any> | undefined;
351
+ /**
352
+ * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
353
+ *
354
+ * @schema TableSpecGlobalSecondaryIndexesProjection
355
+ */
356
+ export interface TableSpecGlobalSecondaryIndexesProjection {
357
+ /**
358
+ * @schema TableSpecGlobalSecondaryIndexesProjection#nonKeyAttributes
359
+ */
360
+ readonly nonKeyAttributes?: string[];
361
+ /**
362
+ * @schema TableSpecGlobalSecondaryIndexesProjection#projectionType
363
+ */
364
+ readonly projectionType?: string;
365
+ }
366
+ /**
367
+ * Converts an object of type 'TableSpecGlobalSecondaryIndexesProjection' to JSON representation.
368
+ */
369
+ export declare function toJson_TableSpecGlobalSecondaryIndexesProjection(obj: TableSpecGlobalSecondaryIndexesProjection | undefined): Record<string, any> | undefined;
370
+ /**
371
+ * Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.
372
+ * For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
373
+ *
374
+ * @schema TableSpecGlobalSecondaryIndexesProvisionedThroughput
375
+ */
376
+ export interface TableSpecGlobalSecondaryIndexesProvisionedThroughput {
377
+ /**
378
+ * @schema TableSpecGlobalSecondaryIndexesProvisionedThroughput#readCapacityUnits
379
+ */
380
+ readonly readCapacityUnits?: number;
381
+ /**
382
+ * @schema TableSpecGlobalSecondaryIndexesProvisionedThroughput#writeCapacityUnits
383
+ */
384
+ readonly writeCapacityUnits?: number;
385
+ }
386
+ /**
387
+ * Converts an object of type 'TableSpecGlobalSecondaryIndexesProvisionedThroughput' to JSON representation.
388
+ */
389
+ export declare function toJson_TableSpecGlobalSecondaryIndexesProvisionedThroughput(obj: TableSpecGlobalSecondaryIndexesProvisionedThroughput | undefined): Record<string, any> | undefined;
390
+ /**
391
+ * Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
392
+ * A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one KeySchemaElement (for the partition key). A composite primary key would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.
393
+ * A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.
394
+ *
395
+ * @schema TableSpecLocalSecondaryIndexesKeySchema
396
+ */
397
+ export interface TableSpecLocalSecondaryIndexesKeySchema {
398
+ /**
399
+ * @schema TableSpecLocalSecondaryIndexesKeySchema#attributeName
400
+ */
401
+ readonly attributeName?: string;
402
+ /**
403
+ * @schema TableSpecLocalSecondaryIndexesKeySchema#keyType
404
+ */
405
+ readonly keyType?: string;
406
+ }
407
+ /**
408
+ * Converts an object of type 'TableSpecLocalSecondaryIndexesKeySchema' to JSON representation.
409
+ */
410
+ export declare function toJson_TableSpecLocalSecondaryIndexesKeySchema(obj: TableSpecLocalSecondaryIndexesKeySchema | undefined): Record<string, any> | undefined;
411
+ /**
412
+ * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
413
+ *
414
+ * @schema TableSpecLocalSecondaryIndexesProjection
415
+ */
416
+ export interface TableSpecLocalSecondaryIndexesProjection {
417
+ /**
418
+ * @schema TableSpecLocalSecondaryIndexesProjection#nonKeyAttributes
419
+ */
420
+ readonly nonKeyAttributes?: string[];
421
+ /**
422
+ * @schema TableSpecLocalSecondaryIndexesProjection#projectionType
423
+ */
424
+ readonly projectionType?: string;
425
+ }
426
+ /**
427
+ * Converts an object of type 'TableSpecLocalSecondaryIndexesProjection' to JSON representation.
428
+ */
429
+ export declare function toJson_TableSpecLocalSecondaryIndexesProjection(obj: TableSpecLocalSecondaryIndexesProjection | undefined): Record<string, any> | undefined;
430
+ //# sourceMappingURL=dynamotables-dynamodb.services.k8s.aws.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamotables-dynamodb.services.k8s.aws.d.ts","sourceRoot":"","sources":["../../src/imports/dynamotables-dynamodb.services.k8s.aws.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC;;;;GAIG;AACH,qBAAa,KAAM,SAAQ,SAAS;IAClC;;OAEG;IACH,gBAAuB,GAAG,EAAE,gBAAgB,CAG1C;IAEF;;;;;;OAMG;WACW,QAAQ,CAAC,KAAK,GAAE,UAAe,GAAG,GAAG;IAOnD;;;;;OAKG;gBACgB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,UAAe;IAOvE;;OAEG;IACI,MAAM,IAAI,GAAG;CAQrB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;CAE3B;AAED;;GAEG;AAEH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAQ9F;AAGD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,QAAQ,CAAC,oBAAoB,EAAE,6BAA6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