@aws-cdk/aws-neptune-alpha 2.12.0-alpha.0 → 2.13.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cluster.d.ts CHANGED
@@ -8,109 +8,81 @@ import { InstanceType } from './instance';
8
8
  import { IClusterParameterGroup, IParameterGroup } from './parameter-group';
9
9
  import { ISubnetGroup } from './subnet-group';
10
10
  /**
11
- * (experimental) Possible Instances Types to use in Neptune cluster used for defining {@link DatabaseClusterProps.engineVersion}.
12
- *
13
- * @experimental
11
+ * Possible Instances Types to use in Neptune cluster
12
+ * used for defining {@link DatabaseClusterProps.engineVersion}.
14
13
  */
15
14
  export declare class EngineVersion {
16
15
  readonly version: string;
17
16
  /**
18
- * (experimental) Neptune engine version 1.0.1.0.
19
- *
20
- * @experimental
17
+ * Neptune engine version 1.0.1.0
21
18
  */
22
19
  static readonly V1_0_1_0: EngineVersion;
23
20
  /**
24
- * (experimental) Neptune engine version 1.0.1.1.
25
- *
26
- * @experimental
21
+ * Neptune engine version 1.0.1.1
27
22
  */
28
23
  static readonly V1_0_1_1: EngineVersion;
29
24
  /**
30
- * (experimental) Neptune engine version 1.0.1.2.
31
- *
32
- * @experimental
25
+ * Neptune engine version 1.0.1.2
33
26
  */
34
27
  static readonly V1_0_1_2: EngineVersion;
35
28
  /**
36
- * (experimental) Neptune engine version 1.0.2.1.
37
- *
38
- * @experimental
29
+ * Neptune engine version 1.0.2.1
39
30
  */
40
31
  static readonly V1_0_2_1: EngineVersion;
41
32
  /**
42
- * (experimental) Neptune engine version 1.0.2.2.
43
- *
44
- * @experimental
33
+ * Neptune engine version 1.0.2.2
45
34
  */
46
35
  static readonly V1_0_2_2: EngineVersion;
47
36
  /**
48
- * (experimental) Neptune engine version 1.0.3.0.
49
- *
50
- * @experimental
37
+ * Neptune engine version 1.0.3.0
51
38
  */
52
39
  static readonly V1_0_3_0: EngineVersion;
53
40
  /**
54
- * (experimental) Neptune engine version 1.0.4.0.
55
- *
56
- * @experimental
41
+ * Neptune engine version 1.0.4.0
57
42
  */
58
43
  static readonly V1_0_4_0: EngineVersion;
59
44
  /**
60
- * (experimental) Neptune engine version 1.0.4.1.
61
- *
62
- * @experimental
45
+ * Neptune engine version 1.0.4.1
63
46
  */
64
47
  static readonly V1_0_4_1: EngineVersion;
65
48
  /**
66
- * (experimental) Neptune engine version 1.0.5.0.
67
- *
68
- * @experimental
49
+ * Neptune engine version 1.0.5.0
69
50
  */
70
51
  static readonly V1_0_5_0: EngineVersion;
71
52
  /**
72
- * (experimental) Neptune engine version 1.1.0.0.
73
- *
74
- * @experimental
53
+ * Neptune engine version 1.1.0.0
75
54
  */
76
55
  static readonly V1_1_0_0: EngineVersion;
77
56
  /**
78
- * (experimental) Constructor for specifying a custom engine version.
79
- *
80
- * @param version the engine version of Neptune.
81
- * @experimental
57
+ * Constructor for specifying a custom engine version
58
+ * @param version the engine version of Neptune
82
59
  */
83
60
  constructor(version: string);
84
61
  }
85
62
  /**
86
- * (experimental) Properties for a new database cluster.
87
- *
88
- * @experimental
63
+ * Properties for a new database cluster
89
64
  */
