@aws-cdk/aws-msk-alpha 2.40.0-alpha.0 → 2.41.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.tabl.json DELETED
@@ -1,1388 +0,0 @@
1
- {
2
- "version": "2",
3
- "toolVersion": "1.66.0",
4
- "snippets": {
5
- "751b9d3d4c86afa5c81487bacae95b3c74eaffe1747c6e690790dee5d2c2c080": {
6
- "translations": {
7
- "python": {
8
- "source": "# vpc: ec2.Vpc\n\ncluster = msk.Cluster(self, \"Cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc\n)",
9
- "version": "2"
10
- },
11
- "csharp": {
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
- "version": "1"
14
- },
15
- "java": {
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
- "version": "1"
18
- },
19
- "go": {
20
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"Cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n})",
21
- "version": "1"
22
- },
23
- "$": {
24
- "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});",
25
- "version": "0"
26
- }
27
- },
28
- "location": {
29
- "api": {
30
- "api": "moduleReadme",
31
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
32
- },
33
- "field": {
34
- "field": "markdown",
35
- "line": 22
36
- }
37
- },
38
- "didCompile": true,
39
- "fqnsReferenced": [
40
- "@aws-cdk/aws-msk-alpha.Cluster",
41
- "@aws-cdk/aws-msk-alpha.ClusterProps",
42
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
43
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
44
- "aws-cdk-lib.aws_ec2.IVpc",
45
- "constructs.Construct"
46
- ],
47
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
48
- "syntaxKindCounter": {
49
- "10": 2,
50
- "75": 12,
51
- "104": 1,
52
- "130": 1,
53
- "153": 1,
54
- "169": 1,
55
- "193": 1,
56
- "194": 3,
57
- "197": 1,
58
- "225": 2,
59
- "242": 2,
60
- "243": 2,
61
- "281": 2,
62
- "282": 1,
63
- "290": 1
64
- },
65
- "fqnsFingerprint": "03796c0313ff7911b09f1c3db6ae7df4c962779984589045b41652f7686d5b5f"
66
- },
67
- "80f51b8fa4a546bc52dbc4c74672273ce919e51eacb16461ed23f1dcd55fbbfe": {
68
- "translations": {
69
- "python": {
70
- "source": "# vpc: ec2.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))",
71
- "version": "2"
72
- },
73
- "csharp": {
74
- "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));",
75
- "version": "1"
76
- },
77
- "java": {
78
- "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));",
79
- "version": "1"
80
- },
81
- "go": {
82
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"Cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n})\n\ncluster.connections.allowFrom(ec2.peer.ipv4(jsii.String(\"1.2.3.4/8\")), ec2.port.tcp(jsii.Number(2181)))\ncluster.connections.allowFrom(ec2.peer.ipv4(jsii.String(\"1.2.3.4/8\")), ec2.port.tcp(jsii.Number(9094)))",
83
- "version": "1"
84
- },
85
- "$": {
86
- "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);",
87
- "version": "0"
88
- }
89
- },
90
- "location": {
91
- "api": {
92
- "api": "moduleReadme",
93
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
94
- },
95
- "field": {
96
- "field": "markdown",
97
- "line": 35
98
- }
99
- },
100
- "didCompile": true,
101
- "fqnsReferenced": [
102
- "@aws-cdk/aws-msk-alpha.Cluster",
103
- "@aws-cdk/aws-msk-alpha.ClusterProps",
104
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
105
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
106
- "aws-cdk-lib.aws_ec2.Connections#allowFrom",
107
- "aws-cdk-lib.aws_ec2.IConnectable",
108
- "aws-cdk-lib.aws_ec2.IVpc",
109
- "aws-cdk-lib.aws_ec2.Peer",
110
- "aws-cdk-lib.aws_ec2.Peer#ipv4",
111
- "aws-cdk-lib.aws_ec2.Port",
112
- "aws-cdk-lib.aws_ec2.Port#tcp",
113
- "constructs.Construct"
114
- ],
115
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
116
- "syntaxKindCounter": {
117
- "8": 2,
118
- "10": 4,
119
- "75": 30,
120
- "104": 1,
121
- "130": 1,
122
- "153": 1,
123
- "169": 1,
124
- "193": 1,
125
- "194": 15,
126
- "196": 6,
127
- "197": 1,
128
- "225": 2,
129
- "226": 2,
130
- "242": 2,
131
- "243": 2,
132
- "281": 2,
133
- "282": 1,
134
- "290": 1
135
- },
136
- "fqnsFingerprint": "455cd347d0626d26ebbfbce33914dcc2278c8a983e3467fd2bd0d8d136aa0355"
137
- },
138
- "72f761c598c3003b9aa8c52ba199379722b9f8ad9f95a805a05dcfa2237fa2af": {
139
- "translations": {
140
- "python": {
141
- "source": "# cluster: msk.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, \"BootstrapBrokerStringSaslIam\", value=cluster.bootstrap_brokers_sasl_iam)\nCfnOutput(self, \"ZookeeperConnection\", value=cluster.zookeeper_connection_string)\nCfnOutput(self, \"ZookeeperConnectionTls\", value=cluster.zookeeper_connection_string_tls)",
142
- "version": "2"
143
- },
144
- "csharp": {
145
- "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, \"BootstrapBrokerStringSaslIam\", new CfnOutputProps { Value = cluster.BootstrapBrokersSaslIam });\nnew CfnOutput(this, \"ZookeeperConnection\", new CfnOutputProps { Value = cluster.ZookeeperConnectionString });\nnew CfnOutput(this, \"ZookeeperConnectionTls\", new CfnOutputProps { Value = cluster.ZookeeperConnectionStringTls });",
146
- "version": "1"
147
- },
148
- "java": {
149
- "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, \"BootstrapBrokerStringSaslIam\").value(cluster.getBootstrapBrokersSaslIam()).build();\nCfnOutput.Builder.create(this, \"ZookeeperConnection\").value(cluster.getZookeeperConnectionString()).build();\nCfnOutput.Builder.create(this, \"ZookeeperConnectionTls\").value(cluster.getZookeeperConnectionStringTls()).build();",
150
- "version": "1"
151
- },
152
- "go": {
153
- "source": "var cluster cluster\n\nawscdk.NewCfnOutput(this, jsii.String(\"BootstrapBrokers\"), &cfnOutputProps{\n\tvalue: cluster.bootstrapBrokers,\n})\nawscdk.NewCfnOutput(this, jsii.String(\"BootstrapBrokersTls\"), &cfnOutputProps{\n\tvalue: cluster.bootstrapBrokersTls,\n})\nawscdk.NewCfnOutput(this, jsii.String(\"BootstrapBrokersSaslScram\"), &cfnOutputProps{\n\tvalue: cluster.bootstrapBrokersSaslScram,\n})\nawscdk.NewCfnOutput(this, jsii.String(\"BootstrapBrokerStringSaslIam\"), &cfnOutputProps{\n\tvalue: cluster.bootstrapBrokersSaslIam,\n})\nawscdk.NewCfnOutput(this, jsii.String(\"ZookeeperConnection\"), &cfnOutputProps{\n\tvalue: cluster.zookeeperConnectionString,\n})\nawscdk.NewCfnOutput(this, jsii.String(\"ZookeeperConnectionTls\"), &cfnOutputProps{\n\tvalue: cluster.zookeeperConnectionStringTls,\n})",
154
- "version": "1"
155
- },
156
- "$": {
157
- "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, 'BootstrapBrokerStringSaslIam', { value: cluster.bootstrapBrokersSaslIam });\nnew CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });",
158
- "version": "0"
159
- }
160
- },
161
- "location": {
162
- "api": {
163
- "api": "moduleReadme",
164
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
165
- },
166
- "field": {
167
- "field": "markdown",
168
- "line": 57
169
- }
170
- },
171
- "didCompile": true,
172
- "fqnsReferenced": [
173
- "aws-cdk-lib.CfnOutput",
174
- "aws-cdk-lib.CfnOutputProps",
175
- "constructs.Construct"
176
- ],
177
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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, 'BootstrapBrokerStringSaslIam', { value: cluster.bootstrapBrokersSaslIam });\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}\n",
178
- "syntaxKindCounter": {
179
- "10": 6,
180
- "75": 27,
181
- "104": 6,
182
- "130": 1,
183
- "153": 1,
184
- "169": 1,
185
- "193": 6,
186
- "194": 6,
187
- "197": 6,
188
- "225": 1,
189
- "226": 6,
190
- "242": 1,
191
- "243": 1,
192
- "281": 6,
193
- "290": 1
194
- },
195
- "fqnsFingerprint": "b2172f70fd92e2310f6c126bd309a609a573eb759c21ac4ba2919aeed2242612"
196
- },
197
- "8330183226f60b5d2b09ce4affbf604a60460dad74c0044c637c0fed77cd44a4": {
198
- "translations": {
199
- "python": {
200
- "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\")",
201
- "version": "2"
202
- },
203
- "csharp": {
204
- "source": "ICluster cluster = Cluster.FromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
205
- "version": "1"
206
- },
207
- "java": {
208
- "source": "ICluster cluster = Cluster.fromClusterArn(this, \"Cluster\", \"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\");",
209
- "version": "1"
210
- },
211
- "go": {
212
- "source": "cluster := msk.cluster.fromClusterArn(this, jsii.String(\"Cluster\"), jsii.String(\"arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1\"))",
213
- "version": "1"
214
- },
215
- "$": {
216
- "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);",
217
- "version": "0"
218
- }
219
- },
220
- "location": {
221
- "api": {
222
- "api": "moduleReadme",
223
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
224
- },
225
- "field": {
226
- "field": "markdown",
227
- "line": 71
228
- }
229
- },
230
- "didCompile": true,
231
- "fqnsReferenced": [
232
- "@aws-cdk/aws-msk-alpha.Cluster",
233
- "@aws-cdk/aws-msk-alpha.Cluster#fromClusterArn",
234
- "@aws-cdk/aws-msk-alpha.ICluster",
235
- "constructs.Construct"
236
- ],
237
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
238
- "syntaxKindCounter": {
239
- "10": 2,
240
- "75": 4,
241
- "104": 1,
242
- "194": 2,
243
- "196": 1,
244
- "225": 1,
245
- "242": 1,
246
- "243": 1
247
- },
248
- "fqnsFingerprint": "de5ff141f0b48ea7ada09ce274243ca76d2256cdd0c4395c8dec8b3aba0e5014"
249
- },
250
- "e884778546491097d36c3d147b400c75217b54e4f09c8d3a4fb48f69bf9f48c6": {
251
- "translations": {
252
- "python": {
253
- "source": "import aws_cdk.aws_acmpca as acmpca\n\n# vpc: ec2.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)",
254
- "version": "2"
255
- },
256
- "csharp": {
257
- "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});",
258
- "version": "1"
259
- },
260
- "java": {
261
- "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();",
262
- "version": "1"
263
- },
264
- "go": {
265
- "source": "import acmpca \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"Cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.tls(&tlsAuthProps{\n\t\tcertificateAuthorities: []iCertificateAuthority{\n\t\t\tacmpca.certificateAuthority.fromCertificateAuthorityArn(this, jsii.String(\"CertificateAuthority\"), jsii.String(\"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")),\n\t\t},\n\t}),\n})",
266
- "version": "1"
267
- },
268
- "$": {
269
- "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});",
270
- "version": "0"
271
- }
272
- },
273
- "location": {
274
- "api": {
275
- "api": "moduleReadme",
276
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
277
- },
278
- "field": {
279
- "field": "markdown",
280
- "line": 87
281
- }
282
- },
283
- "didCompile": true,
284
- "fqnsReferenced": [
285
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
286
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
287
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
288
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
289
- "@aws-cdk/aws-msk-alpha.Cluster",
290
- "@aws-cdk/aws-msk-alpha.ClusterProps",
291
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
292
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
293
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
294
- "@aws-cdk/aws-msk-alpha.TlsAuthProps",
295
- "aws-cdk-lib.aws_acmpca.CertificateAuthority",
296
- "aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn",
297
- "aws-cdk-lib.aws_ec2.IVpc",
298
- "constructs.Construct"
299
- ],
300
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
301
- "syntaxKindCounter": {
302
- "10": 5,
303
- "75": 26,
304
- "104": 2,
305
- "130": 1,
306
- "153": 1,
307
- "169": 1,
308
- "192": 1,
309
- "193": 3,
310
- "194": 9,
311
- "196": 2,
312
- "197": 1,
313
- "225": 2,
314
- "242": 2,
315
- "243": 2,
316
- "254": 1,
317
- "255": 1,
318
- "256": 1,
319
- "281": 6,
320
- "282": 1,
321
- "290": 1
322
- },
323
- "fqnsFingerprint": "72bdf5dd7121f74aa0f21f8939540499b7f38918fd7bd394f48559fd06d456a7"
324
- },
325
- "6473cc4b25cddd0a6b21bd04668d63c816d37abc98e2ffc9784c6d276b80c241": {
326
- "translations": {
327
- "python": {
328
- "source": "# vpc: ec2.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)",
329
- "version": "2"
330
- },
331
- "csharp": {
332
- "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});",
333
- "version": "1"
334
- },
335
- "java": {
336
- "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();",
337
- "version": "1"
338
- },
339
- "go": {
340
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
341
- "version": "1"
342
- },
343
- "$": {
344
- "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});",
345
- "version": "0"
346
- }
347
- },
348
- "location": {
349
- "api": {
350
- "api": "moduleReadme",
351
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
352
- },
353
- "field": {
354
- "field": "markdown",
355
- "line": 114
356
- }
357
- },
358
- "didCompile": true,
359
- "fqnsReferenced": [
360
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
361
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
362
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
363
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
364
- "@aws-cdk/aws-msk-alpha.Cluster",
365
- "@aws-cdk/aws-msk-alpha.ClusterProps",
366
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
367
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
368
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
369
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
370
- "aws-cdk-lib.aws_ec2.IVpc",
371
- "constructs.Construct"
372
- ],
373
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
374
- "syntaxKindCounter": {
375
- "10": 2,
376
- "75": 22,
377
- "104": 1,
378
- "106": 1,
379
- "130": 1,
380
- "153": 1,
381
- "169": 1,
382
- "193": 3,
383
- "194": 7,
384
- "196": 1,
385
- "197": 1,
386
- "225": 2,
387
- "242": 2,
388
- "243": 2,
389
- "281": 6,
390
- "282": 1,
391
- "290": 1
392
- },
393
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
394
- },
395
- "ff4280f83da88b9826a806ac351865b90d9e26c988ee468ff6a9c34bab93f7cd": {
396
- "translations": {
397
- "python": {
398
- "source": "# vpc: ec2.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)",
399
- "version": "2"
400
- },
401
- "csharp": {
402
- "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});",
403
- "version": "1"
404
- },
405
- "java": {
406
- "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();",
407
- "version": "1"
408
- },
409
- "go": {
410
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tiam: jsii.Boolean(true),\n\t}),\n})",
411
- "version": "1"
412
- },
413
- "$": {
414
- "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});",
415
- "version": "0"
416
- }
417
- },
418
- "location": {
419
- "api": {
420
- "api": "moduleReadme",
421
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
422
- },
423
- "field": {
424
- "field": "markdown",
425
- "line": 133
426
- }
427
- },
428
- "didCompile": true,
429
- "fqnsReferenced": [
430
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
431
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
432
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
433
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
434
- "@aws-cdk/aws-msk-alpha.Cluster",
435
- "@aws-cdk/aws-msk-alpha.ClusterProps",
436
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
437
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
438
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
439
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
440
- "aws-cdk-lib.aws_ec2.IVpc",
441
- "constructs.Construct"
442
- ],
443
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
444
- "syntaxKindCounter": {
445
- "10": 2,
446
- "75": 22,
447
- "104": 1,
448
- "106": 1,
449
- "130": 1,
450
- "153": 1,
451
- "169": 1,
452
- "193": 3,
453
- "194": 7,
454
- "196": 1,
455
- "197": 1,
456
- "225": 2,
457
- "242": 2,
458
- "243": 2,
459
- "281": 6,
460
- "282": 1,
461
- "290": 1
462
- },
463
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
464
- },
465
- "fb10c9d479d6ea3373c3fa41395f5c5706bf075978eaf7531a694fd7d8aa5423": {
466
- "translations": {
467
- "python": {
468
- "source": "# vpc: ec2.Vpc\n# bucket: s3.IBucket\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n logging=msk.BrokerLogging(\n s3=msk.S3LoggingConfiguration(\n bucket=bucket\n )\n )\n)",
469
- "version": "2"
470
- },
471
- "csharp": {
472
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n Logging = new BrokerLogging {\n S3 = new S3LoggingConfiguration {\n Bucket = bucket\n }\n }\n});",
473
- "version": "1"
474
- },
475
- "java": {
476
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .logging(BrokerLogging.builder()\n .s3(S3LoggingConfiguration.builder()\n .bucket(bucket)\n .build())\n .build())\n .build();",
477
- "version": "1"
478
- },
479
- "go": {
480
- "source": "var vpc vpc\nvar bucket iBucket\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tlogging: &brokerLogging{\n\t\ts3: &s3LoggingConfiguration{\n\t\t\tbucket: bucket,\n\t\t},\n\t},\n})",
481
- "version": "1"
482
- },
483
- "$": {
484
- "source": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});",
485
- "version": "0"
486
- }
487
- },
488
- "location": {
489
- "api": {
490
- "api": "moduleReadme",
491
- "moduleFqn": "@aws-cdk/aws-msk-alpha"
492
- },
493
- "field": {
494
- "field": "markdown",
495
- "line": 155
496
- }
497
- },
498
- "didCompile": true,
499
- "fqnsReferenced": [
500
- "@aws-cdk/aws-msk-alpha.BrokerLogging",
501
- "@aws-cdk/aws-msk-alpha.Cluster",
502
- "@aws-cdk/aws-msk-alpha.ClusterProps",
503
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
504
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
505
- "@aws-cdk/aws-msk-alpha.S3LoggingConfiguration",
506
- "aws-cdk-lib.aws_ec2.IVpc",
507
- "aws-cdk-lib.aws_s3.IBucket",
508
- "constructs.Construct"
509
- ],
510
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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 logging: {\n s3: {\n bucket,\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
511
- "syntaxKindCounter": {
512
- "10": 2,
513
- "75": 18,
514
- "104": 1,
515
- "130": 2,
516
- "153": 2,
517
- "169": 2,
518
- "193": 3,
519
- "194": 3,
520
- "197": 1,
521
- "225": 3,
522
- "242": 3,
523
- "243": 3,
524
- "281": 4,
525
- "282": 2,
526
- "290": 1
527
- },
528
- "fqnsFingerprint": "531071104012434744f8e52df42015dc38b1f2c5524a91debe00118b958e2973"
529
- },
530
- "370d5a436be1e16e1c5411237198771e3d093ce4b991cd65b2313947b9205de7": {
531
- "translations": {
532
- "python": {
533
- "source": "# vpc: ec2.Vpc\n# bucket: s3.IBucket\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n logging=msk.BrokerLogging(\n s3=msk.S3LoggingConfiguration(\n bucket=bucket\n )\n )\n)",
534
- "version": "2"
535
- },
536
- "csharp": {
537
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n Logging = new BrokerLogging {\n S3 = new S3LoggingConfiguration {\n Bucket = bucket\n }\n }\n});",
538
- "version": "1"
539
- },
540
- "java": {
541
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .logging(BrokerLogging.builder()\n .s3(S3LoggingConfiguration.builder()\n .bucket(bucket)\n .build())\n .build())\n .build();",
542
- "version": "1"
543
- },
544
- "go": {
545
- "source": "var vpc vpc\nvar bucket iBucket\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tlogging: &brokerLogging{\n\t\ts3: &s3LoggingConfiguration{\n\t\t\tbucket: bucket,\n\t\t},\n\t},\n})",
546
- "version": "1"
547
- },
548
- "$": {
549
- "source": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});",
550
- "version": "0"
551
- }
552
- },
553
- "location": {
554
- "api": {
555
- "api": "type",
556
- "fqn": "@aws-cdk/aws-msk-alpha.BrokerLogging"
557
- },
558
- "field": {
559
- "field": "example"
560
- }
561
- },
562
- "didCompile": true,
563
- "fqnsReferenced": [
564
- "@aws-cdk/aws-msk-alpha.BrokerLogging",
565
- "@aws-cdk/aws-msk-alpha.Cluster",
566
- "@aws-cdk/aws-msk-alpha.ClusterProps",
567
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
568
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
569
- "@aws-cdk/aws-msk-alpha.S3LoggingConfiguration",
570
- "aws-cdk-lib.aws_ec2.IVpc",
571
- "aws-cdk-lib.aws_s3.IBucket",
572
- "constructs.Construct"
573
- ],
574
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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 logging: {\n s3: {\n bucket,\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
575
- "syntaxKindCounter": {
576
- "10": 2,
577
- "75": 18,
578
- "104": 1,
579
- "130": 2,
580
- "153": 2,
581
- "169": 2,
582
- "193": 3,
583
- "194": 3,
584
- "197": 1,
585
- "225": 3,
586
- "242": 3,
587
- "243": 3,
588
- "281": 4,
589
- "282": 2,
590
- "290": 1
591
- },
592
- "fqnsFingerprint": "531071104012434744f8e52df42015dc38b1f2c5524a91debe00118b958e2973"
593
- },
594
- "1b506592a03e4321a2590bb92b1d40c2a3b08b1b7f4fc542a634d7ea180092a8": {
595
- "translations": {
596
- "python": {
597
- "source": "# vpc: ec2.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)",
598
- "version": "2"
599
- },
600
- "csharp": {
601
- "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});",
602
- "version": "1"
603
- },
604
- "java": {
605
- "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();",
606
- "version": "1"
607
- },
608
- "go": {
609
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
610
- "version": "1"
611
- },
612
- "$": {
613
- "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});",
614
- "version": "0"
615
- }
616
- },
617
- "location": {
618
- "api": {
619
- "api": "type",
620
- "fqn": "@aws-cdk/aws-msk-alpha.ClientAuthentication"
621
- },
622
- "field": {
623
- "field": "example"
624
- }
625
- },
626
- "didCompile": true,
627
- "fqnsReferenced": [
628
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
629
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
630
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
631
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
632
- "@aws-cdk/aws-msk-alpha.Cluster",
633
- "@aws-cdk/aws-msk-alpha.ClusterProps",
634
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
635
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
636
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
637
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
638
- "aws-cdk-lib.aws_ec2.IVpc",
639
- "constructs.Construct"
640
- ],
641
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
642
- "syntaxKindCounter": {
643
- "10": 2,
644
- "75": 22,
645
- "104": 1,
646
- "106": 1,
647
- "130": 1,
648
- "153": 1,
649
- "169": 1,
650
- "193": 3,
651
- "194": 7,
652
- "196": 1,
653
- "197": 1,
654
- "225": 2,
655
- "242": 2,
656
- "243": 2,
657
- "281": 6,
658
- "282": 1,
659
- "290": 1
660
- },
661
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
662
- },
663
- "dd782f7b5d131665544df13665a666c6ccd6395ad137dcd571d82e82fbfd4846": {
664
- "translations": {
665
- "python": {
666
- "source": "# vpc: ec2.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)",
667
- "version": "2"
668
- },
669
- "csharp": {
670
- "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});",
671
- "version": "1"
672
- },
673
- "java": {
674
- "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();",
675
- "version": "1"
676
- },
677
- "go": {
678
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
679
- "version": "1"
680
- },
681
- "$": {
682
- "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});",
683
- "version": "0"
684
- }
685
- },
686
- "location": {
687
- "api": {
688
- "api": "type",
689
- "fqn": "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption"
690
- },
691
- "field": {
692
- "field": "example"
693
- }
694
- },
695
- "didCompile": true,
696
- "fqnsReferenced": [
697
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
698
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
699
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
700
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
701
- "@aws-cdk/aws-msk-alpha.Cluster",
702
- "@aws-cdk/aws-msk-alpha.ClusterProps",
703
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
704
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
705
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
706
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
707
- "aws-cdk-lib.aws_ec2.IVpc",
708
- "constructs.Construct"
709
- ],
710
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
711
- "syntaxKindCounter": {
712
- "10": 2,
713
- "75": 22,
714
- "104": 1,
715
- "106": 1,
716
- "130": 1,
717
- "153": 1,
718
- "169": 1,
719
- "193": 3,
720
- "194": 7,
721
- "196": 1,
722
- "197": 1,
723
- "225": 2,
724
- "242": 2,
725
- "243": 2,
726
- "281": 6,
727
- "282": 1,
728
- "290": 1
729
- },
730
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
731
- },
732
- "e1622851fca018382002722cbcc82c9042347e9010aba0984d77396019db5ced": {
733
- "translations": {
734
- "python": {
735
- "source": "# vpc: ec2.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)",
736
- "version": "2"
737
- },
738
- "csharp": {
739
- "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});",
740
- "version": "1"
741
- },
742
- "java": {
743
- "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();",
744
- "version": "1"
745
- },
746
- "go": {
747
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
748
- "version": "1"
749
- },
750
- "$": {
751
- "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});",
752
- "version": "0"
753
- }
754
- },
755
- "location": {
756
- "api": {
757
- "api": "type",
758
- "fqn": "@aws-cdk/aws-msk-alpha.Cluster"
759
- },
760
- "field": {
761
- "field": "example"
762
- }
763
- },
764
- "didCompile": true,
765
- "fqnsReferenced": [
766
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
767
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
768
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
769
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
770
- "@aws-cdk/aws-msk-alpha.Cluster",
771
- "@aws-cdk/aws-msk-alpha.ClusterProps",
772
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
773
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
774
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
775
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
776
- "aws-cdk-lib.aws_ec2.IVpc",
777
- "constructs.Construct"
778
- ],
779
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
780
- "syntaxKindCounter": {
781
- "10": 2,
782
- "75": 22,
783
- "104": 1,
784
- "106": 1,
785
- "130": 1,
786
- "153": 1,
787
- "169": 1,
788
- "193": 3,
789
- "194": 7,
790
- "196": 1,
791
- "197": 1,
792
- "225": 2,
793
- "242": 2,
794
- "243": 2,
795
- "281": 6,
796
- "282": 1,
797
- "290": 1
798
- },
799
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
800
- },
801
- "8888290d454b2f1c84cb95896d64bf084cbbc6f841bab461b3f4b81a18ddc6f9": {
802
- "translations": {
803
- "python": {
804
- "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)",
805
- "version": "2"
806
- },
807
- "csharp": {
808
- "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};",
809
- "version": "1"
810
- },
811
- "java": {
812
- "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();",
813
- "version": "1"
814
- },
815
- "go": {
816
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport msk_alpha \"github.com/aws/aws-cdk-go/awscdkmskalpha\"\n\nclusterConfigurationInfo := &clusterConfigurationInfo{\n\tarn: jsii.String(\"arn\"),\n\trevision: jsii.Number(123),\n}",
817
- "version": "1"
818
- },
819
- "$": {
820
- "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};",
821
- "version": "0"
822
- }
823
- },
824
- "location": {
825
- "api": {
826
- "api": "type",
827
- "fqn": "@aws-cdk/aws-msk-alpha.ClusterConfigurationInfo"
828
- },
829
- "field": {
830
- "field": "example"
831
- }
832
- },
833
- "didCompile": true,
834
- "fqnsReferenced": [
835
- "@aws-cdk/aws-msk-alpha.ClusterConfigurationInfo"
836
- ],
837
- "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} }",
838
- "syntaxKindCounter": {
839
- "8": 1,
840
- "10": 2,
841
- "75": 6,
842
- "153": 1,
843
- "169": 1,
844
- "193": 1,
845
- "225": 1,
846
- "242": 1,
847
- "243": 1,
848
- "254": 1,
849
- "255": 1,
850
- "256": 1,
851
- "281": 2,
852
- "290": 1
853
- },
854
- "fqnsFingerprint": "4bce1b7851c46792b1be92271a292a0647cf08ab1a9ff992cae1f2767916d745"
855
- },
856
- "38cbe181fb4820d2527fd23c10cd4bf40c1cdeb31c6848c65a7864c26f7991e1": {
857
- "translations": {
858
- "python": {
859
- "source": "# vpc: ec2.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)",
860
- "version": "2"
861
- },
862
- "csharp": {
863
- "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});",
864
- "version": "1"
865
- },
866
- "java": {
867
- "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();",
868
- "version": "1"
869
- },
870
- "go": {
871
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
872
- "version": "1"
873
- },
874
- "$": {
875
- "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});",
876
- "version": "0"
877
- }
878
- },
879
- "location": {
880
- "api": {
881
- "api": "type",
882
- "fqn": "@aws-cdk/aws-msk-alpha.ClusterProps"
883
- },
884
- "field": {
885
- "field": "example"
886
- }
887
- },
888
- "didCompile": true,
889
- "fqnsReferenced": [
890
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
891
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
892
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
893
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
894
- "@aws-cdk/aws-msk-alpha.Cluster",
895
- "@aws-cdk/aws-msk-alpha.ClusterProps",
896
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
897
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
898
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
899
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
900
- "aws-cdk-lib.aws_ec2.IVpc",
901
- "constructs.Construct"
902
- ],
903
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
904
- "syntaxKindCounter": {
905
- "10": 2,
906
- "75": 22,
907
- "104": 1,
908
- "106": 1,
909
- "130": 1,
910
- "153": 1,
911
- "169": 1,
912
- "193": 3,
913
- "194": 7,
914
- "196": 1,
915
- "197": 1,
916
- "225": 2,
917
- "242": 2,
918
- "243": 2,
919
- "281": 6,
920
- "282": 1,
921
- "290": 1
922
- },
923
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
924
- },
925
- "c6e128aabb3ac9937e6654bd018a9974402c4be71960628c3d254bc788c85dd6": {
926
- "translations": {
927
- "python": {
928
- "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: kms.Key\n\nebs_storage_info = msk_alpha.EbsStorageInfo(\n encryption_key=key,\n volume_size=123\n)",
929
- "version": "2"
930
- },
931
- "csharp": {
932
- "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};",
933
- "version": "1"
934
- },
935
- "java": {
936
- "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();",
937
- "version": "1"
938
- },
939
- "go": {
940
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport msk_alpha \"github.com/aws/aws-cdk-go/awscdkmskalpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar key key\n\nebsStorageInfo := &ebsStorageInfo{\n\tencryptionKey: key,\n\tvolumeSize: jsii.Number(123),\n}",
941
- "version": "1"
942
- },
943
- "$": {
944
- "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};",
945
- "version": "0"
946
- }
947
- },
948
- "location": {
949
- "api": {
950
- "api": "type",
951
- "fqn": "@aws-cdk/aws-msk-alpha.EbsStorageInfo"
952
- },
953
- "field": {
954
- "field": "example"
955
- }
956
- },
957
- "didCompile": true,
958
- "fqnsReferenced": [
959
- "@aws-cdk/aws-msk-alpha.EbsStorageInfo",
960
- "aws-cdk-lib.aws_kms.IKey"
961
- ],
962
- "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} }",
963
- "syntaxKindCounter": {
964
- "8": 1,
965
- "10": 2,
966
- "75": 12,
967
- "130": 1,
968
- "153": 2,
969
- "169": 2,
970
- "193": 1,
971
- "225": 2,
972
- "242": 2,
973
- "243": 2,
974
- "254": 2,
975
- "255": 2,
976
- "256": 1,
977
- "257": 1,
978
- "258": 1,
979
- "281": 2,
980
- "290": 1
981
- },
982
- "fqnsFingerprint": "7e5e6a21f6e40c3ad9ca70039962b62dc83cd3f2d3df709bee98f6caef61c4ad"
983
- },
984
- "b7e8598b96b1b509a2f7bf56711bbb2eb04c32aaf728c688833a2cd39b11a241": {
985
- "translations": {
986
- "python": {
987
- "source": "# vpc: ec2.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)",
988
- "version": "2"
989
- },
990
- "csharp": {
991
- "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});",
992
- "version": "1"
993
- },
994
- "java": {
995
- "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();",
996
- "version": "1"
997
- },
998
- "go": {
999
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
1000
- "version": "1"
1001
- },
1002
- "$": {
1003
- "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});",
1004
- "version": "0"
1005
- }
1006
- },
1007
- "location": {
1008
- "api": {
1009
- "api": "type",
1010
- "fqn": "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig"
1011
- },
1012
- "field": {
1013
- "field": "example"
1014
- }
1015
- },
1016
- "didCompile": true,
1017
- "fqnsReferenced": [
1018
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
1019
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
1020
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
1021
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
1022
- "@aws-cdk/aws-msk-alpha.Cluster",
1023
- "@aws-cdk/aws-msk-alpha.ClusterProps",
1024
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
1025
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
1026
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
1027
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
1028
- "aws-cdk-lib.aws_ec2.IVpc",
1029
- "constructs.Construct"
1030
- ],
1031
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
1032
- "syntaxKindCounter": {
1033
- "10": 2,
1034
- "75": 22,
1035
- "104": 1,
1036
- "106": 1,
1037
- "130": 1,
1038
- "153": 1,
1039
- "169": 1,
1040
- "193": 3,
1041
- "194": 7,
1042
- "196": 1,
1043
- "197": 1,
1044
- "225": 2,
1045
- "242": 2,
1046
- "243": 2,
1047
- "281": 6,
1048
- "282": 1,
1049
- "290": 1
1050
- },
1051
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
1052
- },
1053
- "9706bb7ec60ca26bf0565bb6843e9ecd368ba381302ba3c8475e30b62c651070": {
1054
- "translations": {
1055
- "python": {
1056
- "source": "# vpc: ec2.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)",
1057
- "version": "2"
1058
- },
1059
- "csharp": {
1060
- "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});",
1061
- "version": "1"
1062
- },
1063
- "java": {
1064
- "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();",
1065
- "version": "1"
1066
- },
1067
- "go": {
1068
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
1069
- "version": "1"
1070
- },
1071
- "$": {
1072
- "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});",
1073
- "version": "0"
1074
- }
1075
- },
1076
- "location": {
1077
- "api": {
1078
- "api": "type",
1079
- "fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
1080
- },
1081
- "field": {
1082
- "field": "example"
1083
- }
1084
- },
1085
- "didCompile": true,
1086
- "fqnsReferenced": [
1087
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
1088
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
1089
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
1090
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
1091
- "@aws-cdk/aws-msk-alpha.Cluster",
1092
- "@aws-cdk/aws-msk-alpha.ClusterProps",
1093
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
1094
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
1095
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
1096
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
1097
- "aws-cdk-lib.aws_ec2.IVpc",
1098
- "constructs.Construct"
1099
- ],
1100
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
1101
- "syntaxKindCounter": {
1102
- "10": 2,
1103
- "75": 22,
1104
- "104": 1,
1105
- "106": 1,
1106
- "130": 1,
1107
- "153": 1,
1108
- "169": 1,
1109
- "193": 3,
1110
- "194": 7,
1111
- "196": 1,
1112
- "197": 1,
1113
- "225": 2,
1114
- "242": 2,
1115
- "243": 2,
1116
- "281": 6,
1117
- "282": 1,
1118
- "290": 1
1119
- },
1120
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
1121
- },
1122
- "5410896da3de0d4f9bec616d980ea951f621e4f32309a422fda56dbe6d125977": {
1123
- "translations": {
1124
- "python": {
1125
- "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)",
1126
- "version": "2"
1127
- },
1128
- "csharp": {
1129
- "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};",
1130
- "version": "1"
1131
- },
1132
- "java": {
1133
- "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();",
1134
- "version": "1"
1135
- },
1136
- "go": {
1137
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport msk_alpha \"github.com/aws/aws-cdk-go/awscdkmskalpha\"\n\nmonitoringConfiguration := &monitoringConfiguration{\n\tclusterMonitoringLevel: msk_alpha.clusterMonitoringLevel_DEFAULT,\n\tenablePrometheusJmxExporter: jsii.Boolean(false),\n\tenablePrometheusNodeExporter: jsii.Boolean(false),\n}",
1138
- "version": "1"
1139
- },
1140
- "$": {
1141
- "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};",
1142
- "version": "0"
1143
- }
1144
- },
1145
- "location": {
1146
- "api": {
1147
- "api": "type",
1148
- "fqn": "@aws-cdk/aws-msk-alpha.MonitoringConfiguration"
1149
- },
1150
- "field": {
1151
- "field": "example"
1152
- }
1153
- },
1154
- "didCompile": true,
1155
- "fqnsReferenced": [
1156
- "@aws-cdk/aws-msk-alpha.ClusterMonitoringLevel",
1157
- "@aws-cdk/aws-msk-alpha.ClusterMonitoringLevel#DEFAULT",
1158
- "@aws-cdk/aws-msk-alpha.MonitoringConfiguration"
1159
- ],
1160
- "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} }",
1161
- "syntaxKindCounter": {
1162
- "10": 1,
1163
- "75": 10,
1164
- "91": 2,
1165
- "153": 1,
1166
- "169": 1,
1167
- "193": 1,
1168
- "194": 2,
1169
- "225": 1,
1170
- "242": 1,
1171
- "243": 1,
1172
- "254": 1,
1173
- "255": 1,
1174
- "256": 1,
1175
- "281": 3,
1176
- "290": 1
1177
- },
1178
- "fqnsFingerprint": "3bca81424de8d7cc1f47d1cce71a658d46254ac4f690ef598343fedd3284ac54"
1179
- },
1180
- "6f5f6524b847ae63f562cb33c5a49e868766e4dacddee5042c68dc0f6a5c4dae": {
1181
- "translations": {
1182
- "python": {
1183
- "source": "# vpc: ec2.Vpc\n# bucket: s3.IBucket\n\ncluster = msk.Cluster(self, \"cluster\",\n cluster_name=\"myCluster\",\n kafka_version=msk.KafkaVersion.V2_8_1,\n vpc=vpc,\n logging=msk.BrokerLogging(\n s3=msk.S3LoggingConfiguration(\n bucket=bucket\n )\n )\n)",
1184
- "version": "2"
1185
- },
1186
- "csharp": {
1187
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = new Cluster(this, \"cluster\", new ClusterProps {\n ClusterName = \"myCluster\",\n KafkaVersion = KafkaVersion.V2_8_1,\n Vpc = vpc,\n Logging = new BrokerLogging {\n S3 = new S3LoggingConfiguration {\n Bucket = bucket\n }\n }\n});",
1188
- "version": "1"
1189
- },
1190
- "java": {
1191
- "source": "Vpc vpc;\nIBucket bucket;\n\nCluster cluster = Cluster.Builder.create(this, \"cluster\")\n .clusterName(\"myCluster\")\n .kafkaVersion(KafkaVersion.V2_8_1)\n .vpc(vpc)\n .logging(BrokerLogging.builder()\n .s3(S3LoggingConfiguration.builder()\n .bucket(bucket)\n .build())\n .build())\n .build();",
1192
- "version": "1"
1193
- },
1194
- "go": {
1195
- "source": "var vpc vpc\nvar bucket iBucket\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tlogging: &brokerLogging{\n\t\ts3: &s3LoggingConfiguration{\n\t\t\tbucket: bucket,\n\t\t},\n\t},\n})",
1196
- "version": "1"
1197
- },
1198
- "$": {
1199
- "source": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});",
1200
- "version": "0"
1201
- }
1202
- },
1203
- "location": {
1204
- "api": {
1205
- "api": "type",
1206
- "fqn": "@aws-cdk/aws-msk-alpha.S3LoggingConfiguration"
1207
- },
1208
- "field": {
1209
- "field": "example"
1210
- }
1211
- },
1212
- "didCompile": true,
1213
- "fqnsReferenced": [
1214
- "@aws-cdk/aws-msk-alpha.BrokerLogging",
1215
- "@aws-cdk/aws-msk-alpha.Cluster",
1216
- "@aws-cdk/aws-msk-alpha.ClusterProps",
1217
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
1218
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
1219
- "@aws-cdk/aws-msk-alpha.S3LoggingConfiguration",
1220
- "aws-cdk-lib.aws_ec2.IVpc",
1221
- "aws-cdk-lib.aws_s3.IBucket",
1222
- "constructs.Construct"
1223
- ],
1224
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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 logging: {\n s3: {\n bucket,\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1225
- "syntaxKindCounter": {
1226
- "10": 2,
1227
- "75": 18,
1228
- "104": 1,
1229
- "130": 2,
1230
- "153": 2,
1231
- "169": 2,
1232
- "193": 3,
1233
- "194": 3,
1234
- "197": 1,
1235
- "225": 3,
1236
- "242": 3,
1237
- "243": 3,
1238
- "281": 4,
1239
- "282": 2,
1240
- "290": 1
1241
- },
1242
- "fqnsFingerprint": "531071104012434744f8e52df42015dc38b1f2c5524a91debe00118b958e2973"
1243
- },
1244
- "a870fb223e4e576e1ae5101e635aa0ebda7f1321607410cdcd4e9244d8303799": {
1245
- "translations": {
1246
- "python": {
1247
- "source": "# vpc: ec2.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)",
1248
- "version": "2"
1249
- },
1250
- "csharp": {
1251
- "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});",
1252
- "version": "1"
1253
- },
1254
- "java": {
1255
- "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();",
1256
- "version": "1"
1257
- },
1258
- "go": {
1259
- "source": "var vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.sasl(&saslAuthProps{\n\t\tscram: jsii.Boolean(true),\n\t}),\n})",
1260
- "version": "1"
1261
- },
1262
- "$": {
1263
- "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});",
1264
- "version": "0"
1265
- }
1266
- },
1267
- "location": {
1268
- "api": {
1269
- "api": "type",
1270
- "fqn": "@aws-cdk/aws-msk-alpha.SaslAuthProps"
1271
- },
1272
- "field": {
1273
- "field": "example"
1274
- }
1275
- },
1276
- "didCompile": true,
1277
- "fqnsReferenced": [
1278
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
1279
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#sasl",
1280
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
1281
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
1282
- "@aws-cdk/aws-msk-alpha.Cluster",
1283
- "@aws-cdk/aws-msk-alpha.ClusterProps",
1284
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
1285
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
1286
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
1287
- "@aws-cdk/aws-msk-alpha.SaslAuthProps",
1288
- "aws-cdk-lib.aws_ec2.IVpc",
1289
- "constructs.Construct"
1290
- ],
1291
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
1292
- "syntaxKindCounter": {
1293
- "10": 2,
1294
- "75": 22,
1295
- "104": 1,
1296
- "106": 1,
1297
- "130": 1,
1298
- "153": 1,
1299
- "169": 1,
1300
- "193": 3,
1301
- "194": 7,
1302
- "196": 1,
1303
- "197": 1,
1304
- "225": 2,
1305
- "242": 2,
1306
- "243": 2,
1307
- "281": 6,
1308
- "282": 1,
1309
- "290": 1
1310
- },
1311
- "fqnsFingerprint": "fd69c2068acbf6a3db4857108e5e5e02ae8955905de3495f14e7a52679146d6f"
1312
- },
1313
- "7e72f8a099a570edf948251c75401e60ce21ed46329d85e85768f62243c67b6d": {
1314
- "translations": {
1315
- "python": {
1316
- "source": "import aws_cdk.aws_acmpca as acmpca\n\n# vpc: ec2.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)",
1317
- "version": "2"
1318
- },
1319
- "csharp": {
1320
- "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});",
1321
- "version": "1"
1322
- },
1323
- "java": {
1324
- "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();",
1325
- "version": "1"
1326
- },
1327
- "go": {
1328
- "source": "import acmpca \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar vpc vpc\n\ncluster := msk.NewCluster(this, jsii.String(\"Cluster\"), &clusterProps{\n\tclusterName: jsii.String(\"myCluster\"),\n\tkafkaVersion: msk.kafkaVersion_V2_8_1(),\n\tvpc: vpc,\n\tencryptionInTransit: &encryptionInTransitConfig{\n\t\tclientBroker: msk.clientBrokerEncryption_TLS,\n\t},\n\tclientAuthentication: msk.clientAuthentication.tls(&tlsAuthProps{\n\t\tcertificateAuthorities: []iCertificateAuthority{\n\t\t\tacmpca.certificateAuthority.fromCertificateAuthorityArn(this, jsii.String(\"CertificateAuthority\"), jsii.String(\"arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111\")),\n\t\t},\n\t}),\n})",
1329
- "version": "1"
1330
- },
1331
- "$": {
1332
- "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});",
1333
- "version": "0"
1334
- }
1335
- },
1336
- "location": {
1337
- "api": {
1338
- "api": "type",
1339
- "fqn": "@aws-cdk/aws-msk-alpha.TlsAuthProps"
1340
- },
1341
- "field": {
1342
- "field": "example"
1343
- }
1344
- },
1345
- "didCompile": true,
1346
- "fqnsReferenced": [
1347
- "@aws-cdk/aws-msk-alpha.ClientAuthentication",
1348
- "@aws-cdk/aws-msk-alpha.ClientAuthentication#tls",
1349
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption",
1350
- "@aws-cdk/aws-msk-alpha.ClientBrokerEncryption#TLS",
1351
- "@aws-cdk/aws-msk-alpha.Cluster",
1352
- "@aws-cdk/aws-msk-alpha.ClusterProps",
1353
- "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
1354
- "@aws-cdk/aws-msk-alpha.KafkaVersion",
1355
- "@aws-cdk/aws-msk-alpha.KafkaVersion#V2_8_1",
1356
- "@aws-cdk/aws-msk-alpha.TlsAuthProps",
1357
- "aws-cdk-lib.aws_acmpca.CertificateAuthority",
1358
- "aws-cdk-lib.aws_acmpca.CertificateAuthority#fromCertificateAuthorityArn",
1359
- "aws-cdk-lib.aws_ec2.IVpc",
1360
- "constructs.Construct"
1361
- ],
1362
- "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';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\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}\n",
1363
- "syntaxKindCounter": {
1364
- "10": 5,
1365
- "75": 26,
1366
- "104": 2,
1367
- "130": 1,
1368
- "153": 1,
1369
- "169": 1,
1370
- "192": 1,
1371
- "193": 3,
1372
- "194": 9,
1373
- "196": 2,
1374
- "197": 1,
1375
- "225": 2,
1376
- "242": 2,
1377
- "243": 2,
1378
- "254": 1,
1379
- "255": 1,
1380
- "256": 1,
1381
- "281": 6,
1382
- "282": 1,
1383
- "290": 1
1384
- },
1385
- "fqnsFingerprint": "72bdf5dd7121f74aa0f21f8939540499b7f38918fd7bd394f48559fd06d456a7"
1386
- }
1387
- }
1388
- }