@aws-cdk/aws-redshift-alpha 2.235.1-alpha.0 → 2.236.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/.jsii +8 -8
- package/.jsii.tabl.json.gz +0 -0
- package/awslint.json +4 -1
- package/lib/cluster.js +1 -1
- package/lib/database-secret.js +1 -1
- package/lib/endpoint.d.ts +1 -1
- package/lib/endpoint.js +68 -22
- package/lib/parameter-group.js +1 -1
- package/lib/subnet-group.js +1 -1
- package/lib/table.js +1 -1
- package/lib/user.js +1 -1
- package/package.json +8 -8
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.236.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -8470,7 +8470,7 @@
|
|
|
8470
8470
|
"stability": "experimental"
|
|
8471
8471
|
},
|
|
8472
8472
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
8473
|
-
"jsiiVersion": "5.9.
|
|
8473
|
+
"jsiiVersion": "5.9.23 (build 29252a0)",
|
|
8474
8474
|
"keywords": [
|
|
8475
8475
|
"aws",
|
|
8476
8476
|
"cdk",
|
|
@@ -10526,7 +10526,7 @@
|
|
|
10526
10526
|
},
|
|
10527
10527
|
"locationInModule": {
|
|
10528
10528
|
"filename": "lib/endpoint.ts",
|
|
10529
|
-
"line":
|
|
10529
|
+
"line": 29
|
|
10530
10530
|
},
|
|
10531
10531
|
"parameters": [
|
|
10532
10532
|
{
|
|
@@ -10546,7 +10546,7 @@
|
|
|
10546
10546
|
"kind": "class",
|
|
10547
10547
|
"locationInModule": {
|
|
10548
10548
|
"filename": "lib/endpoint.ts",
|
|
10549
|
-
"line":
|
|
10549
|
+
"line": 9
|
|
10550
10550
|
},
|
|
10551
10551
|
"name": "Endpoint",
|
|
10552
10552
|
"properties": [
|
|
@@ -10558,7 +10558,7 @@
|
|
|
10558
10558
|
"immutable": true,
|
|
10559
10559
|
"locationInModule": {
|
|
10560
10560
|
"filename": "lib/endpoint.ts",
|
|
10561
|
-
"line":
|
|
10561
|
+
"line": 13
|
|
10562
10562
|
},
|
|
10563
10563
|
"name": "hostname",
|
|
10564
10564
|
"type": {
|
|
@@ -10573,7 +10573,7 @@
|
|
|
10573
10573
|
"immutable": true,
|
|
10574
10574
|
"locationInModule": {
|
|
10575
10575
|
"filename": "lib/endpoint.ts",
|
|
10576
|
-
"line":
|
|
10576
|
+
"line": 18
|
|
10577
10577
|
},
|
|
10578
10578
|
"name": "port",
|
|
10579
10579
|
"type": {
|
|
@@ -10588,7 +10588,7 @@
|
|
|
10588
10588
|
"immutable": true,
|
|
10589
10589
|
"locationInModule": {
|
|
10590
10590
|
"filename": "lib/endpoint.ts",
|
|
10591
|
-
"line":
|
|
10591
|
+
"line": 23
|
|
10592
10592
|
},
|
|
10593
10593
|
"name": "socketAddress",
|
|
10594
10594
|
"type": {
|
|
@@ -12353,6 +12353,6 @@
|
|
|
12353
12353
|
"symbolId": "lib/user:UserProps"
|
|
12354
12354
|
}
|
|
12355
12355
|
},
|
|
12356
|
-
"version": "2.
|
|
12356
|
+
"version": "2.236.0-alpha.0",
|
|
12357
12357
|
"fingerprint": "**********"
|
|
12358
12358
|
}
|
package/.jsii.tabl.json.gz
CHANGED
|
Binary file
|
package/awslint.json
CHANGED
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
"prefer-ref-interface:@aws-cdk/aws-redshift-alpha.UserAttributes.adminUser",
|
|
46
46
|
"prefer-ref-interface:@aws-cdk/aws-redshift-alpha.UserProps.cluster",
|
|
47
47
|
"prefer-ref-interface:@aws-cdk/aws-redshift-alpha.UserProps.adminUser",
|
|
48
|
-
"prefer-ref-interface:@aws-cdk/aws-redshift-alpha.UserProps.encryptionKey"
|
|
48
|
+
"prefer-ref-interface:@aws-cdk/aws-redshift-alpha.UserProps.encryptionKey",
|
|
49
|
+
"interface-extends-ref:@aws-cdk/aws-redshift-alpha.ICluster",
|
|
50
|
+
"interface-extends-ref:@aws-cdk/aws-redshift-alpha.IClusterParameterGroup",
|
|
51
|
+
"interface-extends-ref:@aws-cdk/aws-redshift-alpha.IClusterSubnetGroup"
|
|
49
52
|
]
|
|
50
53
|
}
|
package/lib/cluster.js
CHANGED
|
@@ -201,7 +201,7 @@ let Cluster = (() => {
|
|
|
201
201
|
Cluster = _classThis = _classDescriptor.value;
|
|
202
202
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
203
203
|
}
|
|
204
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.Cluster", version: "2.
|
|
204
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.Cluster", version: "2.236.0-alpha.0" };
|
|
205
205
|
/** Uniquely identifies this class. */
|
|
206
206
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-redshift-alpha.Cluster';
|
|
207
207
|
/**
|
package/lib/database-secret.js
CHANGED
|
@@ -59,7 +59,7 @@ let DatabaseSecret = (() => {
|
|
|
59
59
|
DatabaseSecret = _classThis = _classDescriptor.value;
|
|
60
60
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
61
61
|
}
|
|
62
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.DatabaseSecret", version: "2.
|
|
62
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.DatabaseSecret", version: "2.236.0-alpha.0" };
|
|
63
63
|
/** Uniquely identifies this class. */
|
|
64
64
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-redshift-alpha.DatabaseSecret';
|
|
65
65
|
constructor(scope, id, props) {
|
package/lib/endpoint.d.ts
CHANGED
package/lib/endpoint.js
CHANGED
|
@@ -1,33 +1,79 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
|
3
|
+
var useValue = arguments.length > 2;
|
|
4
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
5
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
6
|
+
}
|
|
7
|
+
return useValue ? value : void 0;
|
|
8
|
+
};
|
|
9
|
+
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
10
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
11
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
12
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
13
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
14
|
+
var _, done = false;
|
|
15
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
16
|
+
var context = {};
|
|
17
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
18
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
19
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
20
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
21
|
+
if (kind === "accessor") {
|
|
22
|
+
if (result === void 0) continue;
|
|
23
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
24
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
25
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
26
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
27
|
+
}
|
|
28
|
+
else if (_ = accept(result)) {
|
|
29
|
+
if (kind === "field") initializers.unshift(_);
|
|
30
|
+
else descriptor[key] = _;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
34
|
+
done = true;
|
|
35
|
+
};
|
|
2
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
37
|
exports.Endpoint = void 0;
|
|
4
38
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
5
39
|
const core_1 = require("aws-cdk-lib/core");
|
|
40
|
+
const helpers_internal_1 = require("aws-cdk-lib/core/lib/helpers-internal");
|
|
6
41
|
/**
|
|
7
42
|
* Connection endpoint of a redshift cluster
|
|
8
43
|
*
|
|
9
44
|
* Consists of a combination of hostname and port.
|
|
10
45
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
46
|
+
let Endpoint = (() => {
|
|
47
|
+
let _instanceExtraInitializers = [];
|
|
48
|
+
let _get_socketAddress_decorators;
|
|
49
|
+
return class Endpoint {
|
|
50
|
+
static {
|
|
51
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
|
|
52
|
+
_get_socketAddress_decorators = [helpers_internal_1.memoizedGetter];
|
|
53
|
+
__esDecorate(this, null, _get_socketAddress_decorators, { kind: "getter", name: "socketAddress", static: false, private: false, access: { has: obj => "socketAddress" in obj, get: obj => obj.socketAddress }, metadata: _metadata }, null, _instanceExtraInitializers);
|
|
54
|
+
if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
55
|
+
}
|
|
56
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.Endpoint", version: "2.236.0-alpha.0" };
|
|
57
|
+
/**
|
|
58
|
+
* The hostname of the endpoint
|
|
59
|
+
*/
|
|
60
|
+
hostname = __runInitializers(this, _instanceExtraInitializers);
|
|
61
|
+
/**
|
|
62
|
+
* The port of the endpoint
|
|
63
|
+
*/
|
|
64
|
+
port;
|
|
65
|
+
/**
|
|
66
|
+
* The combination of "HOSTNAME:PORT" for this endpoint
|
|
67
|
+
*/
|
|
68
|
+
get socketAddress() {
|
|
69
|
+
const portDesc = core_1.Token.isUnresolved(this.port) ? core_1.Token.asString(this.port) : this.port;
|
|
70
|
+
return `${this.hostname}:${portDesc}`;
|
|
71
|
+
}
|
|
72
|
+
constructor(address, port) {
|
|
73
|
+
this.hostname = address;
|
|
74
|
+
this.port = port;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
})();
|
|
32
78
|
exports.Endpoint = Endpoint;
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbmRwb2ludC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDJDQUF5QztBQUN6Qyw0RUFBdUU7QUFFdkU7Ozs7R0FJRztJQUNVLFFBQVE7OztpQkFBUixRQUFROzs7NkNBY2xCLGlDQUFjO1lBQ2YsOExBQVcsYUFBYSw2REFHdkI7Ozs7UUFqQkQ7O1dBRUc7UUFDYSxRQUFRLEdBSmIsbURBQVEsQ0FJYztRQUVqQzs7V0FFRztRQUNh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O1xuXG4gIC8qKlxuICAgKiBUaGUgY29tYmluYXRpb24gb2YgXCJIT1NUTkFNRTpQT1JUXCIgZm9yIHRoaXMgZW5kcG9pbnRcbiAgICovXG4gIEBtZW1vaXplZEdldHRlclxuICBwdWJsaWMgZ2V0IHNvY2tldEFkZHJlc3MoKTogc3RyaW5nIHtcbiAgICBjb25zdCBwb3J0RGVzYyA9IFRva2VuLmlzVW5yZXNvbHZlZCh0aGlzLnBvcnQpID8gVG9rZW4uYXNTdHJpbmcodGhpcy5wb3J0KSA6IHRoaXMucG9ydDtcbiAgICByZXR1cm4gYCR7dGhpcy5ob3N0bmFtZX06JHtwb3J0RGVzY31gO1xuICB9XG5cbiAgY29uc3RydWN0b3IoYWRkcmVzczogc3RyaW5nLCBwb3J0OiBudW1iZXIpIHtcbiAgICB0aGlzLmhvc3RuYW1lID0gYWRkcmVzcztcbiAgICB0aGlzLnBvcnQgPSBwb3J0O1xuICB9XG59XG4iXX0=
|
package/lib/parameter-group.js
CHANGED
|
@@ -69,7 +69,7 @@ let ClusterParameterGroup = (() => {
|
|
|
69
69
|
ClusterParameterGroup = _classThis = _classDescriptor.value;
|
|
70
70
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
71
71
|
}
|
|
72
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.ClusterParameterGroup", version: "2.
|
|
72
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.ClusterParameterGroup", version: "2.236.0-alpha.0" };
|
|
73
73
|
/** Uniquely identifies this class. */
|
|
74
74
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-redshift-alpha.ClusterParameterGroup';
|
|
75
75
|
/**
|
package/lib/subnet-group.js
CHANGED
|
@@ -61,7 +61,7 @@ let ClusterSubnetGroup = (() => {
|
|
|
61
61
|
ClusterSubnetGroup = _classThis = _classDescriptor.value;
|
|
62
62
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
63
63
|
}
|
|
64
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.ClusterSubnetGroup", version: "2.
|
|
64
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.ClusterSubnetGroup", version: "2.236.0-alpha.0" };
|
|
65
65
|
/** Uniquely identifies this class. */
|
|
66
66
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-redshift-alpha.ClusterSubnetGroup';
|
|
67
67
|
/**
|
package/lib/table.js
CHANGED
|
@@ -54,7 +54,7 @@ class TableBase extends constructs_1.Construct {
|
|
|
54
54
|
* A table in a Redshift cluster.
|
|
55
55
|
*/
|
|
56
56
|
class Table extends TableBase {
|
|
57
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.Table", version: "2.
|
|
57
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.Table", version: "2.236.0-alpha.0" };
|
|
58
58
|
/**
|
|
59
59
|
* Specify a Redshift table using a table name and schema that already exists.
|
|
60
60
|
*/
|
package/lib/user.js
CHANGED
|
@@ -30,7 +30,7 @@ class UserBase extends constructs_1.Construct {
|
|
|
30
30
|
* A user in a Redshift cluster.
|
|
31
31
|
*/
|
|
32
32
|
class User extends UserBase {
|
|
33
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.User", version: "2.
|
|
33
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-redshift-alpha.User", version: "2.236.0-alpha.0" };
|
|
34
34
|
/**
|
|
35
35
|
* Specify a Redshift user using credentials that already exist.
|
|
36
36
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-redshift-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.236.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS::Redshift",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -85,22 +85,22 @@
|
|
|
85
85
|
},
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
89
|
-
"@aws-cdk/integ-runner": "^2.193.
|
|
90
|
-
"@aws-cdk/pkglint": "2.
|
|
91
|
-
"@aws-cdk/custom-resource-handlers": "2.
|
|
88
|
+
"@aws-cdk/cdk-build-tools": "2.236.0-alpha.0",
|
|
89
|
+
"@aws-cdk/integ-runner": "^2.193.5",
|
|
90
|
+
"@aws-cdk/pkglint": "2.236.0-alpha.0",
|
|
91
|
+
"@aws-cdk/custom-resource-handlers": "2.236.0-alpha.0",
|
|
92
92
|
"@aws-sdk/client-redshift": "3.632.0",
|
|
93
93
|
"@aws-sdk/client-redshift-data": "3.632.0",
|
|
94
94
|
"@aws-sdk/client-secrets-manager": "3.632.0",
|
|
95
95
|
"@types/jest": "^29.5.14",
|
|
96
|
-
"aws-cdk-lib": "2.
|
|
96
|
+
"aws-cdk-lib": "2.236.0",
|
|
97
97
|
"constructs": "^10.0.0",
|
|
98
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
98
|
+
"@aws-cdk/integ-tests-alpha": "2.236.0-alpha.0"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {},
|
|
101
101
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
102
102
|
"peerDependencies": {
|
|
103
|
-
"aws-cdk-lib": "^2.
|
|
103
|
+
"aws-cdk-lib": "^2.236.0",
|
|
104
104
|
"constructs": "^10.0.0"
|
|
105
105
|
},
|
|
106
106
|
"engines": {
|