90
65
  export interface DatabaseClusterProps {
91
66
  /**
92
- * (experimental) What version of the database to start.
67
+ * What version of the database to start
93
68
  *
94
69
  * @default - The default engine version.
95
- * @experimental
96
70
  */
97
71
  readonly engineVersion?: EngineVersion;
98
72
  /**
99
- * (experimental) The port the Neptune cluster will listen on.
73
+ * The port the Neptune cluster will listen on
100
74
  *
101
75
  * @default - The default engine port
102
- * @experimental
103
76
  */
104
77
  readonly port?: number;
105
78
  /**
106
- * (experimental) How many days to retain the backup.
79
+ * How many days to retain the backup
107
80
  *
108
81
  * @default - cdk.Duration.days(1)
109
- * @experimental
110
82
  */
111
83
  readonly backupRetention?: Duration;
112
84
  /**
113
- * (experimental) A daily time range in 24-hours UTC format in which backups preferably execute.
85
+ * A daily time range in 24-hours UTC format in which backups preferably execute.
114
86
  *
115
87
  * Must be at least 30 minutes long.
116
88
  *
@@ -118,76 +90,65 @@ export interface DatabaseClusterProps {
118
90
  *
119
91
  * @default - a 30-minute window selected at random from an 8-hour block of
120
92
  * time for each AWS Region. To see the time blocks available, see
121
- * @experimental
122
93
  */
123
94
  readonly preferredBackupWindow?: string;
124
95
  /**
125
- * (experimental) The KMS key for storage encryption.
96
+ * The KMS key for storage encryption.
126
97
  *
127
98
  * @default - default master key.
128
- * @experimental
129
99
  */
130
100
  readonly kmsKey?: kms.IKey;
131
101
  /**
132
- * (experimental) Whether to enable storage encryption.
102
+ * Whether to enable storage encryption
133
103
  *
134
104
  * @default true
135
- * @experimental
136
105
  */
137
106
  readonly storageEncrypted?: boolean;
138
107
  /**
139
- * (experimental) Number of Neptune compute instances.
108
+ * Number of Neptune compute instances
140
109
  *
141
110
  * @default 1
142
- * @experimental
143
111
  */
144
112
  readonly instances?: number;
145
113
  /**
146
- * (experimental) An optional identifier for the cluster.
114
+ * An optional identifier for the cluster
147
115
  *
148
116
  * @default - A name is automatically generated.
149
- * @experimental
150
117
  */
151
118
  readonly dbClusterName?: string;
152
119
  /**
153
- * (experimental) Map AWS Identity and Access Management (IAM) accounts to database accounts.
120
+ * Map AWS Identity and Access Management (IAM) accounts to database accounts
154
121
  *
155
122
  * @default - `false`
156
- * @experimental
157
123
  */
158
124
  readonly iamAuthentication?: boolean;
159
125
  /**
160
- * (experimental) Base identifier for instances.
126
+ * Base identifier for instances
161
127
  *
162
128
  * Every replica is named by appending the replica number to this string, 1-based.
163
129
  *
164
130
  * @default - `dbClusterName` is used with the word "Instance" appended. If `dbClusterName` is not provided, the
165
131
  * identifier is automatically generated.
166
- * @experimental
167
132
  */
168
133
  readonly instanceIdentifierBase?: string;
169
134
  /**
170
- * (experimental) What type of instance to start for the replicas.
171
- *
172
- * @experimental
135
+ * What type of instance to start for the replicas
173
136
  */
174
137
  readonly instanceType: InstanceType;
175
138
  /**
176
- * (experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
139
+ * A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
177
140
  *
178
141
  * @default - No role is attached to the cluster.
179
- * @experimental
180
142
  */
181
143
  readonly associatedRoles?: iam.IRole[];
182
144
  /**
183
- * (experimental) Indicates whether the DB cluster should have deletion protection enabled.
145
+ * Indicates whether the DB cluster should have deletion protection enabled.
184
146
  *
185
147
  * @default - true if ``removalPolicy`` is RETAIN, false otherwise
186
- * @experimental
187
148
  */
188
149
  readonly deletionProtection?: boolean;
189
150
  /**
190
- * (experimental) A weekly time range in which maintenance should preferably execute.
151
+ * A weekly time range in which maintenance should preferably execute.
191
152
  *
192
153
  * Must be at least 30 minutes long.
193
154
  *
@@ -195,290 +156,190 @@ export interface DatabaseClusterProps {
195
156
  *
196
157
  * @default - 30-minute window selected at random from an 8-hour block of time for
197
158
  * each AWS Region, occurring on a random day of the week.
198
- * @experimental
199
159
  */
200
160
  readonly preferredMaintenanceWindow?: string;
201
161
  /**
202
- * (experimental) Additional parameters to pass to the database engine.
162
+ * Additional parameters to pass to the database engine
203
163
  *
204
164
  * @default - No parameter group.
205
- * @experimental
206
165
  */
207
166
  readonly clusterParameterGroup?: IClusterParameterGroup;
208
167
  /**
209
- * (experimental) The DB parameter group to associate with the instance.
168
+ * The DB parameter group to associate with the instance.
210
169
  *
211
170
  * @default no parameter group
212
- * @experimental
213
171
  */
214
172
  readonly parameterGroup?: IParameterGroup;
215
173
  /**
216
- * (experimental) Existing subnet group for the cluster.
174
+ * Existing subnet group for the cluster.
217
175
  *
218
176
  * @default - a new subnet group will be created.
219
- * @experimental
220
177
  */
221
178
  readonly subnetGroup?: ISubnetGroup;
222
179
  /**
223
- * (experimental) What subnets to run the Neptune instances in.
180
+ * What subnets to run the Neptune instances in.
224
181
  *
225
182
  * Must be at least 2 subnets in two different AZs.
226
- *
227
- * @experimental
228
183
  */
229
184
  readonly vpc: ec2.IVpc;
230
185
  /**
231
- * (experimental) Where to place the instances within the VPC.
186
+ * Where to place the instances within the VPC
232
187
  *
233
188
  * @default private subnets
234
- * @experimental
235
189
  */
236
190
  readonly vpcSubnets?: ec2.SubnetSelection;
237
191
  /**
238
- * (experimental) Security group.
192
+ * Security group.
239
193
  *
240
194
  * @default a new security group is created.
241
- * @experimental
242
195
  */
243
196
  readonly securityGroups?: ec2.ISecurityGroup[];
244
197
  /**
245
- * (experimental) The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.
246
- *
247
- * This
198
+ * The removal policy to apply when the cluster and its instances are removed
199
+ * or replaced during a stack update, or when the stack is deleted. This
248
200
  * removal policy also applies to the implicit security group created for the
249
201
  * cluster if one is not supplied as a parameter.
250
202
  *
251
203
  * @default - Retain cluster.
252
- * @experimental
253
204
  */
254
205
  readonly removalPolicy?: RemovalPolicy;
255
206
  /**
256
- * (experimental) If set to true, Neptune will automatically update the engine of the entire cluster to the latest minor version after a stabilization window of 2 to 3 weeks.
207
+ * If set to true, Neptune will automatically update the engine of the entire
208
+ * cluster to the latest minor version after a stabilization window of 2 to 3 weeks.
257
209
  *
258
210
  * @default - false
259
- * @experimental
260
211
  */
261
212
  readonly autoMinorVersionUpgrade?: boolean;
262
213
  }
