@aws-cdk/aws-msk-alpha 2.3.0-alpha.0 → 2.7.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 +105 -32
- package/.jsii.tabl.json +673 -261
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +59 -51
- package/lib/cluster-version.d.ts +18 -0
- package/lib/cluster-version.js +20 -2
- package/lib/cluster.js +2 -2
- package/package.json +17 -10
- package/rosetta/default.ts-fixture +12 -0
package/.jsii.tabl.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.50.0",
|
|
4
4
|
"snippets": {
|
|
5
|
-
"
|
|
5
|
+
"751b9d3d4c86afa5c81487bacae95b3c74eaffe1747c6e690790dee5d2c2c080": {
|
|
6
6
|
"translations": {
|
|
7
7
|
"python": {
|
|
8
|
-
"source": "
|
|
8
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"Cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc\n)",
|
|
9
9
|
"version": "1"
|
|
10
10
|
},
|
|
11
11
|
"csharp": {
|
|
12
|
-
"source": "
|
|
12
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc\n});",
|
|
13
13
|
"version": "1"
|
|
14
14
|
},
|
|
15
15
|
"java": {
|
|
16
|
-
"source": "
|
|
16
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .build();",
|
|
17
17
|
"version": "1"
|
|
18
18
|
},
|
|
19
19
|
"$": {
|
|
20
|
-
"source": "
|
|
20
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});",
|
|
21
21
|
"version": "0"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -31,47 +31,50 @@
|
|
|
31
31
|
"line": 22
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"didCompile":
|
|
34
|
+
"didCompile": true,
|
|
35
35
|
"fqnsReferenced": [
|
|
36
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
37
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
36
38
|
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
37
|
-
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1"
|
|
39
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
40
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
38
41
|
],
|
|
39
|
-
"fullSource": "
|
|
42
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
40
43
|
"syntaxKindCounter": {
|
|
41
44
|
"10": 2,
|
|
42
|
-
"75":
|
|
45
|
+
"75": 12,
|
|
43
46
|
"104": 1,
|
|
47
|
+
"130": 1,
|
|
48
|
+
"153": 1,
|
|
49
|
+
"169": 1,
|
|
44
50
|
"193": 1,
|
|
45
|
-
"194":
|
|
51
|
+
"194": 3,
|
|
46
52
|
"197": 1,
|
|
47
|
-
"225":
|
|
48
|
-
"242":
|
|
49
|
-
"243":
|
|
50
|
-
"
|
|
51
|
-
"255": 1,
|
|
52
|
-
"256": 1,
|
|
53
|
-
"281": 1,
|
|
53
|
+
"225": 2,
|
|
54
|
+
"242": 2,
|
|
55
|
+
"243": 2,
|
|
56
|
+
"281": 2,
|
|
54
57
|
"282": 1,
|
|
55
58
|
"290": 1
|
|
56
59
|
},
|
|
57
|
-
"fqnsFingerprint": "
|
|
60
|
+
"fqnsFingerprint": "39bc9ee685c71fded536629d32d15529cc43a88ac06696a1198383e953d5e8b2"
|
|
58
61
|
},
|
|
59
|
-
"
|
|
62
|
+
"80f51b8fa4a546bc52dbc4c74672273ce919e51eacb16461ed23f1dcd55fbbfe": {
|
|
60
63
|
"translations": {
|
|
61
64
|
"python": {
|
|
62
|
-
"source": "
|
|
65
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"Cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc\n)\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
66
|
"version": "1"
|
|
64
67
|
},
|
|
65
68
|
"csharp": {
|
|
66
|
-
"source": "
|
|
69
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc\n});\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
70
|
"version": "1"
|
|
68
71
|
},
|
|
69
72
|
"java": {
|
|
70
|
-
"source": "
|
|
73
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .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
74
|
"version": "1"
|
|
72
75
|
},
|
|
73
76
|
"$": {
|
|
74
|
-
"source": "
|
|
77
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});\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
78
|
"version": "0"
|
|
76
79
|
}
|
|
77
80
|
},
|
|
@@ -85,55 +88,59 @@
|
|
|
85
88
|
"line": 35
|
|
86
89
|
}
|
|
87
90
|
},
|
|
88
|
-
"didCompile":
|
|
91
|
+
"didCompile": true,
|
|
89
92
|
"fqnsReferenced": [
|
|
90
93
|
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
91
94
|
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
95
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
96
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
92
97
|
"aws-cdk-lib.aws_ec2.Connections#allowFrom",
|
|
93
98
|
"aws-cdk-lib.aws_ec2.IConnectable",
|
|
99
|
+
"aws-cdk-lib.aws_ec2.IVpc",
|
|
94
100
|
"aws-cdk-lib.aws_ec2.Peer",
|
|
95
101
|
"aws-cdk-lib.aws_ec2.Peer#ipv4",
|
|
96
102
|
"aws-cdk-lib.aws_ec2.Port",
|
|
97
103
|
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
98
104
|
],
|
|
99
|
-
"fullSource": "
|
|
105
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n});\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);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
100
106
|
"syntaxKindCounter": {
|
|
101
107
|
"8": 2,
|
|
102
|
-
"10":
|
|
103
|
-
"75":
|
|
108
|
+
"10": 4,
|
|
109
|
+
"75": 30,
|
|
104
110
|
"104": 1,
|
|
111
|
+
"130": 1,
|
|
112
|
+
"153": 1,
|
|
113
|
+
"169": 1,
|
|
105
114
|
"193": 1,
|
|
106
|
-
"194":
|
|
115
|
+
"194": 15,
|
|
107
116
|
"196": 6,
|
|
108
117
|
"197": 1,
|
|
109
|
-
"225":
|
|
118
|
+
"225": 2,
|
|
110
119
|
"226": 2,
|
|
111
|
-
"242":
|
|
112
|
-
"243":
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"256": 2,
|
|
116
|
-
"283": 1,
|
|
120
|
+
"242": 2,
|
|
121
|
+
"243": 2,
|
|
122
|
+
"281": 2,
|
|
123
|
+
"282": 1,
|
|
117
124
|
"290": 1
|
|
118
125
|
},
|
|
119
|
-
"fqnsFingerprint": "
|
|
126
|
+
"fqnsFingerprint": "547c04b9583c58ce90bbaa7941afbe6987bdf54414b60e81519f44a6cf92db47"
|
|
120
127
|
},
|
|
121
|
-
"
|
|
128
|
+
"d6108f621764f957eb0cf713c39f22d9562c6e38447aa52a89ca3f716e71e4d0": {
|
|
122
129
|
"translations": {
|
|
123
130
|
"python": {
|
|
124
|
-
"source": "
|
|
131
|
+
"source": "# cluster is of type Cluster\n\nCfnOutput(self, \"BootstrapBrokers\", value=cluster.bootstrap_brokers)\nCfnOutput(self, \"BootstrapBrokersTls\", value=cluster.bootstrap_brokers_tls)\nCfnOutput(self, \"BootstrapBrokersSaslScram\", value=cluster.bootstrap_brokers_sasl_scram)\nCfnOutput(self, \"ZookeeperConnection\", value=cluster.zookeeper_connection_string)\nCfnOutput(self, \"ZookeeperConnectionTls\", value=cluster.zookeeper_connection_string_tls)",
|
|
125
132
|
"version": "1"
|
|
126
133
|
},
|
|
127
134
|
"csharp": {
|
|
128
|
-
"source": "
|
|
135
|
+
"source": "Cluster cluster;\n\nnew CfnOutput(this, \"BootstrapBrokers\", new CfnOutputProps { Value = cluster.BootstrapBrokers });\nnew CfnOutput(this, \"BootstrapBrokersTls\", new CfnOutputProps { Value = cluster.BootstrapBrokersTls });\nnew CfnOutput(this, \"BootstrapBrokersSaslScram\", new CfnOutputProps { Value = cluster.BootstrapBrokersSaslScram });\nnew CfnOutput(this, \"ZookeeperConnection\", new CfnOutputProps { Value = cluster.ZookeeperConnectionString });\nnew CfnOutput(this, \"ZookeeperConnectionTls\", new CfnOutputProps { Value = cluster.ZookeeperConnectionStringTls });",
|
|
129
136
|
"version": "1"
|
|
130
137
|
},
|
|
131
138
|
"java": {
|
|
132
|
-
"source": "
|
|
139
|
+
"source": "Cluster cluster;\n\nCfnOutput.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
140
|
"version": "1"
|
|
134
141
|
},
|
|
135
142
|
"$": {
|
|
136
|
-
"source": "
|
|
143
|
+
"source": "declare const cluster: msk.Cluster;\nnew CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });",
|
|
137
144
|
"version": "0"
|
|
138
145
|
}
|
|
139
146
|
},
|
|
@@ -144,41 +151,50 @@
|
|
|
144
151
|
},
|
|
145
152
|
"field": {
|
|
146
153
|
"field": "markdown",
|
|
147
|
-
"line":
|
|
154
|
+
"line": 57
|
|
148
155
|
}
|
|
149
156
|
},
|
|
150
|
-
"didCompile":
|
|
151
|
-
"fqnsReferenced": [
|
|
152
|
-
|
|
157
|
+
"didCompile": true,
|
|
158
|
+
"fqnsReferenced": [
|
|
159
|
+
"aws-cdk-lib.CfnOutput",
|
|
160
|
+
"aws-cdk-lib.CfnOutputProps"
|
|
161
|
+
],
|
|
162
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cluster: msk.Cluster;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nnew CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
153
163
|
"syntaxKindCounter": {
|
|
154
164
|
"10": 5,
|
|
155
|
-
"75":
|
|
165
|
+
"75": 23,
|
|
156
166
|
"104": 5,
|
|
167
|
+
"130": 1,
|
|
168
|
+
"153": 1,
|
|
169
|
+
"169": 1,
|
|
157
170
|
"193": 5,
|
|
158
|
-
"194":
|
|
171
|
+
"194": 5,
|
|
159
172
|
"197": 5,
|
|
173
|
+
"225": 1,
|
|
160
174
|
"226": 5,
|
|
175
|
+
"242": 1,
|
|
176
|
+
"243": 1,
|
|
161
177
|
"281": 5,
|
|
162
178
|
"290": 1
|
|
163
179
|
},
|
|
164
|
-
"fqnsFingerprint": "
|
|
180
|
+
"fqnsFingerprint": "a2e5d7eab265238359719615bc88190bb00814ca95ad959d5843259854c03639"
|
|
165
181
|
},
|
|
166
|
-
"
|
|
182
|
+
"8330183226f60b5d2b09ce4affbf604a60460dad74c0044c637c0fed77cd44a4": {
|
|
167
183
|
"translations": {
|
|
168
184
|
"python": {
|
|
169
185
|
"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
186
|
"version": "1"
|
|
171
187
|
},
|
|
172
188
|
"csharp": {
|
|
173
|
-
"source": "
|
|
189
|
+
"source": "ICluster cluster = Cluster.FromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
|
|
174
190
|
"version": "1"
|
|
175
191
|
},
|
|
176
192
|
"java": {
|
|
177
|
-
"source": "
|
|
193
|
+
"source": "ICluster cluster = Cluster.fromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
|
|
178
194
|
"version": "1"
|
|
179
195
|
},
|
|
180
196
|
"$": {
|
|
181
|
-
"source": "const cluster = msk.Cluster.fromClusterArn(this, 'Cluster'
|
|
197
|
+
"source": "const cluster = msk.Cluster.fromClusterArn(this, 'Cluster',\n 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1',\n);",
|
|
182
198
|
"version": "0"
|
|
183
199
|
}
|
|
184
200
|
},
|
|
@@ -189,12 +205,16 @@
|
|
|
189
205
|
},
|
|
190
206
|
"field": {
|
|
191
207
|
"field": "markdown",
|
|
192
|
-
"line":
|
|
208
|
+
"line": 70
|
|
193
209
|
}
|
|
194
210
|
},
|
|
195
|
-
"didCompile":
|
|
196
|
-
"fqnsReferenced": [
|
|
197
|
-
|
|
211
|
+
"didCompile": true,
|
|
212
|
+
"fqnsReferenced": [
|
|
213
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
214
|
+
"@aws-cdk/aws-msk-alpha.Cluster#fromClusterArn",
|
|
215
|
+
"@aws-cdk/aws-msk-alpha.ICluster"
|
|
216
|
+
],
|
|
217
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = msk.Cluster.fromClusterArn(this, 'Cluster',\n 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1',\n);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
198
218
|
"syntaxKindCounter": {
|
|
199
219
|
"10": 2,
|
|
200
220
|
"75": 4,
|
|
@@ -203,27 +223,26 @@
|
|
|
203
223
|
"196": 1,
|
|
204
224
|
"225": 1,
|
|
205
225
|
"242": 1,
|
|
206
|
-
"243": 1
|
|
207
|
-
"290": 1
|
|
226
|
+
"243": 1
|
|
208
227
|
},
|
|
209
|
-
"fqnsFingerprint": "
|
|
228
|
+
"fqnsFingerprint": "59310ced1775efc82741a9ff261bc196fe9d1640fe21e571be131389e5d0b569"
|
|
210
229
|
},
|
|
211
|
-
"
|
|
230
|
+
"e884778546491097d36c3d147b400c75217b54e4f09c8d3a4fb48f69bf9f48c6": {
|
|
212
231
|
"translations": {
|
|
213
232
|
"python": {
|
|
214
|
-
"source": "import aws_cdk.
|
|
233
|
+
"source": "import aws_cdk.aws_acmpca as acmpca\n\n# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"Cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.tls(\n certificate_authorities=[\n acmpca.CertificateAuthority.from_certificate_authority_arn(self, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")\n ]\n )\n)",
|
|
215
234
|
"version": "1"
|
|
216
235
|
},
|
|
217
236
|
"csharp": {
|
|
218
|
-
"source": "using Amazon.CDK.AWS.
|
|
237
|
+
"source": "using Amazon.CDK.AWS.ACMPCA;\n\nVpc vpc;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Tls(new TlsAuthProps {\n CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(this, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\") }\n })\n});",
|
|
219
238
|
"version": "1"
|
|
220
239
|
},
|
|
221
240
|
"java": {
|
|
222
|
-
"source": "import software.amazon.awscdk.services.
|
|
241
|
+
"source": "import software.amazon.awscdk.services.acmpca.*;\n\nVpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.tls(TlsAuthProps.builder()\n .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(this, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")))\n .build()))\n .build();",
|
|
223
242
|
"version": "1"
|
|
224
243
|
},
|
|
225
244
|
"$": {
|
|
226
|
-
"source": "import * as
|
|
245
|
+
"source": "import * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});",
|
|
227
246
|
"version": "0"
|
|
228
247
|
}
|
|
229
248
|
},
|
|
@@ -234,10 +253,10 @@
|
|
|
234
253
|
},
|
|
235
254
|
"field": {
|
|
236
255
|
"field": "markdown",
|
|
237
|
-
"line":
|
|
256
|
+
"line": 86
|
|
238
257
|
}
|
|
239
258
|
},
|
|
240
|
-
"didCompile":
|
|
259
|
+
"didCompile": true,
|
|
241
260
|
"fqnsReferenced": [
|
|
242
261
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
243
262
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
|
|
@@ -245,49 +264,55 @@
|
|
|
245
264
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
246
265
|
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
247
266
|
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
267
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
268
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
269
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
248
270
|
"@aws-cdk/aws-msk-alpha.TlsAuthProps",
|
|
249
271
|
"aws-cdk-lib.aws_acmpca.CertificateAuthority",
|
|
250
|
-
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn"
|
|
272
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn",
|
|
273
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
251
274
|
],
|
|
252
|
-
"fullSource": "
|
|
275
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
253
276
|
"syntaxKindCounter": {
|
|
254
277
|
"10": 5,
|
|
255
|
-
"75":
|
|
256
|
-
"104":
|
|
278
|
+
"75": 26,
|
|
279
|
+
"104": 2,
|
|
280
|
+
"130": 1,
|
|
281
|
+
"153": 1,
|
|
282
|
+
"169": 1,
|
|
257
283
|
"192": 1,
|
|
258
284
|
"193": 3,
|
|
259
|
-
"194":
|
|
285
|
+
"194": 9,
|
|
260
286
|
"196": 2,
|
|
261
287
|
"197": 1,
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"283": 1,
|
|
288
|
+
"225": 2,
|
|
289
|
+
"242": 2,
|
|
290
|
+
"243": 2,
|
|
291
|
+
"254": 1,
|
|
292
|
+
"255": 1,
|
|
293
|
+
"256": 1,
|
|
294
|
+
"281": 6,
|
|
295
|
+
"282": 1,
|
|
271
296
|
"290": 1
|
|
272
297
|
},
|
|
273
|
-
"fqnsFingerprint": "
|
|
298
|
+
"fqnsFingerprint": "eab73dadc2ff38834a08074d7a73c59998ce7369d35e0e5ee6f22fe92aeed58a"
|
|
274
299
|
},
|
|
275
|
-
"
|
|
300
|
+
"6473cc4b25cddd0a6b21bd04668d63c816d37abc98e2ffc9784c6d276b80c241": {
|
|
276
301
|
"translations": {
|
|
277
302
|
"python": {
|
|
278
|
-
"source": "
|
|
303
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
279
304
|
"version": "1"
|
|
280
305
|
},
|
|
281
306
|
"csharp": {
|
|
282
|
-
"source": "
|
|
307
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
283
308
|
"version": "1"
|
|
284
309
|
},
|
|
285
310
|
"java": {
|
|
286
|
-
"source": "
|
|
311
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
287
312
|
"version": "1"
|
|
288
313
|
},
|
|
289
314
|
"$": {
|
|
290
|
-
"source": "
|
|
315
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
291
316
|
"version": "0"
|
|
292
317
|
}
|
|
293
318
|
},
|
|
@@ -298,55 +323,61 @@
|
|
|
298
323
|
},
|
|
299
324
|
"field": {
|
|
300
325
|
"field": "markdown",
|
|
301
|
-
"line":
|
|
326
|
+
"line": 113
|
|
302
327
|
}
|
|
303
328
|
},
|
|
304
|
-
"didCompile":
|
|
329
|
+
"didCompile": true,
|
|
305
330
|
"fqnsReferenced": [
|
|
306
331
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
307
332
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
308
333
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
309
334
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
310
|
-
"@aws-cdk/aws-msk-alpha.
|
|
335
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
336
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
337
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
338
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
339
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
340
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
341
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
311
342
|
],
|
|
312
|
-
"fullSource": "
|
|
343
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
313
344
|
"syntaxKindCounter": {
|
|
314
345
|
"10": 2,
|
|
315
|
-
"75":
|
|
346
|
+
"75": 22,
|
|
316
347
|
"104": 1,
|
|
317
348
|
"106": 1,
|
|
349
|
+
"130": 1,
|
|
350
|
+
"153": 1,
|
|
351
|
+
"169": 1,
|
|
318
352
|
"193": 3,
|
|
319
|
-
"194":
|
|
353
|
+
"194": 7,
|
|
320
354
|
"196": 1,
|
|
321
355
|
"197": 1,
|
|
322
|
-
"225":
|
|
323
|
-
"242":
|
|
324
|
-
"243":
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
-
"256": 1,
|
|
328
|
-
"281": 2,
|
|
329
|
-
"283": 1,
|
|
356
|
+
"225": 2,
|
|
357
|
+
"242": 2,
|
|
358
|
+
"243": 2,
|
|
359
|
+
"281": 6,
|
|
360
|
+
"282": 1,
|
|
330
361
|
"290": 1
|
|
331
362
|
},
|
|
332
|
-
"fqnsFingerprint": "
|
|
363
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
333
364
|
},
|
|
334
|
-
"
|
|
365
|
+
"ff4280f83da88b9826a806ac351865b90d9e26c988ee468ff6a9c34bab93f7cd": {
|
|
335
366
|
"translations": {
|
|
336
367
|
"python": {
|
|
337
|
-
"source": "
|
|
368
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n iam=True\n )\n)",
|
|
338
369
|
"version": "1"
|
|
339
370
|
},
|
|
340
371
|
"csharp": {
|
|
341
|
-
"source": "
|
|
372
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Iam = true\n })\n});",
|
|
342
373
|
"version": "1"
|
|
343
374
|
},
|
|
344
375
|
"java": {
|
|
345
|
-
"source": "
|
|
376
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .iam(true)\n .build()))\n .build();",
|
|
346
377
|
"version": "1"
|
|
347
378
|
},
|
|
348
379
|
"$": {
|
|
349
|
-
"source": "
|
|
380
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n});",
|
|
350
381
|
"version": "0"
|
|
351
382
|
}
|
|
352
383
|
},
|
|
@@ -357,55 +388,117 @@
|
|
|
357
388
|
},
|
|
358
389
|
"field": {
|
|
359
390
|
"field": "markdown",
|
|
360
|
-
"line":
|
|
391
|
+
"line": 132
|
|
361
392
|
}
|
|
362
393
|
},
|
|
363
|
-
"didCompile":
|
|
394
|
+
"didCompile": true,
|
|
364
395
|
"fqnsReferenced": [
|
|
365
396
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
366
397
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
367
398
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
368
399
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
369
|
-
"@aws-cdk/aws-msk-alpha.
|
|
400
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
401
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
402
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
403
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
404
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
405
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
406
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
370
407
|
],
|
|
371
|
-
"fullSource": "
|
|
408
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
372
409
|
"syntaxKindCounter": {
|
|
373
410
|
"10": 2,
|
|
374
|
-
"75":
|
|
411
|
+
"75": 22,
|
|
375
412
|
"104": 1,
|
|
376
413
|
"106": 1,
|
|
414
|
+
"130": 1,
|
|
415
|
+
"153": 1,
|
|
416
|
+
"169": 1,
|
|
377
417
|
"193": 3,
|
|
378
|
-
"194":
|
|
418
|
+
"194": 7,
|
|
379
419
|
"196": 1,
|
|
380
420
|
"197": 1,
|
|
381
|
-
"225":
|
|
382
|
-
"242":
|
|
383
|
-
"243":
|
|
384
|
-
"
|
|
385
|
-
"
|
|
421
|
+
"225": 2,
|
|
422
|
+
"242": 2,
|
|
423
|
+
"243": 2,
|
|
424
|
+
"281": 6,
|
|
425
|
+
"282": 1,
|
|
426
|
+
"290": 1
|
|
427
|
+
},
|
|
428
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
429
|
+
},
|
|
430
|
+
"88b7418011c4e900758130e11c31562b3097104145fbb989aae0316c16cf9934": {
|
|
431
|
+
"translations": {
|
|
432
|
+
"python": {
|
|
433
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_msk_alpha as msk_alpha\nfrom aws_cdk import aws_logs as logs\nfrom aws_cdk import aws_s3 as s3\n\n# bucket is of type Bucket\n# log_group is of type LogGroup\n\nbroker_logging = msk_alpha.BrokerLogging(\n cloudwatch_log_group=log_group,\n firehose_delivery_stream_name=\"firehoseDeliveryStreamName\",\n s3=msk_alpha.S3LoggingConfiguration(\n bucket=bucket,\n\n # the properties below are optional\n prefix=\"prefix\"\n )\n)",
|
|
434
|
+
"version": "1"
|
|
435
|
+
},
|
|
436
|
+
"csharp": {
|
|
437
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.Logs;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\nLogGroup logGroup;\n\nBrokerLogging brokerLogging = new BrokerLogging {\n CloudwatchLogGroup = logGroup,\n FirehoseDeliveryStreamName = \"firehoseDeliveryStreamName\",\n S3 = new S3LoggingConfiguration {\n Bucket = bucket,\n\n // the properties below are optional\n Prefix = \"prefix\"\n }\n};",
|
|
438
|
+
"version": "1"
|
|
439
|
+
},
|
|
440
|
+
"java": {
|
|
441
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.logs.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\nLogGroup logGroup;\n\nBrokerLogging brokerLogging = BrokerLogging.builder()\n .cloudwatchLogGroup(logGroup)\n .firehoseDeliveryStreamName(\"firehoseDeliveryStreamName\")\n .s3(S3LoggingConfiguration.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build())\n .build();",
|
|
442
|
+
"version": "1"
|
|
443
|
+
},
|
|
444
|
+
"$": {
|
|
445
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\ndeclare const logGroup: logs.LogGroup;\nconst brokerLogging: msk_alpha.BrokerLogging = {\n cloudwatchLogGroup: logGroup,\n firehoseDeliveryStreamName: 'firehoseDeliveryStreamName',\n s3: {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n },\n};",
|
|
446
|
+
"version": "0"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"location": {
|
|
450
|
+
"api": {
|
|
451
|
+
"api": "type",
|
|
452
|
+
"fqn": "@aws-cdk/aws-msk-alpha.BrokerLogging"
|
|
453
|
+
},
|
|
454
|
+
"field": {
|
|
455
|
+
"field": "example"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"didCompile": true,
|
|
459
|
+
"fqnsReferenced": [
|
|
460
|
+
"@aws-cdk/aws-msk-alpha.BrokerLogging",
|
|
461
|
+
"@aws-cdk/aws-msk-alpha.S3LoggingConfiguration",
|
|
462
|
+
"aws-cdk-lib.aws_logs.ILogGroup",
|
|
463
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
464
|
+
],
|
|
465
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\ndeclare const logGroup: logs.LogGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst brokerLogging: msk_alpha.BrokerLogging = {\n cloudwatchLogGroup: logGroup,\n firehoseDeliveryStreamName: 'firehoseDeliveryStreamName',\n s3: {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
466
|
+
"syntaxKindCounter": {
|
|
467
|
+
"10": 5,
|
|
468
|
+
"75": 21,
|
|
469
|
+
"130": 2,
|
|
470
|
+
"153": 3,
|
|
471
|
+
"169": 3,
|
|
472
|
+
"193": 2,
|
|
473
|
+
"225": 3,
|
|
474
|
+
"242": 3,
|
|
475
|
+
"243": 3,
|
|
476
|
+
"254": 3,
|
|
477
|
+
"255": 3,
|
|
386
478
|
"256": 1,
|
|
387
|
-
"
|
|
388
|
-
"
|
|
479
|
+
"257": 2,
|
|
480
|
+
"258": 2,
|
|
481
|
+
"281": 5,
|
|
389
482
|
"290": 1
|
|
390
483
|
},
|
|
391
|
-
"fqnsFingerprint": "
|
|
484
|
+
"fqnsFingerprint": "989a9894f69ab435d954c7873fffad36949cd422d36e38a91236d00dd370e7b1"
|
|
392
485
|
},
|
|
393
|
-
"
|
|
486
|
+
"1b506592a03e4321a2590bb92b1d40c2a3b08b1b7f4fc542a634d7ea180092a8": {
|
|
394
487
|
"translations": {
|
|
395
488
|
"python": {
|
|
396
|
-
"source": "
|
|
489
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
397
490
|
"version": "1"
|
|
398
491
|
},
|
|
399
492
|
"csharp": {
|
|
400
|
-
"source": "
|
|
493
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
401
494
|
"version": "1"
|
|
402
495
|
},
|
|
403
496
|
"java": {
|
|
404
|
-
"source": "
|
|
497
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
405
498
|
"version": "1"
|
|
406
499
|
},
|
|
407
500
|
"$": {
|
|
408
|
-
"source": "
|
|
501
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
409
502
|
"version": "0"
|
|
410
503
|
}
|
|
411
504
|
},
|
|
@@ -418,52 +511,58 @@
|
|
|
418
511
|
"field": "example"
|
|
419
512
|
}
|
|
420
513
|
},
|
|
421
|
-
"didCompile":
|
|
514
|
+
"didCompile": true,
|
|
422
515
|
"fqnsReferenced": [
|
|
423
516
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
424
517
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
425
518
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
426
519
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
427
|
-
"@aws-cdk/aws-msk-alpha.
|
|
520
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
521
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
522
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
523
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
524
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
525
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
526
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
428
527
|
],
|
|
429
|
-
"fullSource": "
|
|
528
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
430
529
|
"syntaxKindCounter": {
|
|
431
530
|
"10": 2,
|
|
432
|
-
"75":
|
|
531
|
+
"75": 22,
|
|
433
532
|
"104": 1,
|
|
434
533
|
"106": 1,
|
|
534
|
+
"130": 1,
|
|
535
|
+
"153": 1,
|
|
536
|
+
"169": 1,
|
|
435
537
|
"193": 3,
|
|
436
|
-
"194":
|
|
538
|
+
"194": 7,
|
|
437
539
|
"196": 1,
|
|
438
540
|
"197": 1,
|
|
439
|
-
"225":
|
|
440
|
-
"242":
|
|
441
|
-
"243":
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
-
"256": 1,
|
|
445
|
-
"281": 2,
|
|
446
|
-
"283": 1,
|
|
541
|
+
"225": 2,
|
|
542
|
+
"242": 2,
|
|
543
|
+
"243": 2,
|
|
544
|
+
"281": 6,
|
|
545
|
+
"282": 1,
|
|
447
546
|
"290": 1
|
|
448
547
|
},
|
|
449
|
-
"fqnsFingerprint": "
|
|
548
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
450
549
|
},
|
|
451
|
-
"
|
|
550
|
+
"dd782f7b5d131665544df13665a666c6ccd6395ad137dcd571d82e82fbfd4846": {
|
|
452
551
|
"translations": {
|
|
453
552
|
"python": {
|
|
454
|
-
"source": "
|
|
553
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
455
554
|
"version": "1"
|
|
456
555
|
},
|
|
457
556
|
"csharp": {
|
|
458
|
-
"source": "
|
|
557
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
459
558
|
"version": "1"
|
|
460
559
|
},
|
|
461
560
|
"java": {
|
|
462
|
-
"source": "
|
|
561
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
463
562
|
"version": "1"
|
|
464
563
|
},
|
|
465
564
|
"$": {
|
|
466
|
-
"source": "
|
|
565
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
467
566
|
"version": "0"
|
|
468
567
|
}
|
|
469
568
|
},
|
|
@@ -476,24 +575,146 @@
|
|
|
476
575
|
"field": "example"
|
|
477
576
|
}
|
|
478
577
|
},
|
|
479
|
-
"didCompile":
|
|
578
|
+
"didCompile": true,
|
|
480
579
|
"fqnsReferenced": [
|
|
481
580
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
482
581
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
483
582
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
484
583
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
485
|
-
"@aws-cdk/aws-msk-alpha.
|
|
584
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
585
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
586
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
587
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
588
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
589
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
590
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
486
591
|
],
|
|
487
|
-
"fullSource": "
|
|
592
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
488
593
|
"syntaxKindCounter": {
|
|
489
594
|
"10": 2,
|
|
490
|
-
"75":
|
|
595
|
+
"75": 22,
|
|
491
596
|
"104": 1,
|
|
492
597
|
"106": 1,
|
|
598
|
+
"130": 1,
|
|
599
|
+
"153": 1,
|
|
600
|
+
"169": 1,
|
|
493
601
|
"193": 3,
|
|
494
|
-
"194":
|
|
602
|
+
"194": 7,
|
|
495
603
|
"196": 1,
|
|
496
604
|
"197": 1,
|
|
605
|
+
"225": 2,
|
|
606
|
+
"242": 2,
|
|
607
|
+
"243": 2,
|
|
608
|
+
"281": 6,
|
|
609
|
+
"282": 1,
|
|
610
|
+
"290": 1
|
|
611
|
+
},
|
|
612
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
613
|
+
},
|
|
614
|
+
"e1622851fca018382002722cbcc82c9042347e9010aba0984d77396019db5ced": {
|
|
615
|
+
"translations": {
|
|
616
|
+
"python": {
|
|
617
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
618
|
+
"version": "1"
|
|
619
|
+
},
|
|
620
|
+
"csharp": {
|
|
621
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
622
|
+
"version": "1"
|
|
623
|
+
},
|
|
624
|
+
"java": {
|
|
625
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
626
|
+
"version": "1"
|
|
627
|
+
},
|
|
628
|
+
"$": {
|
|
629
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
630
|
+
"version": "0"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"location": {
|
|
634
|
+
"api": {
|
|
635
|
+
"api": "type",
|
|
636
|
+
"fqn": "@aws-cdk/aws-msk-alpha.Cluster"
|
|
637
|
+
},
|
|
638
|
+
"field": {
|
|
639
|
+
"field": "example"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"didCompile": true,
|
|
643
|
+
"fqnsReferenced": [
|
|
644
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
645
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
646
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
647
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
648
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
649
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
650
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
651
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
652
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
653
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
654
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
655
|
+
],
|
|
656
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
657
|
+
"syntaxKindCounter": {
|
|
658
|
+
"10": 2,
|
|
659
|
+
"75": 22,
|
|
660
|
+
"104": 1,
|
|
661
|
+
"106": 1,
|
|
662
|
+
"130": 1,
|
|
663
|
+
"153": 1,
|
|
664
|
+
"169": 1,
|
|
665
|
+
"193": 3,
|
|
666
|
+
"194": 7,
|
|
667
|
+
"196": 1,
|
|
668
|
+
"197": 1,
|
|
669
|
+
"225": 2,
|
|
670
|
+
"242": 2,
|
|
671
|
+
"243": 2,
|
|
672
|
+
"281": 6,
|
|
673
|
+
"282": 1,
|
|
674
|
+
"290": 1
|
|
675
|
+
},
|
|
676
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
677
|
+
},
|
|
678
|
+
"8888290d454b2f1c84cb95896d64bf084cbbc6f841bab461b3f4b81a18ddc6f9": {
|
|
679
|
+
"translations": {
|
|
680
|
+
"python": {
|
|
681
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_msk_alpha as msk_alpha\n\ncluster_configuration_info = msk_alpha.ClusterConfigurationInfo(\n arn=\"arn\",\n revision=123\n)",
|
|
682
|
+
"version": "1"
|
|
683
|
+
},
|
|
684
|
+
"csharp": {
|
|
685
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.MSK.Alpha;\n\nClusterConfigurationInfo clusterConfigurationInfo = new ClusterConfigurationInfo {\n Arn = \"arn\",\n Revision = 123\n};",
|
|
686
|
+
"version": "1"
|
|
687
|
+
},
|
|
688
|
+
"java": {
|
|
689
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.msk.alpha.*;\n\nClusterConfigurationInfo clusterConfigurationInfo = ClusterConfigurationInfo.builder()\n .arn(\"arn\")\n .revision(123)\n .build();",
|
|
690
|
+
"version": "1"
|
|
691
|
+
},
|
|
692
|
+
"$": {
|
|
693
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nconst clusterConfigurationInfo: msk_alpha.ClusterConfigurationInfo = {\n arn: 'arn',\n revision: 123,\n};",
|
|
694
|
+
"version": "0"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"location": {
|
|
698
|
+
"api": {
|
|
699
|
+
"api": "type",
|
|
700
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClusterConfigurationInfo"
|
|
701
|
+
},
|
|
702
|
+
"field": {
|
|
703
|
+
"field": "example"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"didCompile": true,
|
|
707
|
+
"fqnsReferenced": [
|
|
708
|
+
"@aws-cdk/aws-msk-alpha.ClusterConfigurationInfo"
|
|
709
|
+
],
|
|
710
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst clusterConfigurationInfo: msk_alpha.ClusterConfigurationInfo = {\n arn: 'arn',\n revision: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
711
|
+
"syntaxKindCounter": {
|
|
712
|
+
"8": 1,
|
|
713
|
+
"10": 2,
|
|
714
|
+
"75": 6,
|
|
715
|
+
"153": 1,
|
|
716
|
+
"169": 1,
|
|
717
|
+
"193": 1,
|
|
497
718
|
"225": 1,
|
|
498
719
|
"242": 1,
|
|
499
720
|
"243": 1,
|
|
@@ -501,149 +722,209 @@
|
|
|
501
722
|
"255": 1,
|
|
502
723
|
"256": 1,
|
|
503
724
|
"281": 2,
|
|
504
|
-
"283": 1,
|
|
505
725
|
"290": 1
|
|
506
726
|
},
|
|
507
|
-
"fqnsFingerprint": "
|
|
727
|
+
"fqnsFingerprint": "4bce1b7851c46792b1be92271a292a0647cf08ab1a9ff992cae1f2767916d745"
|
|
508
728
|
},
|
|
509
|
-
"
|
|
729
|
+
"38cbe181fb4820d2527fd23c10cd4bf40c1cdeb31c6848c65a7864c26f7991e1": {
|
|
510
730
|
"translations": {
|
|
511
731
|
"python": {
|
|
512
|
-
"source": "
|
|
732
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
513
733
|
"version": "1"
|
|
514
734
|
},
|
|
515
735
|
"csharp": {
|
|
516
|
-
"source": "
|
|
736
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
517
737
|
"version": "1"
|
|
518
738
|
},
|
|
519
739
|
"java": {
|
|
520
|
-
"source": "
|
|
740
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
521
741
|
"version": "1"
|
|
522
742
|
},
|
|
523
743
|
"$": {
|
|
524
|
-
"source": "
|
|
744
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
525
745
|
"version": "0"
|
|
526
746
|
}
|
|
527
747
|
},
|
|
528
748
|
"location": {
|
|
529
749
|
"api": {
|
|
530
750
|
"api": "type",
|
|
531
|
-
"fqn": "@aws-cdk/aws-msk-alpha.
|
|
751
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClusterProps"
|
|
532
752
|
},
|
|
533
753
|
"field": {
|
|
534
754
|
"field": "example"
|
|
535
755
|
}
|
|
536
756
|
},
|
|
537
|
-
"didCompile":
|
|
757
|
+
"didCompile": true,
|
|
538
758
|
"fqnsReferenced": [
|
|
759
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
760
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
761
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
762
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
539
763
|
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
540
764
|
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
541
|
-
"aws-cdk-
|
|
542
|
-
"aws-cdk-
|
|
543
|
-
"aws-cdk-
|
|
544
|
-
"aws-cdk-
|
|
545
|
-
"aws-cdk-lib.aws_ec2.
|
|
546
|
-
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
765
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
766
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
767
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
768
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
769
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
547
770
|
],
|
|
548
|
-
"fullSource": "
|
|
771
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
549
772
|
"syntaxKindCounter": {
|
|
550
|
-
"
|
|
551
|
-
"
|
|
552
|
-
"75": 24,
|
|
773
|
+
"10": 2,
|
|
774
|
+
"75": 22,
|
|
553
775
|
"104": 1,
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"
|
|
776
|
+
"106": 1,
|
|
777
|
+
"130": 1,
|
|
778
|
+
"153": 1,
|
|
779
|
+
"169": 1,
|
|
780
|
+
"193": 3,
|
|
781
|
+
"194": 7,
|
|
782
|
+
"196": 1,
|
|
557
783
|
"197": 1,
|
|
558
|
-
"225":
|
|
559
|
-
"
|
|
560
|
-
"
|
|
561
|
-
"
|
|
784
|
+
"225": 2,
|
|
785
|
+
"242": 2,
|
|
786
|
+
"243": 2,
|
|
787
|
+
"281": 6,
|
|
788
|
+
"282": 1,
|
|
789
|
+
"290": 1
|
|
790
|
+
},
|
|
791
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
792
|
+
},
|
|
793
|
+
"c6e128aabb3ac9937e6654bd018a9974402c4be71960628c3d254bc788c85dd6": {
|
|
794
|
+
"translations": {
|
|
795
|
+
"python": {
|
|
796
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_msk_alpha as msk_alpha\nfrom aws_cdk import aws_kms as kms\n\n# key is of type Key\n\nebs_storage_info = msk_alpha.EbsStorageInfo(\n encryption_key=key,\n volume_size=123\n)",
|
|
797
|
+
"version": "1"
|
|
798
|
+
},
|
|
799
|
+
"csharp": {
|
|
800
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.KMS;\n\nKey key;\n\nEbsStorageInfo ebsStorageInfo = new EbsStorageInfo {\n EncryptionKey = key,\n VolumeSize = 123\n};",
|
|
801
|
+
"version": "1"
|
|
802
|
+
},
|
|
803
|
+
"java": {
|
|
804
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.kms.*;\n\nKey key;\n\nEbsStorageInfo ebsStorageInfo = EbsStorageInfo.builder()\n .encryptionKey(key)\n .volumeSize(123)\n .build();",
|
|
805
|
+
"version": "1"
|
|
806
|
+
},
|
|
807
|
+
"$": {
|
|
808
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_kms as kms } from 'aws-cdk-lib';\n\ndeclare const key: kms.Key;\nconst ebsStorageInfo: msk_alpha.EbsStorageInfo = {\n encryptionKey: key,\n volumeSize: 123,\n};",
|
|
809
|
+
"version": "0"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"location": {
|
|
813
|
+
"api": {
|
|
814
|
+
"api": "type",
|
|
815
|
+
"fqn": "@aws-cdk/aws-msk-alpha.EbsStorageInfo"
|
|
816
|
+
},
|
|
817
|
+
"field": {
|
|
818
|
+
"field": "example"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"didCompile": true,
|
|
822
|
+
"fqnsReferenced": [
|
|
823
|
+
"@aws-cdk/aws-msk-alpha.EbsStorageInfo",
|
|
824
|
+
"aws-cdk-lib.aws_kms.IKey"
|
|
825
|
+
],
|
|
826
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_kms as kms } from 'aws-cdk-lib';\n\ndeclare const key: kms.Key;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst ebsStorageInfo: msk_alpha.EbsStorageInfo = {\n encryptionKey: key,\n volumeSize: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
827
|
+
"syntaxKindCounter": {
|
|
828
|
+
"8": 1,
|
|
829
|
+
"10": 2,
|
|
830
|
+
"75": 12,
|
|
831
|
+
"130": 1,
|
|
832
|
+
"153": 2,
|
|
833
|
+
"169": 2,
|
|
834
|
+
"193": 1,
|
|
835
|
+
"225": 2,
|
|
836
|
+
"242": 2,
|
|
837
|
+
"243": 2,
|
|
562
838
|
"254": 2,
|
|
563
839
|
"255": 2,
|
|
564
|
-
"256":
|
|
565
|
-
"
|
|
840
|
+
"256": 1,
|
|
841
|
+
"257": 1,
|
|
842
|
+
"258": 1,
|
|
843
|
+
"281": 2,
|
|
566
844
|
"290": 1
|
|
567
845
|
},
|
|
568
|
-
"fqnsFingerprint": "
|
|
846
|
+
"fqnsFingerprint": "840f7356d2c4fcbc922273763598415867d47aee489d33e1e2edee39405864b8"
|
|
569
847
|
},
|
|
570
|
-
"
|
|
848
|
+
"b7e8598b96b1b509a2f7bf56711bbb2eb04c32aaf728c688833a2cd39b11a241": {
|
|
571
849
|
"translations": {
|
|
572
850
|
"python": {
|
|
573
|
-
"source": "
|
|
851
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
574
852
|
"version": "1"
|
|
575
853
|
},
|
|
576
854
|
"csharp": {
|
|
577
|
-
"source": "
|
|
855
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
578
856
|
"version": "1"
|
|
579
857
|
},
|
|
580
858
|
"java": {
|
|
581
|
-
"source": "
|
|
859
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
582
860
|
"version": "1"
|
|
583
861
|
},
|
|
584
862
|
"$": {
|
|
585
|
-
"source": "
|
|
863
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
586
864
|
"version": "0"
|
|
587
865
|
}
|
|
588
866
|
},
|
|
589
867
|
"location": {
|
|
590
868
|
"api": {
|
|
591
869
|
"api": "type",
|
|
592
|
-
"fqn": "@aws-cdk/aws-msk-alpha.
|
|
870
|
+
"fqn": "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig"
|
|
593
871
|
},
|
|
594
872
|
"field": {
|
|
595
873
|
"field": "example"
|
|
596
874
|
}
|
|
597
875
|
},
|
|
598
|
-
"didCompile":
|
|
876
|
+
"didCompile": true,
|
|
599
877
|
"fqnsReferenced": [
|
|
878
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
879
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
880
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
881
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
600
882
|
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
601
883
|
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
602
|
-
"aws-cdk-
|
|
603
|
-
"aws-cdk-
|
|
604
|
-
"aws-cdk-
|
|
605
|
-
"aws-cdk-
|
|
606
|
-
"aws-cdk-lib.aws_ec2.
|
|
607
|
-
"aws-cdk-lib.aws_ec2.Port#tcp"
|
|
884
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
885
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
886
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
887
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
888
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
608
889
|
],
|
|
609
|
-
"fullSource": "
|
|
890
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
610
891
|
"syntaxKindCounter": {
|
|
611
|
-
"
|
|
612
|
-
"
|
|
613
|
-
"75": 24,
|
|
892
|
+
"10": 2,
|
|
893
|
+
"75": 22,
|
|
614
894
|
"104": 1,
|
|
615
|
-
"
|
|
616
|
-
"
|
|
617
|
-
"
|
|
895
|
+
"106": 1,
|
|
896
|
+
"130": 1,
|
|
897
|
+
"153": 1,
|
|
898
|
+
"169": 1,
|
|
899
|
+
"193": 3,
|
|
900
|
+
"194": 7,
|
|
901
|
+
"196": 1,
|
|
618
902
|
"197": 1,
|
|
619
|
-
"225":
|
|
620
|
-
"
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
"
|
|
624
|
-
"255": 2,
|
|
625
|
-
"256": 2,
|
|
626
|
-
"283": 1,
|
|
903
|
+
"225": 2,
|
|
904
|
+
"242": 2,
|
|
905
|
+
"243": 2,
|
|
906
|
+
"281": 6,
|
|
907
|
+
"282": 1,
|
|
627
908
|
"290": 1
|
|
628
909
|
},
|
|
629
|
-
"fqnsFingerprint": "
|
|
910
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
630
911
|
},
|
|
631
|
-
"
|
|
912
|
+
"9706bb7ec60ca26bf0565bb6843e9ecd368ba381302ba3c8475e30b62c651070": {
|
|
632
913
|
"translations": {
|
|
633
914
|
"python": {
|
|
634
|
-
"source": "
|
|
915
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
635
916
|
"version": "1"
|
|
636
917
|
},
|
|
637
918
|
"csharp": {
|
|
638
|
-
"source": "
|
|
919
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
639
920
|
"version": "1"
|
|
640
921
|
},
|
|
641
922
|
"java": {
|
|
642
|
-
"source": "
|
|
923
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
643
924
|
"version": "1"
|
|
644
925
|
},
|
|
645
926
|
"$": {
|
|
646
|
-
"source": "
|
|
927
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
647
928
|
"version": "0"
|
|
648
929
|
}
|
|
649
930
|
},
|
|
@@ -656,47 +937,166 @@
|
|
|
656
937
|
"field": "example"
|
|
657
938
|
}
|
|
658
939
|
},
|
|
659
|
-
"didCompile":
|
|
940
|
+
"didCompile": true,
|
|
660
941
|
"fqnsReferenced": [
|
|
942
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
943
|
+
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
944
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
945
|
+
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
946
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
947
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
948
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
661
949
|
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
662
|
-
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1"
|
|
950
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
951
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
952
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
663
953
|
],
|
|
664
|
-
"fullSource": "
|
|
954
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
665
955
|
"syntaxKindCounter": {
|
|
666
956
|
"10": 2,
|
|
667
|
-
"75":
|
|
957
|
+
"75": 22,
|
|
668
958
|
"104": 1,
|
|
959
|
+
"106": 1,
|
|
960
|
+
"130": 1,
|
|
961
|
+
"153": 1,
|
|
962
|
+
"169": 1,
|
|
963
|
+
"193": 3,
|
|
964
|
+
"194": 7,
|
|
965
|
+
"196": 1,
|
|
966
|
+
"197": 1,
|
|
967
|
+
"225": 2,
|
|
968
|
+
"242": 2,
|
|
969
|
+
"243": 2,
|
|
970
|
+
"281": 6,
|
|
971
|
+
"282": 1,
|
|
972
|
+
"290": 1
|
|
973
|
+
},
|
|
974
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
975
|
+
},
|
|
976
|
+
"5410896da3de0d4f9bec616d980ea951f621e4f32309a422fda56dbe6d125977": {
|
|
977
|
+
"translations": {
|
|
978
|
+
"python": {
|
|
979
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_msk_alpha as msk_alpha\n\nmonitoring_configuration = msk_alpha.MonitoringConfiguration(\n cluster_monitoring_level=msk_alpha.ClusterMonitoringLevel.DEFAULT,\n enable_prometheus_jmx_exporter=False,\n enable_prometheus_node_exporter=False\n)",
|
|
980
|
+
"version": "1"
|
|
981
|
+
},
|
|
982
|
+
"csharp": {
|
|
983
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.MSK.Alpha;\n\nMonitoringConfiguration monitoringConfiguration = new MonitoringConfiguration {\n ClusterMonitoringLevel = ClusterMonitoringLevel.DEFAULT,\n EnablePrometheusJmxExporter = false,\n EnablePrometheusNodeExporter = false\n};",
|
|
984
|
+
"version": "1"
|
|
985
|
+
},
|
|
986
|
+
"java": {
|
|
987
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.msk.alpha.*;\n\nMonitoringConfiguration monitoringConfiguration = MonitoringConfiguration.builder()\n .clusterMonitoringLevel(ClusterMonitoringLevel.DEFAULT)\n .enablePrometheusJmxExporter(false)\n .enablePrometheusNodeExporter(false)\n .build();",
|
|
988
|
+
"version": "1"
|
|
989
|
+
},
|
|
990
|
+
"$": {
|
|
991
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nconst monitoringConfiguration: msk_alpha.MonitoringConfiguration = {\n clusterMonitoringLevel: msk_alpha.ClusterMonitoringLevel.DEFAULT,\n enablePrometheusJmxExporter: false,\n enablePrometheusNodeExporter: false,\n};",
|
|
992
|
+
"version": "0"
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"location": {
|
|
996
|
+
"api": {
|
|
997
|
+
"api": "type",
|
|
998
|
+
"fqn": "@aws-cdk/aws-msk-alpha.MonitoringConfiguration"
|
|
999
|
+
},
|
|
1000
|
+
"field": {
|
|
1001
|
+
"field": "example"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"didCompile": true,
|
|
1005
|
+
"fqnsReferenced": [
|
|
1006
|
+
"@aws-cdk/aws-msk-alpha.ClusterMonitoringLevel",
|
|
1007
|
+
"@aws-cdk/aws-msk-alpha.ClusterMonitoringLevel#DEFAULT",
|
|
1008
|
+
"@aws-cdk/aws-msk-alpha.MonitoringConfiguration"
|
|
1009
|
+
],
|
|
1010
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst monitoringConfiguration: msk_alpha.MonitoringConfiguration = {\n clusterMonitoringLevel: msk_alpha.ClusterMonitoringLevel.DEFAULT,\n enablePrometheusJmxExporter: false,\n enablePrometheusNodeExporter: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1011
|
+
"syntaxKindCounter": {
|
|
1012
|
+
"10": 1,
|
|
1013
|
+
"75": 10,
|
|
1014
|
+
"91": 2,
|
|
1015
|
+
"153": 1,
|
|
1016
|
+
"169": 1,
|
|
669
1017
|
"193": 1,
|
|
670
1018
|
"194": 2,
|
|
671
|
-
"197": 1,
|
|
672
1019
|
"225": 1,
|
|
673
1020
|
"242": 1,
|
|
674
1021
|
"243": 1,
|
|
675
1022
|
"254": 1,
|
|
676
1023
|
"255": 1,
|
|
677
1024
|
"256": 1,
|
|
678
|
-
"281":
|
|
679
|
-
"
|
|
1025
|
+
"281": 3,
|
|
1026
|
+
"290": 1
|
|
1027
|
+
},
|
|
1028
|
+
"fqnsFingerprint": "3bca81424de8d7cc1f47d1cce71a658d46254ac4f690ef598343fedd3284ac54"
|
|
1029
|
+
},
|
|
1030
|
+
"dda542434653872c193e06489d396f34226d26f4df7f5a15d2bc2faec4bcf5c2": {
|
|
1031
|
+
"translations": {
|
|
1032
|
+
"python": {
|
|
1033
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_msk_alpha as msk_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket is of type Bucket\n\ns3_logging_configuration = msk_alpha.S3LoggingConfiguration(\n bucket=bucket,\n\n # the properties below are optional\n prefix=\"prefix\"\n)",
|
|
1034
|
+
"version": "1"
|
|
1035
|
+
},
|
|
1036
|
+
"csharp": {
|
|
1037
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.MSK.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\n\nS3LoggingConfiguration s3LoggingConfiguration = new S3LoggingConfiguration {\n Bucket = bucket,\n\n // the properties below are optional\n Prefix = \"prefix\"\n};",
|
|
1038
|
+
"version": "1"
|
|
1039
|
+
},
|
|
1040
|
+
"java": {
|
|
1041
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.msk.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\n\nS3LoggingConfiguration s3LoggingConfiguration = S3LoggingConfiguration.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build();",
|
|
1042
|
+
"version": "1"
|
|
1043
|
+
},
|
|
1044
|
+
"$": {
|
|
1045
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst s3LoggingConfiguration: msk_alpha.S3LoggingConfiguration = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};",
|
|
1046
|
+
"version": "0"
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
"location": {
|
|
1050
|
+
"api": {
|
|
1051
|
+
"api": "type",
|
|
1052
|
+
"fqn": "@aws-cdk/aws-msk-alpha.S3LoggingConfiguration"
|
|
1053
|
+
},
|
|
1054
|
+
"field": {
|
|
1055
|
+
"field": "example"
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
"didCompile": true,
|
|
1059
|
+
"fqnsReferenced": [
|
|
1060
|
+
"@aws-cdk/aws-msk-alpha.S3LoggingConfiguration",
|
|
1061
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
1062
|
+
],
|
|
1063
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3LoggingConfiguration: msk_alpha.S3LoggingConfiguration = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1064
|
+
"syntaxKindCounter": {
|
|
1065
|
+
"10": 3,
|
|
1066
|
+
"75": 12,
|
|
1067
|
+
"130": 1,
|
|
1068
|
+
"153": 2,
|
|
1069
|
+
"169": 2,
|
|
1070
|
+
"193": 1,
|
|
1071
|
+
"225": 2,
|
|
1072
|
+
"242": 2,
|
|
1073
|
+
"243": 2,
|
|
1074
|
+
"254": 2,
|
|
1075
|
+
"255": 2,
|
|
1076
|
+
"256": 1,
|
|
1077
|
+
"257": 1,
|
|
1078
|
+
"258": 1,
|
|
1079
|
+
"281": 2,
|
|
680
1080
|
"290": 1
|
|
681
1081
|
},
|
|
682
|
-
"fqnsFingerprint": "
|
|
1082
|
+
"fqnsFingerprint": "96947dcdaa6d7dc3caf519c0b752ebd7ae24330096987ec4747d03f5684198f9"
|
|
683
1083
|
},
|
|
684
|
-
"
|
|
1084
|
+
"a870fb223e4e576e1ae5101e635aa0ebda7f1321607410cdcd4e9244d8303799": {
|
|
685
1085
|
"translations": {
|
|
686
1086
|
"python": {
|
|
687
|
-
"source": "
|
|
1087
|
+
"source": "# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.sasl(\n scram=True\n )\n)",
|
|
688
1088
|
"version": "1"
|
|
689
1089
|
},
|
|
690
1090
|
"csharp": {
|
|
691
|
-
"source": "
|
|
1091
|
+
"source": "Vpc vpc;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {\n Scram = true\n })\n});",
|
|
692
1092
|
"version": "1"
|
|
693
1093
|
},
|
|
694
1094
|
"java": {
|
|
695
|
-
"source": "
|
|
1095
|
+
"source": "Vpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()\n .scram(true)\n .build()))\n .build();",
|
|
696
1096
|
"version": "1"
|
|
697
1097
|
},
|
|
698
1098
|
"$": {
|
|
699
|
-
"source": "
|
|
1099
|
+
"source": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
700
1100
|
"version": "0"
|
|
701
1101
|
}
|
|
702
1102
|
},
|
|
@@ -709,52 +1109,58 @@
|
|
|
709
1109
|
"field": "example"
|
|
710
1110
|
}
|
|
711
1111
|
},
|
|
712
|
-
"didCompile":
|
|
1112
|
+
"didCompile": true,
|
|
713
1113
|
"fqnsReferenced": [
|
|
714
1114
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
715
1115
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
|
|
716
1116
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
|
|
717
1117
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
718
|
-
"@aws-cdk/aws-msk-alpha.
|
|
1118
|
+
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
1119
|
+
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
1120
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
1121
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
1122
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
1123
|
+
"@aws-cdk/aws-msk-alpha.SaslAuthProps",
|
|
1124
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
719
1125
|
],
|
|
720
|
-
"fullSource": "
|
|
1126
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
721
1127
|
"syntaxKindCounter": {
|
|
722
1128
|
"10": 2,
|
|
723
|
-
"75":
|
|
1129
|
+
"75": 22,
|
|
724
1130
|
"104": 1,
|
|
725
1131
|
"106": 1,
|
|
1132
|
+
"130": 1,
|
|
1133
|
+
"153": 1,
|
|
1134
|
+
"169": 1,
|
|
726
1135
|
"193": 3,
|
|
727
|
-
"194":
|
|
1136
|
+
"194": 7,
|
|
728
1137
|
"196": 1,
|
|
729
1138
|
"197": 1,
|
|
730
|
-
"225":
|
|
731
|
-
"242":
|
|
732
|
-
"243":
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
"256": 1,
|
|
736
|
-
"281": 2,
|
|
737
|
-
"283": 1,
|
|
1139
|
+
"225": 2,
|
|
1140
|
+
"242": 2,
|
|
1141
|
+
"243": 2,
|
|
1142
|
+
"281": 6,
|
|
1143
|
+
"282": 1,
|
|
738
1144
|
"290": 1
|
|
739
1145
|
},
|
|
740
|
-
"fqnsFingerprint": "
|
|
1146
|
+
"fqnsFingerprint": "13d85a5422987d8f41b1e60fc57b1d6c9530423e26886fd634eead5b97e7981b"
|
|
741
1147
|
},
|
|
742
|
-
"
|
|
1148
|
+
"7e72f8a099a570edf948251c75401e60ce21ed46329d85e85768f62243c67b6d": {
|
|
743
1149
|
"translations": {
|
|
744
1150
|
"python": {
|
|
745
|
-
"source": "import aws_cdk.
|
|
1151
|
+
"source": "import aws_cdk.aws_acmpca as acmpca\n\n# vpc is of type Vpc\n\ncluster = msk.Cluster(self, \"Cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n encryption_in_transit=msk.EncryptionInTransitConfig(\n client_broker=msk.ClientBrokerEncryption.TLS\n ),\n client_authentication=msk.ClientAuthentication.tls(\n certificate_authorities=[\n acmpca.CertificateAuthority.from_certificate_authority_arn(self, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")\n ]\n )\n)",
|
|
746
1152
|
"version": "1"
|
|
747
1153
|
},
|
|
748
1154
|
"csharp": {
|
|
749
|
-
"source": "using Amazon.CDK.AWS.
|
|
1155
|
+
"source": "using Amazon.CDK.AWS.ACMPCA;\n\nVpc vpc;\n\nCluster cluster = new Cluster(this, \"Cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n EncryptionInTransit = new EncryptionInTransitConfig {\n ClientBroker = ClientBrokerEncryption.TLS\n },\n ClientAuthentication = ClientAuthentication.Tls(new TlsAuthProps {\n CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(this, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\") }\n })\n});",
|
|
750
1156
|
"version": "1"
|
|
751
1157
|
},
|
|
752
1158
|
"java": {
|
|
753
|
-
"source": "import software.amazon.awscdk.services.
|
|
1159
|
+
"source": "import software.amazon.awscdk.services.acmpca.*;\n\nVpc vpc;\n\nCluster cluster = Cluster.Builder.create(this, \"Cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .encryptionInTransit(EncryptionInTransitConfig.builder()\n .clientBroker(ClientBrokerEncryption.TLS)\n .build())\n .clientAuthentication(ClientAuthentication.tls(TlsAuthProps.builder()\n .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(this, \"CertificateAuthority\", \"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")))\n .build()))\n .build();",
|
|
754
1160
|
"version": "1"
|
|
755
1161
|
},
|
|
756
1162
|
"$": {
|
|
757
|
-
"source": "import * as
|
|
1163
|
+
"source": "import * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});",
|
|
758
1164
|
"version": "0"
|
|
759
1165
|
}
|
|
760
1166
|
},
|
|
@@ -767,7 +1173,7 @@
|
|
|
767
1173
|
"field": "example"
|
|
768
1174
|
}
|
|
769
1175
|
},
|
|
770
|
-
"didCompile":
|
|
1176
|
+
"didCompile": true,
|
|
771
1177
|
"fqnsReferenced": [
|
|
772
1178
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication",
|
|
773
1179
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
|
|
@@ -775,32 +1181,38 @@
|
|
|
775
1181
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
|
|
776
1182
|
"@aws-cdk/aws-msk-alpha.Cluster",
|
|
777
1183
|
"@aws-cdk/aws-msk-alpha.ClusterProps",
|
|
1184
|
+
"@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
1185
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion",
|
|
1186
|
+
"@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
|
|
778
1187
|
"@aws-cdk/aws-msk-alpha.TlsAuthProps",
|
|
779
1188
|
"aws-cdk-lib.aws_acmpca.CertificateAuthority",
|
|
780
|
-
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn"
|
|
1189
|
+
"aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn",
|
|
1190
|
+
"aws-cdk-lib.aws_ec2.IVpc"
|
|
781
1191
|
],
|
|
782
|
-
"fullSource": "
|
|
1192
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { CfnOutput, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as msk from '@aws-cdk/aws-msk-alpha';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
783
1193
|
"syntaxKindCounter": {
|
|
784
1194
|
"10": 5,
|
|
785
|
-
"75":
|
|
786
|
-
"104":
|
|
1195
|
+
"75": 26,
|
|
1196
|
+
"104": 2,
|
|
1197
|
+
"130": 1,
|
|
1198
|
+
"153": 1,
|
|
1199
|
+
"169": 1,
|
|
787
1200
|
"192": 1,
|
|
788
1201
|
"193": 3,
|
|
789
|
-
"194":
|
|
1202
|
+
"194": 9,
|
|
790
1203
|
"196": 2,
|
|
791
1204
|
"197": 1,
|
|
792
|
-
"
|
|
793
|
-
"
|
|
794
|
-
"
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"283": 1,
|
|
1205
|
+
"225": 2,
|
|
1206
|
+
"242": 2,
|
|
1207
|
+
"243": 2,
|
|
1208
|
+
"254": 1,
|
|
1209
|
+
"255": 1,
|
|
1210
|
+
"256": 1,
|
|
1211
|
+
"281": 6,
|
|
1212
|
+
"282": 1,
|
|
801
1213
|
"290": 1
|
|
802
1214
|
},
|
|
803
|
-
"fqnsFingerprint": "
|
|
1215
|
+
"fqnsFingerprint": "eab73dadc2ff38834a08074d7a73c59998ce7369d35e0e5ee6f22fe92aeed58a"
|
|
804
1216
|
}
|
|
805
1217
|
}
|
|
806
1218
|
}
|