@aws-cdk/aws-msk-alpha 2.0.0-rc.23 → 2.3.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 +232 -1468
- package/.jsii.tabl.json +806 -0
- package/.warnings.jsii.js +91 -0
- package/README.md +8 -14
- package/lib/cluster-version.d.ts +12 -0
- package/lib/cluster-version.js +14 -2
- package/lib/cluster.js +7 -3
- package/package.json +13 -15
- package/rosetta/_generated.ts-fixture +6 -0
package/.jsii.tabl.json
ADDED
|
@@ -0,0 +1,806 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2",
|
|
3
|
+
"toolVersion": "1.47.0",
|
|
4
|
+
"snippets": {
|
|
5
|
+
"cb840666411d496d311c8046f0d8eb51caa3fa8f1ee32506c1aadd00010fde54": {
|
|
6
|
+
"translations": {
|
|
7
|
+
"python": {
|
|
8
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = Cluster(self, \"Cluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc\n)",
|
|
9
|
+
"version": "1"
|
|
10
|
+
},
|
|
11
|
+
"csharp": {
|
|
12
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"Cluster\", new Struct {\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc\n});",
|
|
13
|
+
"version": "1"
|
|
14
|
+
},
|
|
15
|
+
"java": {
|
|
16
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = Cluster.Builder.create(this, \"Cluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .build();",
|
|
17
|
+
"version": "1"
|
|
18
|
+
},
|
|
19
|
+
"$": {
|
|
20
|
+
"source": "import * as msk from '@aws-cdk/aws-msk-alpha';\n\nconst cluster = new Cluster(this, 'Cluster', {\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});",
|
|
21
|
+
"version": "0"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"location": {
|
|
25
|
+
"api": {
|
|
26
|
+
"api": "moduleReadme",
|
|
27
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
28
|
+
},
|
|
29
|
+
"field": {
|
|
30
|
+
"field": "markdown",
|
|
31
|
+
"line": 22
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"didCompile": false,
|
|
35
|
+
"fqnsReferenced": [
|
|
36
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
37
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1"
|
|
38
|
+
],
|
|
39
|
+
"fullSource": "import * as msk from '@aws-cdk/aws-msk-alpha';\n\nconst cluster = new Cluster(this, 'Cluster', {\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});",
|
|
40
|
+
"syntaxKindCounter": {
|
|
41
|
+
"10": 2,
|
|
42
|
+
"75": 8,
|
|
43
|
+
"104": 1,
|
|
44
|
+
"193": 1,
|
|
45
|
+
"194": 2,
|
|
46
|
+
"197": 1,
|
|
47
|
+
"225": 1,
|
|
48
|
+
"242": 1,
|
|
49
|
+
"243": 1,
|
|
50
|
+
"254": 1,
|
|
51
|
+
"255": 1,
|
|
52
|
+
"256": 1,
|
|
53
|
+
"281": 1,
|
|
54
|
+
"282": 1,
|
|
55
|
+
"290": 1
|
|
56
|
+
},
|
|
57
|
+
"fqnsFingerprint": "9f23e3e8621fe7b951e3d3d29c0dffe5b25784378000ea2898ac9bbcb9940caf"
|
|
58
|
+
},
|
|
59
|
+
"c345f8017c1c169b5642d6b3b9d887bb395c15f1f71cebb58b1119623320a7ff": {
|
|
60
|
+
"translations": {
|
|
61
|
+
"python": {
|
|
62
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\nimport aws_cdk.aws_ec2 as ec2\n\ncluster = msk.Cluster(self, \"Cluster\", ...)\n\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181))\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094))",
|
|
63
|
+
"version": "1"
|
|
64
|
+
},
|
|
65
|
+
"csharp": {
|
|
66
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps { ... });\n\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(2181));\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(9094));",
|
|
67
|
+
"version": "1"
|
|
68
|
+
},
|
|
69
|
+
"java": {
|
|
70
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")....build();\n\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(2181));\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(9094));",
|
|
71
|
+
"version": "1"
|
|
72
|
+
},
|
|
73
|
+
"$": {
|
|
74
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
75
|
+
"version": "0"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"location": {
|
|
79
|
+
"api": {
|
|
80
|
+
"api": "moduleReadme",
|
|
81
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
82
|
+
},
|
|
83
|
+
"field": {
|
|
84
|
+
"field": "markdown",
|
|
85
|
+
"line": 35
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"didCompile": false,
|
|
89
|
+
"fqnsReferenced": [
|
|
90
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
91
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
92
|
+
"aws-cdk-lib.aws_ec2.Connections#allowFrom",
|
|
93
|
+
"aws-cdk-lib.aws_ec2.IConnectable",
|
|
94
|
+
"aws-cdk-lib.aws_ec2.Peer",
|
|
95
|
+
"aws-cdk-lib.aws_ec2.Peer#ipv4",
|
|
96
|
+
"aws-cdk-lib.aws_ec2.Port",
|
|
97
|
+
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
98
|
+
],
|
|
99
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
100
|
+
"syntaxKindCounter": {
|
|
101
|
+
"8": 2,
|
|
102
|
+
"10": 5,
|
|
103
|
+
"75": 24,
|
|
104
|
+
"104": 1,
|
|
105
|
+
"193": 1,
|
|
106
|
+
"194": 13,
|
|
107
|
+
"196": 6,
|
|
108
|
+
"197": 1,
|
|
109
|
+
"225": 1,
|
|
110
|
+
"226": 2,
|
|
111
|
+
"242": 1,
|
|
112
|
+
"243": 1,
|
|
113
|
+
"254": 2,
|
|
114
|
+
"255": 2,
|
|
115
|
+
"256": 2,
|
|
116
|
+
"283": 1,
|
|
117
|
+
"290": 1
|
|
118
|
+
},
|
|
119
|
+
"fqnsFingerprint": "67290f70588d1fff401268bd54a30e78540fddb21a9fece28c5568d4066105dd"
|
|
120
|
+
},
|
|
121
|
+
"2ae2abef4b783b93c3df13edcc282e3030b82f3b879d2bb23bbb9d21a753a6ca": {
|
|
122
|
+
"translations": {
|
|
123
|
+
"python": {
|
|
124
|
+
"source": "cdk.CfnOutput(self, \"BootstrapBrokers\", value=cluster.bootstrap_brokers)\ncdk.CfnOutput(self, \"BootstrapBrokersTls\", value=cluster.bootstrap_brokers_tls)\ncdk.CfnOutput(self, \"BootstrapBrokersSaslScram\", value=cluster.bootstrap_brokers_sasl_scram)\ncdk.CfnOutput(self, \"ZookeeperConnection\", value=cluster.zookeeper_connection_string)\ncdk.CfnOutput(self, \"ZookeeperConnectionTls\", value=cluster.zookeeper_connection_string_tls)",
|
|
125
|
+
"version": "1"
|
|
126
|
+
},
|
|
127
|
+
"csharp": {
|
|
128
|
+
"source": "new cdk.CfnOutput(this, \"BootstrapBrokers\", new Struct { Value = cluster.BootstrapBrokers });\nnew cdk.CfnOutput(this, \"BootstrapBrokersTls\", new Struct { Value = cluster.BootstrapBrokersTls });\nnew cdk.CfnOutput(this, \"BootstrapBrokersSaslScram\", new Struct { Value = cluster.BootstrapBrokersSaslScram });\nnew cdk.CfnOutput(this, \"ZookeeperConnection\", new Struct { Value = cluster.ZookeeperConnectionString });\nnew cdk.CfnOutput(this, \"ZookeeperConnectionTls\", new Struct { Value = cluster.ZookeeperConnectionStringTls });",
|
|
129
|
+
"version": "1"
|
|
130
|
+
},
|
|
131
|
+
"java": {
|
|
132
|
+
"source": "CfnOutput.Builder.create(this, \"BootstrapBrokers\").value(cluster.getBootstrapBrokers()).build();\nCfnOutput.Builder.create(this, \"BootstrapBrokersTls\").value(cluster.getBootstrapBrokersTls()).build();\nCfnOutput.Builder.create(this, \"BootstrapBrokersSaslScram\").value(cluster.getBootstrapBrokersSaslScram()).build();\nCfnOutput.Builder.create(this, \"ZookeeperConnection\").value(cluster.getZookeeperConnectionString()).build();\nCfnOutput.Builder.create(this, \"ZookeeperConnectionTls\").value(cluster.getZookeeperConnectionStringTls()).build();",
|
|
133
|
+
"version": "1"
|
|
134
|
+
},
|
|
135
|
+
"$": {
|
|
136
|
+
"source": "new cdk.CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew cdk.CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew cdk.CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew cdk.CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew cdk.CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });",
|
|
137
|
+
"version": "0"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"location": {
|
|
141
|
+
"api": {
|
|
142
|
+
"api": "moduleReadme",
|
|
143
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
144
|
+
},
|
|
145
|
+
"field": {
|
|
146
|
+
"field": "markdown",
|
|
147
|
+
"line": 55
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"didCompile": false,
|
|
151
|
+
"fqnsReferenced": [],
|
|
152
|
+
"fullSource": "new cdk.CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew cdk.CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew cdk.CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew cdk.CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew cdk.CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });",
|
|
153
|
+
"syntaxKindCounter": {
|
|
154
|
+
"10": 5,
|
|
155
|
+
"75": 25,
|
|
156
|
+
"104": 5,
|
|
157
|
+
"193": 5,
|
|
158
|
+
"194": 10,
|
|
159
|
+
"197": 5,
|
|
160
|
+
"226": 5,
|
|
161
|
+
"281": 5,
|
|
162
|
+
"290": 1
|
|
163
|
+
},
|
|
164
|
+
"fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
165
|
+
},
|
|
166
|
+
"a29affc49768f714bab93625b38e2762b98c92a21742c9999ee1218fa4b5a92e": {
|
|
167
|
+
"translations": {
|
|
168
|
+
"python": {
|
|
169
|
+
"source": "cluster = msk.Cluster.from_cluster_arn(self, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\")",
|
|
170
|
+
"version": "1"
|
|
171
|
+
},
|
|
172
|
+
"csharp": {
|
|
173
|
+
"source": "var cluster = msk.Cluster.FromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
|
|
174
|
+
"version": "1"
|
|
175
|
+
},
|
|
176
|
+
"java": {
|
|
177
|
+
"source": "Object cluster = msk.Cluster.fromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
|
|
178
|
+
"version": "1"
|
|
179
|
+
},
|
|
180
|
+
"$": {
|
|
181
|
+
"source": "const cluster = msk.Cluster.fromClusterArn(this, 'Cluster', 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1')",
|
|
182
|
+
"version": "0"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"location": {
|
|
186
|
+
"api": {
|
|
187
|
+
"api": "moduleReadme",
|
|
188
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
189
|
+
},
|
|
190
|
+
"field": {
|
|
191
|
+
"field": "markdown",
|
|
192
|
+
"line": 67
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"didCompile": false,
|
|
196
|
+
"fqnsReferenced": [],
|
|
197
|
+
"fullSource": "const cluster = msk.Cluster.fromClusterArn(this, 'Cluster', 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1')",
|
|
198
|
+
"syntaxKindCounter": {
|
|
199
|
+
"10": 2,
|
|
200
|
+
"75": 4,
|
|
201
|
+
"104": 1,
|
|
202
|
+
"194": 2,
|
|
203
|
+
"196": 1,
|
|
204
|
+
"225": 1,
|
|
205
|
+
"242": 1,
|
|
206
|
+
"243": 1,
|
|
207
|
+
"290": 1
|
|
208
|
+
},
|
|
209
|
+
"fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
210
|
+
},
|
|
211
|
+
"f8a5f518f2706a7f376a52637709270c712e6c21b7b5c200abd7c50a44e51641": {
|
|
212
|
+
"translations": {
|
|
213
|
+
"python": {
|
|
214
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\nimport aws_cdk.aws_acmpca as acmpca\n\ncluster = msk.Cluster(self, \"Cluster\", msk.ClusterProps(\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n), {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.tls(\n certificate_authorities=[\n acmpca.CertificateAuthority.from_certificate_authority_arn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")\n ]\n))",
|
|
215
|
+
"version": "1"
|
|
216
|
+
},
|
|
217
|
+
"csharp": {
|
|
218
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.ACMPCA;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Dictionary<string, ClientBrokerEncryption> {\n { \"clientBroker\", ClientBrokerEncryption.TLS }\n}, clientAuthentication, ClientAuthentication.Tls(new TlsAuthProps {\n CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\") }\n}));",
|
|
219
|
+
"version": "1"
|
|
220
|
+
},
|
|
221
|
+
"java": {
|
|
222
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.acmpca.*;\n\nCluster cluster = new Cluster(this, \"Cluster\", ClusterProps.builder()\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n .build(), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.tls(TlsAuthProps.builder()\n .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")))\n .build()));",
|
|
223
|
+
"version": "1"
|
|
224
|
+
},
|
|
225
|
+
"$": {
|
|
226
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as acmpca from \"aws-cdk-lib/aws-acmpca\"\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n stack,\n \"CertificateAuthority\",\n \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\"\n ),\n ],\n }),\n });\n});",
|
|
227
|
+
"version": "0"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"location": {
|
|
231
|
+
"api": {
|
|
232
|
+
"api": "moduleReadme",
|
|
233
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
234
|
+
},
|
|
235
|
+
"field": {
|
|
236
|
+
"field": "markdown",
|
|
237
|
+
"line": 81
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"didCompile": false,
|
|
241
|
+
"fqnsReferenced": [
|
|
242
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
243
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
|
|
244
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
245
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
246
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
247
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
248
|
+
"@aws-cdk/aws-msk-alpha.TlsAuthProps",
|
|
249
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority",
|
|
250
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn"
|
|
251
|
+
],
|
|
252
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as acmpca from \"aws-cdk-lib/aws-acmpca\"\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n stack,\n \"CertificateAuthority\",\n \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\"\n ),\n ],\n }),\n });\n});",
|
|
253
|
+
"syntaxKindCounter": {
|
|
254
|
+
"10": 5,
|
|
255
|
+
"75": 19,
|
|
256
|
+
"104": 1,
|
|
257
|
+
"192": 1,
|
|
258
|
+
"193": 3,
|
|
259
|
+
"194": 7,
|
|
260
|
+
"196": 2,
|
|
261
|
+
"197": 1,
|
|
262
|
+
"224": 2,
|
|
263
|
+
"225": 1,
|
|
264
|
+
"242": 1,
|
|
265
|
+
"243": 1,
|
|
266
|
+
"254": 2,
|
|
267
|
+
"255": 2,
|
|
268
|
+
"256": 2,
|
|
269
|
+
"281": 2,
|
|
270
|
+
"283": 1,
|
|
271
|
+
"290": 1
|
|
272
|
+
},
|
|
273
|
+
"fqnsFingerprint": "474871a19edda892915562c7921bd05fecaec0a50b4fb3c32a88e0b00d7c2d83"
|
|
274
|
+
},
|
|
275
|
+
"fee7787184211e222b00054508278c2e83c9e80dc430cbb227fb5c6077468602": {
|
|
276
|
+
"translations": {
|
|
277
|
+
"python": {
|
|
278
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = msk.cluster(self, \"cluster\", {\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n}, {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.sasl(\n scram=True\n))",
|
|
279
|
+
"version": "1"
|
|
280
|
+
},
|
|
281
|
+
"csharp": {
|
|
282
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"cluster\", new Struct {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Struct {\n ClientBroker = ClientBrokerEncryption.TLS\n}, clientAuthentication, ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n}));",
|
|
283
|
+
"version": "1"
|
|
284
|
+
},
|
|
285
|
+
"java": {
|
|
286
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = new cluster(this, \"cluster\", Map.of(\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()));",
|
|
287
|
+
"version": "1"
|
|
288
|
+
},
|
|
289
|
+
"$": {
|
|
290
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
291
|
+
"version": "0"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"location": {
|
|
295
|
+
"api": {
|
|
296
|
+
"api": "moduleReadme",
|
|
297
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
298
|
+
},
|
|
299
|
+
"field": {
|
|
300
|
+
"field": "markdown",
|
|
301
|
+
"line": 107
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"didCompile": false,
|
|
305
|
+
"fqnsReferenced": [
|
|
306
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
307
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
308
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
309
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
310
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
311
|
+
],
|
|
312
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
313
|
+
"syntaxKindCounter": {
|
|
314
|
+
"10": 2,
|
|
315
|
+
"75": 14,
|
|
316
|
+
"104": 1,
|
|
317
|
+
"106": 1,
|
|
318
|
+
"193": 3,
|
|
319
|
+
"194": 5,
|
|
320
|
+
"196": 1,
|
|
321
|
+
"197": 1,
|
|
322
|
+
"225": 1,
|
|
323
|
+
"242": 1,
|
|
324
|
+
"243": 1,
|
|
325
|
+
"254": 1,
|
|
326
|
+
"255": 1,
|
|
327
|
+
"256": 1,
|
|
328
|
+
"281": 2,
|
|
329
|
+
"283": 1,
|
|
330
|
+
"290": 1
|
|
331
|
+
},
|
|
332
|
+
"fqnsFingerprint": "d6d3d03f55f7d623d0e33912d9f103782dd1cee34a145cd4e74ecf73c980a3fe"
|
|
333
|
+
},
|
|
334
|
+
"e6f7a12dfe227cb129f1aa5e7e0eb94a159d7f839e44227aca7cc01e3a229fba": {
|
|
335
|
+
"translations": {
|
|
336
|
+
"python": {
|
|
337
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = msk.cluster(self, \"cluster\", {\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n}, {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.sasl(\n iam=True\n))",
|
|
338
|
+
"version": "1"
|
|
339
|
+
},
|
|
340
|
+
"csharp": {
|
|
341
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"cluster\", new Struct {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Struct {\n ClientBroker = ClientBrokerEncryption.TLS\n}, clientAuthentication, ClientAuthentication.Sasl(new SaslAuthProps {\n Iam = true\n}));",
|
|
342
|
+
"version": "1"
|
|
343
|
+
},
|
|
344
|
+
"java": {
|
|
345
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = new cluster(this, \"cluster\", Map.of(\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()\n .iam(true)\n .build()));",
|
|
346
|
+
"version": "1"
|
|
347
|
+
},
|
|
348
|
+
"$": {
|
|
349
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n})",
|
|
350
|
+
"version": "0"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"location": {
|
|
354
|
+
"api": {
|
|
355
|
+
"api": "moduleReadme",
|
|
356
|
+
"moduleFqn": "@aws-cdk/aws-msk-alpha"
|
|
357
|
+
},
|
|
358
|
+
"field": {
|
|
359
|
+
"field": "markdown",
|
|
360
|
+
"line": 125
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"didCompile": false,
|
|
364
|
+
"fqnsReferenced": [
|
|
365
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
366
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
367
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
368
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
369
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
370
|
+
],
|
|
371
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n})",
|
|
372
|
+
"syntaxKindCounter": {
|
|
373
|
+
"10": 2,
|
|
374
|
+
"75": 14,
|
|
375
|
+
"104": 1,
|
|
376
|
+
"106": 1,
|
|
377
|
+
"193": 3,
|
|
378
|
+
"194": 5,
|
|
379
|
+
"196": 1,
|
|
380
|
+
"197": 1,
|
|
381
|
+
"225": 1,
|
|
382
|
+
"242": 1,
|
|
383
|
+
"243": 1,
|
|
384
|
+
"254": 1,
|
|
385
|
+
"255": 1,
|
|
386
|
+
"256": 1,
|
|
387
|
+
"281": 2,
|
|
388
|
+
"283": 1,
|
|
389
|
+
"290": 1
|
|
390
|
+
},
|
|
391
|
+
"fqnsFingerprint": "d6d3d03f55f7d623d0e33912d9f103782dd1cee34a145cd4e74ecf73c980a3fe"
|
|
392
|
+
},
|
|
393
|
+
"abc52bbc5650c79e6165ed74f972426ef4f5c398d51f916ab8e78ae00133b602": {
|
|
394
|
+
"translations": {
|
|
395
|
+
"python": {
|
|
396
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = msk.cluster(self, \"cluster\", {\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n}, {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.sasl(\n scram=True\n))",
|
|
397
|
+
"version": "1"
|
|
398
|
+
},
|
|
399
|
+
"csharp": {
|
|
400
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"cluster\", new Struct {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Struct {\n ClientBroker = ClientBrokerEncryption.TLS\n}, clientAuthentication, ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n}));",
|
|
401
|
+
"version": "1"
|
|
402
|
+
},
|
|
403
|
+
"java": {
|
|
404
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = new cluster(this, \"cluster\", Map.of(\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()));",
|
|
405
|
+
"version": "1"
|
|
406
|
+
},
|
|
407
|
+
"$": {
|
|
408
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
409
|
+
"version": "0"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"location": {
|
|
413
|
+
"api": {
|
|
414
|
+
"api": "type",
|
|
415
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClientAuthentication"
|
|
416
|
+
},
|
|
417
|
+
"field": {
|
|
418
|
+
"field": "example"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"didCompile": false,
|
|
422
|
+
"fqnsReferenced": [
|
|
423
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
424
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
425
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
426
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
427
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
428
|
+
],
|
|
429
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
430
|
+
"syntaxKindCounter": {
|
|
431
|
+
"10": 2,
|
|
432
|
+
"75": 14,
|
|
433
|
+
"104": 1,
|
|
434
|
+
"106": 1,
|
|
435
|
+
"193": 3,
|
|
436
|
+
"194": 5,
|
|
437
|
+
"196": 1,
|
|
438
|
+
"197": 1,
|
|
439
|
+
"225": 1,
|
|
440
|
+
"242": 1,
|
|
441
|
+
"243": 1,
|
|
442
|
+
"254": 1,
|
|
443
|
+
"255": 1,
|
|
444
|
+
"256": 1,
|
|
445
|
+
"281": 2,
|
|
446
|
+
"283": 1,
|
|
447
|
+
"290": 1
|
|
448
|
+
},
|
|
449
|
+
"fqnsFingerprint": "d6d3d03f55f7d623d0e33912d9f103782dd1cee34a145cd4e74ecf73c980a3fe"
|
|
450
|
+
},
|
|
451
|
+
"cff3b29e78a8161df7384a9caa5d2f6e46259df777c4d149896d9d7bdeafcbb6": {
|
|
452
|
+
"translations": {
|
|
453
|
+
"python": {
|
|
454
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = msk.cluster(self, \"cluster\", {\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n}, {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.sasl(\n scram=True\n))",
|
|
455
|
+
"version": "1"
|
|
456
|
+
},
|
|
457
|
+
"csharp": {
|
|
458
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"cluster\", new Struct {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Struct {\n ClientBroker = ClientBrokerEncryption.TLS\n}, clientAuthentication, ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n}));",
|
|
459
|
+
"version": "1"
|
|
460
|
+
},
|
|
461
|
+
"java": {
|
|
462
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = new cluster(this, \"cluster\", Map.of(\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()));",
|
|
463
|
+
"version": "1"
|
|
464
|
+
},
|
|
465
|
+
"$": {
|
|
466
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
467
|
+
"version": "0"
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"location": {
|
|
471
|
+
"api": {
|
|
472
|
+
"api": "type",
|
|
473
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption"
|
|
474
|
+
},
|
|
475
|
+
"field": {
|
|
476
|
+
"field": "example"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"didCompile": false,
|
|
480
|
+
"fqnsReferenced": [
|
|
481
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
482
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
483
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
484
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
485
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
486
|
+
],
|
|
487
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
488
|
+
"syntaxKindCounter": {
|
|
489
|
+
"10": 2,
|
|
490
|
+
"75": 14,
|
|
491
|
+
"104": 1,
|
|
492
|
+
"106": 1,
|
|
493
|
+
"193": 3,
|
|
494
|
+
"194": 5,
|
|
495
|
+
"196": 1,
|
|
496
|
+
"197": 1,
|
|
497
|
+
"225": 1,
|
|
498
|
+
"242": 1,
|
|
499
|
+
"243": 1,
|
|
500
|
+
"254": 1,
|
|
501
|
+
"255": 1,
|
|
502
|
+
"256": 1,
|
|
503
|
+
"281": 2,
|
|
504
|
+
"283": 1,
|
|
505
|
+
"290": 1
|
|
506
|
+
},
|
|
507
|
+
"fqnsFingerprint": "d6d3d03f55f7d623d0e33912d9f103782dd1cee34a145cd4e74ecf73c980a3fe"
|
|
508
|
+
},
|
|
509
|
+
"4fd574236b78643ddafe0c80388ea1a18b3c391617fcbbd998ac54cf88bd9825": {
|
|
510
|
+
"translations": {
|
|
511
|
+
"python": {
|
|
512
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\nimport aws_cdk.aws_ec2 as ec2\n\ncluster = msk.Cluster(self, \"Cluster\", ...)\n\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181))\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094))",
|
|
513
|
+
"version": "1"
|
|
514
|
+
},
|
|
515
|
+
"csharp": {
|
|
516
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps { ... });\n\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(2181));\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(9094));",
|
|
517
|
+
"version": "1"
|
|
518
|
+
},
|
|
519
|
+
"java": {
|
|
520
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")....build();\n\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(2181));\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(9094));",
|
|
521
|
+
"version": "1"
|
|
522
|
+
},
|
|
523
|
+
"$": {
|
|
524
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
525
|
+
"version": "0"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"location": {
|
|
529
|
+
"api": {
|
|
530
|
+
"api": "type",
|
|
531
|
+
"fqn": "@aws-cdk/aws-msk-alpha.Cluster"
|
|
532
|
+
},
|
|
533
|
+
"field": {
|
|
534
|
+
"field": "example"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"didCompile": false,
|
|
538
|
+
"fqnsReferenced": [
|
|
539
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
540
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
541
|
+
"aws-cdk-lib.aws_ec2.Connections#allowFrom",
|
|
542
|
+
"aws-cdk-lib.aws_ec2.IConnectable",
|
|
543
|
+
"aws-cdk-lib.aws_ec2.Peer",
|
|
544
|
+
"aws-cdk-lib.aws_ec2.Peer#ipv4",
|
|
545
|
+
"aws-cdk-lib.aws_ec2.Port",
|
|
546
|
+
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
547
|
+
],
|
|
548
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
549
|
+
"syntaxKindCounter": {
|
|
550
|
+
"8": 2,
|
|
551
|
+
"10": 5,
|
|
552
|
+
"75": 24,
|
|
553
|
+
"104": 1,
|
|
554
|
+
"193": 1,
|
|
555
|
+
"194": 13,
|
|
556
|
+
"196": 6,
|
|
557
|
+
"197": 1,
|
|
558
|
+
"225": 1,
|
|
559
|
+
"226": 2,
|
|
560
|
+
"242": 1,
|
|
561
|
+
"243": 1,
|
|
562
|
+
"254": 2,
|
|
563
|
+
"255": 2,
|
|
564
|
+
"256": 2,
|
|
565
|
+
"283": 1,
|
|
566
|
+
"290": 1
|
|
567
|
+
},
|
|
568
|
+
"fqnsFingerprint": "67290f70588d1fff401268bd54a30e78540fddb21a9fece28c5568d4066105dd"
|
|
569
|
+
},
|
|
570
|
+
"d3f01eb62169205f4e56402730360a1441a771303522aceacabd41e9d47b2106": {
|
|
571
|
+
"translations": {
|
|
572
|
+
"python": {
|
|
573
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\nimport aws_cdk.aws_ec2 as ec2\n\ncluster = msk.Cluster(self, \"Cluster\", ...)\n\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181))\ncluster.connections.allow_from(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094))",
|
|
574
|
+
"version": "1"
|
|
575
|
+
},
|
|
576
|
+
"csharp": {
|
|
577
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps { ... });\n\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(2181));\ncluster.Connections.AllowFrom(Peer.Ipv4(\"1.2.3.4/8\"), Port.Tcp(9094));",
|
|
578
|
+
"version": "1"
|
|
579
|
+
},
|
|
580
|
+
"java": {
|
|
581
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")....build();\n\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(2181));\ncluster.connections.allowFrom(Peer.ipv4(\"1.2.3.4/8\"), Port.tcp(9094));",
|
|
582
|
+
"version": "1"
|
|
583
|
+
},
|
|
584
|
+
"$": {
|
|
585
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
586
|
+
"version": "0"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"location": {
|
|
590
|
+
"api": {
|
|
591
|
+
"api": "type",
|
|
592
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClusterProps"
|
|
593
|
+
},
|
|
594
|
+
"field": {
|
|
595
|
+
"field": "example"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"didCompile": false,
|
|
599
|
+
"fqnsReferenced": [
|
|
600
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
601
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
602
|
+
"aws-cdk-lib.aws_ec2.Connections#allowFrom",
|
|
603
|
+
"aws-cdk-lib.aws_ec2.IConnectable",
|
|
604
|
+
"aws-cdk-lib.aws_ec2.Peer",
|
|
605
|
+
"aws-cdk-lib.aws_ec2.Peer#ipv4",
|
|
606
|
+
"aws-cdk-lib.aws_ec2.Port",
|
|
607
|
+
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
608
|
+
],
|
|
609
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as ec2 from \"aws-cdk-lib/aws-ec2\"\n\nconst cluster = new msk.Cluster(this, \"Cluster\", {...})\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(2181)\n)\ncluster.connections.allowFrom(\n ec2.Peer.ipv4(\"1.2.3.4/8\"),\n ec2.Port.tcp(9094)\n)",
|
|
610
|
+
"syntaxKindCounter": {
|
|
611
|
+
"8": 2,
|
|
612
|
+
"10": 5,
|
|
613
|
+
"75": 24,
|
|
614
|
+
"104": 1,
|
|
615
|
+
"193": 1,
|
|
616
|
+
"194": 13,
|
|
617
|
+
"196": 6,
|
|
618
|
+
"197": 1,
|
|
619
|
+
"225": 1,
|
|
620
|
+
"226": 2,
|
|
621
|
+
"242": 1,
|
|
622
|
+
"243": 1,
|
|
623
|
+
"254": 2,
|
|
624
|
+
"255": 2,
|
|
625
|
+
"256": 2,
|
|
626
|
+
"283": 1,
|
|
627
|
+
"290": 1
|
|
628
|
+
},
|
|
629
|
+
"fqnsFingerprint": "67290f70588d1fff401268bd54a30e78540fddb21a9fece28c5568d4066105dd"
|
|
630
|
+
},
|
|
631
|
+
"0ad6bfb0f65b51bb3c39ec12fec3fe8e1ba1e1b0bd508166193c12f2124caea6": {
|
|
632
|
+
"translations": {
|
|
633
|
+
"python": {
|
|
634
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = Cluster(self, \"Cluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc\n)",
|
|
635
|
+
"version": "1"
|
|
636
|
+
},
|
|
637
|
+
"csharp": {
|
|
638
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"Cluster\", new Struct {\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc\n});",
|
|
639
|
+
"version": "1"
|
|
640
|
+
},
|
|
641
|
+
"java": {
|
|
642
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = Cluster.Builder.create(this, \"Cluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .build();",
|
|
643
|
+
"version": "1"
|
|
644
|
+
},
|
|
645
|
+
"$": {
|
|
646
|
+
"source": "import * as msk from '@aws-cdk/aws-msk-alpha';\n\nconst cluster = new Cluster(this, 'Cluster', {\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});",
|
|
647
|
+
"version": "0"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"location": {
|
|
651
|
+
"api": {
|
|
652
|
+
"api": "type",
|
|
653
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
654
|
+
},
|
|
655
|
+
"field": {
|
|
656
|
+
"field": "example"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"didCompile": false,
|
|
660
|
+
"fqnsReferenced": [
|
|
661
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
662
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1"
|
|
663
|
+
],
|
|
664
|
+
"fullSource": "import * as msk from '@aws-cdk/aws-msk-alpha';\n\nconst cluster = new Cluster(this, 'Cluster', {\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});",
|
|
665
|
+
"syntaxKindCounter": {
|
|
666
|
+
"10": 2,
|
|
667
|
+
"75": 8,
|
|
668
|
+
"104": 1,
|
|
669
|
+
"193": 1,
|
|
670
|
+
"194": 2,
|
|
671
|
+
"197": 1,
|
|
672
|
+
"225": 1,
|
|
673
|
+
"242": 1,
|
|
674
|
+
"243": 1,
|
|
675
|
+
"254": 1,
|
|
676
|
+
"255": 1,
|
|
677
|
+
"256": 1,
|
|
678
|
+
"281": 1,
|
|
679
|
+
"282": 1,
|
|
680
|
+
"290": 1
|
|
681
|
+
},
|
|
682
|
+
"fqnsFingerprint": "9f23e3e8621fe7b951e3d3d29c0dffe5b25784378000ea2898ac9bbcb9940caf"
|
|
683
|
+
},
|
|
684
|
+
"d68e073610bf9fd607121c4de45d0a9eefee66b21670bbc4644342c02bd7395d": {
|
|
685
|
+
"translations": {
|
|
686
|
+
"python": {
|
|
687
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\n\ncluster = msk.cluster(self, \"cluster\", {\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n}, {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.sasl(\n scram=True\n))",
|
|
688
|
+
"version": "1"
|
|
689
|
+
},
|
|
690
|
+
"csharp": {
|
|
691
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\n\nvar cluster = new Cluster(this, \"cluster\", new Struct {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Struct {\n ClientBroker = ClientBrokerEncryption.TLS\n}, clientAuthentication, ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n}));",
|
|
692
|
+
"version": "1"
|
|
693
|
+
},
|
|
694
|
+
"java": {
|
|
695
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\n\nObject cluster = new cluster(this, \"cluster\", Map.of(\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()));",
|
|
696
|
+
"version": "1"
|
|
697
|
+
},
|
|
698
|
+
"$": {
|
|
699
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
700
|
+
"version": "0"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"location": {
|
|
704
|
+
"api": {
|
|
705
|
+
"api": "type",
|
|
706
|
+
"fqn": "@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
707
|
+
},
|
|
708
|
+
"field": {
|
|
709
|
+
"field": "example"
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"didCompile": false,
|
|
713
|
+
"fqnsReferenced": [
|
|
714
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
715
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
716
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
717
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
718
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps"
|
|
719
|
+
],
|
|
720
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\n\nconst cluster = new msk.cluster(this, \"cluster\", {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n})",
|
|
721
|
+
"syntaxKindCounter": {
|
|
722
|
+
"10": 2,
|
|
723
|
+
"75": 14,
|
|
724
|
+
"104": 1,
|
|
725
|
+
"106": 1,
|
|
726
|
+
"193": 3,
|
|
727
|
+
"194": 5,
|
|
728
|
+
"196": 1,
|
|
729
|
+
"197": 1,
|
|
730
|
+
"225": 1,
|
|
731
|
+
"242": 1,
|
|
732
|
+
"243": 1,
|
|
733
|
+
"254": 1,
|
|
734
|
+
"255": 1,
|
|
735
|
+
"256": 1,
|
|
736
|
+
"281": 2,
|
|
737
|
+
"283": 1,
|
|
738
|
+
"290": 1
|
|
739
|
+
},
|
|
740
|
+
"fqnsFingerprint": "d6d3d03f55f7d623d0e33912d9f103782dd1cee34a145cd4e74ecf73c980a3fe"
|
|
741
|
+
},
|
|
742
|
+
"d3d0ae1b223997ca0853812e111fa44cbc96c58d2b12626416a77ce5c910627d": {
|
|
743
|
+
"translations": {
|
|
744
|
+
"python": {
|
|
745
|
+
"source": "import aws_cdk.aws_msk_alpha as msk\nimport aws_cdk.aws_acmpca as acmpca\n\ncluster = msk.Cluster(self, \"Cluster\", msk.ClusterProps(\n (SpreadAssignment ...\n encryptionInTransit\n encryption_in_transit)\n), {\n \"client_broker\": msk.ClientBrokerEncryption.TLS\n}, client_authentication, msk.ClientAuthentication.tls(\n certificate_authorities=[\n acmpca.CertificateAuthority.from_certificate_authority_arn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")\n ]\n))",
|
|
746
|
+
"version": "1"
|
|
747
|
+
},
|
|
748
|
+
"csharp": {
|
|
749
|
+
"source": "using Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.ACMPCA;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n}, new Dictionary<string, ClientBrokerEncryption> {\n { \"clientBroker\", ClientBrokerEncryption.TLS }\n}, clientAuthentication, ClientAuthentication.Tls(new TlsAuthProps {\n CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\") }\n}));",
|
|
750
|
+
"version": "1"
|
|
751
|
+
},
|
|
752
|
+
"java": {
|
|
753
|
+
"source": "import software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.acmpca.*;\n\nCluster cluster = new Cluster(this, \"Cluster\", ClusterProps.builder()\n (SpreadAssignment ...\n encryptionInTransit\n encryptionInTransit)\n .build(), Map.of(\n \"clientBroker\", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.tls(TlsAuthProps.builder()\n .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(stack, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")))\n .build()));",
|
|
754
|
+
"version": "1"
|
|
755
|
+
},
|
|
756
|
+
"$": {
|
|
757
|
+
"source": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as acmpca from \"aws-cdk-lib/aws-acmpca\"\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n stack,\n \"CertificateAuthority\",\n \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\"\n ),\n ],\n }),\n });\n});",
|
|
758
|
+
"version": "0"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"location": {
|
|
762
|
+
"api": {
|
|
763
|
+
"api": "type",
|
|
764
|
+
"fqn": "@aws-cdk/aws-msk-alpha.TlsAuthProps"
|
|
765
|
+
},
|
|
766
|
+
"field": {
|
|
767
|
+
"field": "example"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"didCompile": false,
|
|
771
|
+
"fqnsReferenced": [
|
|
772
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
773
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
|
|
774
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
775
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
776
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
777
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
778
|
+
"@aws-cdk/aws-msk-alpha.TlsAuthProps",
|
|
779
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority",
|
|
780
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn"
|
|
781
|
+
],
|
|
782
|
+
"fullSource": "import * as msk from \"@aws-cdk/aws-msk-alpha\"\nimport * as acmpca from \"aws-cdk-lib/aws-acmpca\"\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n ...\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n stack,\n \"CertificateAuthority\",\n \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\"\n ),\n ],\n }),\n });\n});",
|
|
783
|
+
"syntaxKindCounter": {
|
|
784
|
+
"10": 5,
|
|
785
|
+
"75": 19,
|
|
786
|
+
"104": 1,
|
|
787
|
+
"192": 1,
|
|
788
|
+
"193": 3,
|
|
789
|
+
"194": 7,
|
|
790
|
+
"196": 2,
|
|
791
|
+
"197": 1,
|
|
792
|
+
"224": 2,
|
|
793
|
+
"225": 1,
|
|
794
|
+
"242": 1,
|
|
795
|
+
"243": 1,
|
|
796
|
+
"254": 2,
|
|
797
|
+
"255": 2,
|
|
798
|
+
"256": 2,
|
|
799
|
+
"281": 2,
|
|
800
|
+
"283": 1,
|
|
801
|
+
"290": 1
|
|
802
|
+
},
|
|
803
|
+
"fqnsFingerprint": "474871a19edda892915562c7921bd05fecaec0a50b4fb3c32a88e0b00d7c2d83"
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
}
|