263
214
  /**
264
- * (experimental) Create a clustered database with a given number of instances.
265
- *
266
- * @experimental
215
+ * Create a clustered database with a given number of instances.
267
216
  */
268
217
  export interface IDatabaseCluster extends IResource, ec2.IConnectable {
269
218
  /**
270
- * (experimental) Identifier of the cluster.
271
- *
272
- * @experimental
219
+ * Identifier of the cluster
273
220
  */
274
221
  readonly clusterIdentifier: string;
275
222
  /**
276
- * (experimental) Resource identifier of the cluster.
277
- *
278
- * @experimental
223
+ * Resource identifier of the cluster
279
224
  * @attribute ClusterResourceId
280
225
  */
281
226
  readonly clusterResourceIdentifier: string;
282
227
  /**
283
- * (experimental) The endpoint to use for read/write operations.
284
- *
285
- * @experimental
228
+ * The endpoint to use for read/write operations
286
229
  * @attribute Endpoint,Port
287
230
  */
288
231
  readonly clusterEndpoint: Endpoint;
289
232
  /**
290
- * (experimental) Endpoint to use for load-balanced read-only operations.
291
- *
292
- * @experimental
233
+ * Endpoint to use for load-balanced read-only operations.
293
234
  * @attribute ReadEndpoint
294
235
  */
295
236
  readonly clusterReadEndpoint: Endpoint;
296
237
  /**
297
- * (experimental) Grant the given identity connection access to the database.
298
- *
299
- * @experimental
238
+ * Grant the given identity connection access to the database.
300
239
  */
301
240
  grantConnect(grantee: iam.IGrantable): iam.Grant;
302
241
  }
303
242
  /**
304
- * (experimental) Properties that describe an existing cluster instance.
305
- *
306
- * @experimental
243
+ * Properties that describe an existing cluster instance
307
244
  */
308
245
  export interface DatabaseClusterAttributes {
309
246
  /**
310
- * (experimental) The database port.
311
- *
312
- * @experimental
247
+ * The database port
313
248
  */
314
249
  readonly port: number;
315
250
  /**
316
- * (experimental) The security group of the database cluster.
317
- *
318
- * @experimental
251
+ * The security group of the database cluster
319
252
  */
320
253
  readonly securityGroup: ec2.ISecurityGroup;
321
254
  /**
322
- * (experimental) Identifier for the cluster.
323
- *
324
- * @experimental
255
+ * Identifier for the cluster
325
256
  */
326
257
  readonly clusterIdentifier: string;
327
258
  /**
328
- * (experimental) Resource Identifier for the cluster.
329
- *
330
- * @experimental
259
+ * Resource Identifier for the cluster
331
260
  */
332
261
  readonly clusterResourceIdentifier: string;
333
262
  /**
334
- * (experimental) Cluster endpoint address.
335
- *
336
- * @experimental
263
+ * Cluster endpoint address
337
264
  */
338
265
  readonly clusterEndpointAddress: string;
339
266
  /**
340
- * (experimental) Reader endpoint address.
341
- *
342
- * @experimental
267
+ * Reader endpoint address
343
268
  */
344
269
  readonly readerEndpointAddress: string;
345
270
  }
346
271
  /**
347
- * (experimental) A new or imported database cluster.
348
- *
349
- * @experimental
272
+ * A new or imported database cluster.
350
273
  */
351
274
  export declare abstract class DatabaseClusterBase extends Resource implements IDatabaseCluster {
352
275
  /**
353
- * (experimental) Import an existing DatabaseCluster from properties.
354
- *
355
- * @experimental
276
+ * Import an existing DatabaseCluster from properties
356
277
  */
357
278
  static fromDatabaseClusterAttributes(scope: Construct, id: string, attrs: DatabaseClusterAttributes): IDatabaseCluster;
358
279
  /**
359
- * (experimental) Identifier of the cluster.
360
- *
361
- * @experimental
280
+ * Identifier of the cluster
362
281
  */
363
282
  abstract readonly clusterIdentifier: string;
364
283
  /**
365
- * (experimental) Resource identifier of the cluster.
366
- *
367
- * @experimental
284
+ * Resource identifier of the cluster
368
285
  */
369
286
  abstract readonly clusterResourceIdentifier: string;
370
287
  /**
371
- * (experimental) The endpoint to use for read/write operations.
372
- *
373
- * @experimental
288
+ * The endpoint to use for read/write operations
374
289
  */
375
290
  abstract readonly clusterEndpoint: Endpoint;
376
291
  /**
377
- * (experimental) Endpoint to use for load-balanced read-only operations.
378
- *
379
- * @experimental
292
+ * Endpoint to use for load-balanced read-only operations.
380
293
  */
381
294
  abstract readonly clusterReadEndpoint: Endpoint;
382
295
  /**
383
- * (experimental) The connections object to implement IConnectable.
384
- *
385
- * @experimental
296
+ * The connections object to implement IConnectable
386
297
  */
387
298
  abstract readonly connections: ec2.Connections;
388
- /**
389
- * @experimental
390
- */
391
299
  protected abstract enableIamAuthentication?: boolean;
392
- /**
393
- * (experimental) Grant the given identity connection access to the database.
394
- *
395
- * @experimental
396
- */
397
300
  grantConnect(grantee: iam.IGrantable): iam.Grant;
398
301
  }
399
302
  /**
400
- * (experimental) Create a clustered database with a given number of instances.
303
+ * Create a clustered database with a given number of instances.
401
304
  *
402
- * @experimental
403
305
  * @resource AWS::Neptune::DBCluster
404
306
  */
405
307
  export declare class DatabaseCluster extends DatabaseClusterBase implements IDatabaseCluster {
406
308
  /**
407
- * (experimental) The default number of instances in the Neptune cluster if none are specified.
408
- *
409
- * @experimental
309
+ * The default number of instances in the Neptune cluster if none are
310
+ * specified
410
311
  */
411
312
  static readonly DEFAULT_NUM_INSTANCES = 1;
412
- /**
413
- * (experimental) Identifier of the cluster.
414
- *
415
- * @experimental
416
- */
417
313
  readonly clusterIdentifier: string;
418
- /**
419
- * (experimental) The endpoint to use for read/write operations.
420
- *
421
- * @experimental
422
- */
423
314
  readonly clusterEndpoint: Endpoint;
424
- /**
425
- * (experimental) Endpoint to use for load-balanced read-only operations.
426
- *
427
- * @experimental
428
- */
429
315
  readonly clusterReadEndpoint: Endpoint;
430
- /**
431
- * (experimental) The connections object to implement IConnectable.
432
- *
433
- * @experimental
434
- */
435
316
  readonly connections: ec2.Connections;
436
317
  /**
437
- * (experimental) The resource id for the cluster;
438
- *
439
- * for example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely
318
+ * The resource id for the cluster; for example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely
440
319
  * identifies the cluster and is used in things like IAM authentication policies.
441
- *
442
- * @experimental
443
320
  * @attribute ClusterResourceId
444
321
  */
445
322
  readonly clusterResourceIdentifier: string;
446
323
  /**
447
- * (experimental) The VPC where the DB subnet group is created.
448
- *
449
- * @experimental
324
+ * The VPC where the DB subnet group is created.
450
325
  */
451
326
  readonly vpc: ec2.IVpc;
452
327
  /**
453
- * (experimental) The subnets used by the DB subnet group.
454
- *
455
- * @experimental
328
+ * The subnets used by the DB subnet group.
456
329
  */
457
330
  readonly vpcSubnets: ec2.SubnetSelection;
458
331
  /**
459
- * (experimental) Subnet group used by the DB.
460
- *
461
- * @experimental
332
+ * Subnet group used by the DB
462
333
  */
463
334
  readonly subnetGroup: ISubnetGroup;
464
335
  /**
465
- * (experimental) Identifiers of the instance.
466
- *
467
- * @experimental
336
+ * Identifiers of the instance
468
337
  */
469
338
  readonly instanceIdentifiers: string[];
470
339
  /**
471
- * (experimental) Endpoints which address each individual instance.
472
- *
473
- * @experimental
340
+ * Endpoints which address each individual instance.
474
341
  */
475
342
  readonly instanceEndpoints: Endpoint[];
476
- /**
477
- * @experimental
478
- */
479
343
  protected enableIamAuthentication?: boolean;
480
- /**
481
- * @experimental
482
- */
483
344
  constructor(scope: Construct, id: string, props: DatabaseClusterProps);
484
345
  }