@aws-cdk/aws-msk-alpha 2.194.0-alpha.0 → 2.196.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 +187 -104
- package/.jsii.tabl.json.gz +0 -0
- package/README.md +8 -8
- package/lib/cluster-version.d.ts +12 -0
- package/lib/cluster-version.js +14 -2
- package/lib/cluster.d.ts +2 -0
- package/lib/cluster.js +12 -6
- package/lib/serverless-cluster.d.ts +2 -0
- package/lib/serverless-cluster.js +16 -4
- package/package.json +7 -7
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.196.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -3516,6 +3516,19 @@
|
|
|
3516
3516
|
}
|
|
3517
3517
|
}
|
|
3518
3518
|
},
|
|
3519
|
+
"aws-cdk-lib.aws_ssmguiconnect": {
|
|
3520
|
+
"targets": {
|
|
3521
|
+
"dotnet": {
|
|
3522
|
+
"package": "Amazon.CDK.AWS.SSMGuiConnect"
|
|
3523
|
+
},
|
|
3524
|
+
"java": {
|
|
3525
|
+
"package": "software.amazon.awscdk.services.ssmguiconnect"
|
|
3526
|
+
},
|
|
3527
|
+
"python": {
|
|
3528
|
+
"module": "aws_cdk.aws_ssmguiconnect"
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3519
3532
|
"aws-cdk-lib.aws_ssmincidents": {
|
|
3520
3533
|
"targets": {
|
|
3521
3534
|
"dotnet": {
|
|
@@ -3952,7 +3965,7 @@
|
|
|
3952
3965
|
"stability": "experimental"
|
|
3953
3966
|
},
|
|
3954
3967
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
3955
|
-
"jsiiVersion": "5.7.
|
|
3968
|
+
"jsiiVersion": "5.7.15 (build 8c2933f)",
|
|
3956
3969
|
"keywords": [
|
|
3957
3970
|
"aws",
|
|
3958
3971
|
"cdk",
|
|
@@ -3974,7 +3987,7 @@
|
|
|
3974
3987
|
},
|
|
3975
3988
|
"name": "@aws-cdk/aws-msk-alpha",
|
|
3976
3989
|
"readme": {
|
|
3977
|
-
"markdown": "# Amazon Managed Streaming for Apache Kafka Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[Amazon MSK](https://aws.amazon.com/msk/) is a fully managed service that makes it easy for you to build and run applications that use Apache Kafka to process streaming data.\n\nThe following example creates an MSK Cluster.\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
3990
|
+
"markdown": "# Amazon Managed Streaming for Apache Kafka Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[Amazon MSK](https://aws.amazon.com/msk/) is a fully managed service that makes it easy for you to build and run applications that use Apache Kafka to process streaming data.\n\nThe following example creates an MSK Cluster.\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n});\n```\n\n## Allowing Connections\n\nTo control who can access the Cluster, use the `.connections` attribute. For a list of ports used by MSK, refer to the [MSK documentation](https://docs.aws.amazon.com/msk/latest/developerguide/client-access.html#port-info).\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\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```\n\n## Cluster Endpoints\n\nYou can use the following attributes to get a list of the Kafka broker or ZooKeeper node endpoints\n\n```ts\ndeclare 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 });\n```\n\n## Importing an existing Cluster\n\nTo import an existing MSK cluster into your CDK app use the `.fromClusterArn()` method.\n\n```ts\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```\n\n## Client Authentication\n\n[MSK supports](https://docs.aws.amazon.com/msk/latest/developerguide/kafka_apis_iam.html) the following authentication mechanisms.\n\n### TLS\n\nTo enable client authentication with TLS set the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * 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.V3_9_X,\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```\n\n### SASL/SCRAM\n\nEnable client authentication with [SASL/SCRAM](https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n```\n\n### IAM\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n});\n```\n\n\n### SASL/IAM + TLS\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html)\nas well as enable client authentication with TLS by setting the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * 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.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.saslTls({\n iam: true,\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```\n\n\n## Logging\n\nYou can deliver Apache Kafka broker logs to one or more of the following destination types:\nAmazon CloudWatch Logs, Amazon S3, Amazon Data Firehose.\n\nTo configure logs to be sent to an S3 bucket, provide a bucket in the `logging` config.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});\n```\n\nWhen the S3 destination is configured, AWS will automatically create an S3 bucket policy\nthat allows the service to write logs to the bucket. This makes it impossible to later update\nthat bucket policy. To have CDK create the bucket policy so that future updates can be made,\nthe `@aws-cdk/aws-s3:createDefaultLoggingPolicy` [feature flag](https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html) can be used. This can be set\nin the `cdk.json` file.\n\n```json\n{\n \"context\": {\n \"@aws-cdk/aws-s3:createDefaultLoggingPolicy\": true\n }\n}\n```\n\n## Storage Mode\n\nYou can configure an MSK cluster storage mode using the `storageMode` property.\n\nTiered storage is a low-cost storage tier for Amazon MSK that scales to virtually unlimited storage,\nmaking it cost-effective to build streaming data applications.\n\n> Visit [Tiered storage](https://docs.aws.amazon.com/msk/latest/developerguide/msk-tiered-storage.html)\nto see the list of compatible Kafka versions and for more details.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n storageMode: msk.StorageMode.TIERED,\n});\n```\n\n## MSK Serverless\n\nYou can also use MSK Serverless by using `ServerlessCluster` class.\n\nMSK Serverless is a cluster type for Amazon MSK that makes it possible for you to run Apache Kafka without having to manage and scale cluster capacity.\n\nMSK Serverless requires IAM access control for all clusters.\n\nFor more infomation, see [Use MSK Serverless clusters](https://docs.aws.amazon.com/msk/latest/developerguide/serverless-getting-started.html).\n\n```ts\ndeclare const vpc: ec2.Vpc;\n\nconst serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {\n clusterName: 'MyServerlessCluster',\n vpcConfigs: [\n { vpc },\n ],\n});\n```\n"
|
|
3978
3991
|
},
|
|
3979
3992
|
"repository": {
|
|
3980
3993
|
"directory": "packages/@aws-cdk/aws-msk-alpha",
|
|
@@ -4018,7 +4031,7 @@
|
|
|
4018
4031
|
"docs": {
|
|
4019
4032
|
"stability": "experimental",
|
|
4020
4033
|
"summary": "Configuration details related to broker logs.",
|
|
4021
|
-
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
4034
|
+
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});",
|
|
4022
4035
|
"custom": {
|
|
4023
4036
|
"exampleMetadata": "infused"
|
|
4024
4037
|
}
|
|
@@ -4027,7 +4040,7 @@
|
|
|
4027
4040
|
"kind": "interface",
|
|
4028
4041
|
"locationInModule": {
|
|
4029
4042
|
"filename": "lib/cluster.ts",
|
|
4030
|
-
"line":
|
|
4043
|
+
"line": 277
|
|
4031
4044
|
},
|
|
4032
4045
|
"name": "BrokerLogging",
|
|
4033
4046
|
"properties": [
|
|
@@ -4041,7 +4054,7 @@
|
|
|
4041
4054
|
"immutable": true,
|
|
4042
4055
|
"locationInModule": {
|
|
4043
4056
|
"filename": "lib/cluster.ts",
|
|
4044
|
-
"line":
|
|
4057
|
+
"line": 290
|
|
4045
4058
|
},
|
|
4046
4059
|
"name": "cloudwatchLogGroup",
|
|
4047
4060
|
"optional": true,
|
|
@@ -4059,7 +4072,7 @@
|
|
|
4059
4072
|
"immutable": true,
|
|
4060
4073
|
"locationInModule": {
|
|
4061
4074
|
"filename": "lib/cluster.ts",
|
|
4062
|
-
"line":
|
|
4075
|
+
"line": 283
|
|
4063
4076
|
},
|
|
4064
4077
|
"name": "firehoseDeliveryStreamName",
|
|
4065
4078
|
"optional": true,
|
|
@@ -4077,7 +4090,7 @@
|
|
|
4077
4090
|
"immutable": true,
|
|
4078
4091
|
"locationInModule": {
|
|
4079
4092
|
"filename": "lib/cluster.ts",
|
|
4080
|
-
"line":
|
|
4093
|
+
"line": 297
|
|
4081
4094
|
},
|
|
4082
4095
|
"name": "s3",
|
|
4083
4096
|
"optional": true,
|
|
@@ -4093,7 +4106,7 @@
|
|
|
4093
4106
|
"docs": {
|
|
4094
4107
|
"stability": "experimental",
|
|
4095
4108
|
"summary": "Configuration properties for client authentication.",
|
|
4096
|
-
"example": "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.
|
|
4109
|
+
"example": "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.V3_9_X,\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});",
|
|
4097
4110
|
"custom": {
|
|
4098
4111
|
"exampleMetadata": "infused"
|
|
4099
4112
|
}
|
|
@@ -4102,7 +4115,7 @@
|
|
|
4102
4115
|
"kind": "class",
|
|
4103
4116
|
"locationInModule": {
|
|
4104
4117
|
"filename": "lib/cluster.ts",
|
|
4105
|
-
"line":
|
|
4118
|
+
"line": 407
|
|
4106
4119
|
},
|
|
4107
4120
|
"methods": [
|
|
4108
4121
|
{
|
|
@@ -4112,7 +4125,7 @@
|
|
|
4112
4125
|
},
|
|
4113
4126
|
"locationInModule": {
|
|
4114
4127
|
"filename": "lib/cluster.ts",
|
|
4115
|
-
"line":
|
|
4128
|
+
"line": 411
|
|
4116
4129
|
},
|
|
4117
4130
|
"name": "sasl",
|
|
4118
4131
|
"parameters": [
|
|
@@ -4137,7 +4150,7 @@
|
|
|
4137
4150
|
},
|
|
4138
4151
|
"locationInModule": {
|
|
4139
4152
|
"filename": "lib/cluster.ts",
|
|
4140
|
-
"line":
|
|
4153
|
+
"line": 425
|
|
4141
4154
|
},
|
|
4142
4155
|
"name": "saslTls",
|
|
4143
4156
|
"parameters": [
|
|
@@ -4162,7 +4175,7 @@
|
|
|
4162
4175
|
},
|
|
4163
4176
|
"locationInModule": {
|
|
4164
4177
|
"filename": "lib/cluster.ts",
|
|
4165
|
-
"line":
|
|
4178
|
+
"line": 418
|
|
4166
4179
|
},
|
|
4167
4180
|
"name": "tls",
|
|
4168
4181
|
"parameters": [
|
|
@@ -4191,7 +4204,7 @@
|
|
|
4191
4204
|
"immutable": true,
|
|
4192
4205
|
"locationInModule": {
|
|
4193
4206
|
"filename": "lib/cluster.ts",
|
|
4194
|
-
"line":
|
|
4207
|
+
"line": 434
|
|
4195
4208
|
},
|
|
4196
4209
|
"name": "saslProps",
|
|
4197
4210
|
"optional": true,
|
|
@@ -4207,7 +4220,7 @@
|
|
|
4207
4220
|
"immutable": true,
|
|
4208
4221
|
"locationInModule": {
|
|
4209
4222
|
"filename": "lib/cluster.ts",
|
|
4210
|
-
"line":
|
|
4223
|
+
"line": 435
|
|
4211
4224
|
},
|
|
4212
4225
|
"name": "tlsProps",
|
|
4213
4226
|
"optional": true,
|
|
@@ -4223,7 +4236,7 @@
|
|
|
4223
4236
|
"docs": {
|
|
4224
4237
|
"stability": "experimental",
|
|
4225
4238
|
"summary": "Indicates the encryption setting for data in transit between clients and brokers.",
|
|
4226
|
-
"example": "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.
|
|
4239
|
+
"example": "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.V3_9_X,\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});",
|
|
4227
4240
|
"custom": {
|
|
4228
4241
|
"exampleMetadata": "infused"
|
|
4229
4242
|
}
|
|
@@ -4232,7 +4245,7 @@
|
|
|
4232
4245
|
"kind": "enum",
|
|
4233
4246
|
"locationInModule": {
|
|
4234
4247
|
"filename": "lib/cluster.ts",
|
|
4235
|
-
"line":
|
|
4248
|
+
"line": 320
|
|
4236
4249
|
},
|
|
4237
4250
|
"members": [
|
|
4238
4251
|
{
|
|
@@ -4270,7 +4283,7 @@
|
|
|
4270
4283
|
},
|
|
4271
4284
|
"stability": "experimental",
|
|
4272
4285
|
"summary": "Create a MSK Cluster.",
|
|
4273
|
-
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
4286
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});"
|
|
4274
4287
|
},
|
|
4275
4288
|
"fqn": "@aws-cdk/aws-msk-alpha.Cluster",
|
|
4276
4289
|
"initializer": {
|
|
@@ -4279,7 +4292,7 @@
|
|
|
4279
4292
|
},
|
|
4280
4293
|
"locationInModule": {
|
|
4281
4294
|
"filename": "lib/cluster.ts",
|
|
4282
|
-
"line":
|
|
4295
|
+
"line": 468
|
|
4283
4296
|
},
|
|
4284
4297
|
"parameters": [
|
|
4285
4298
|
{
|
|
@@ -4305,7 +4318,7 @@
|
|
|
4305
4318
|
"kind": "class",
|
|
4306
4319
|
"locationInModule": {
|
|
4307
4320
|
"filename": "lib/cluster.ts",
|
|
4308
|
-
"line":
|
|
4321
|
+
"line": 444
|
|
4309
4322
|
},
|
|
4310
4323
|
"methods": [
|
|
4311
4324
|
{
|
|
@@ -4315,7 +4328,7 @@
|
|
|
4315
4328
|
},
|
|
4316
4329
|
"locationInModule": {
|
|
4317
4330
|
"filename": "lib/cluster.ts",
|
|
4318
|
-
"line":
|
|
4331
|
+
"line": 452
|
|
4319
4332
|
},
|
|
4320
4333
|
"name": "fromClusterArn",
|
|
4321
4334
|
"parameters": [
|
|
@@ -4353,7 +4366,7 @@
|
|
|
4353
4366
|
},
|
|
4354
4367
|
"locationInModule": {
|
|
4355
4368
|
"filename": "lib/cluster.ts",
|
|
4356
|
-
"line":
|
|
4369
|
+
"line": 850
|
|
4357
4370
|
},
|
|
4358
4371
|
"name": "addUser",
|
|
4359
4372
|
"parameters": [
|
|
@@ -4373,6 +4386,23 @@
|
|
|
4373
4386
|
],
|
|
4374
4387
|
"name": "Cluster",
|
|
4375
4388
|
"properties": [
|
|
4389
|
+
{
|
|
4390
|
+
"const": true,
|
|
4391
|
+
"docs": {
|
|
4392
|
+
"stability": "experimental",
|
|
4393
|
+
"summary": "Uniquely identifies this class."
|
|
4394
|
+
},
|
|
4395
|
+
"immutable": true,
|
|
4396
|
+
"locationInModule": {
|
|
4397
|
+
"filename": "lib/cluster.ts",
|
|
4398
|
+
"line": 447
|
|
4399
|
+
},
|
|
4400
|
+
"name": "PROPERTY_INJECTION_ID",
|
|
4401
|
+
"static": true,
|
|
4402
|
+
"type": {
|
|
4403
|
+
"primitive": "string"
|
|
4404
|
+
}
|
|
4405
|
+
},
|
|
4376
4406
|
{
|
|
4377
4407
|
"docs": {
|
|
4378
4408
|
"remarks": "Uses a Custom Resource to make an API call to `getBootstrapBrokers` using the Javascript SDK",
|
|
@@ -4383,7 +4413,7 @@
|
|
|
4383
4413
|
"immutable": true,
|
|
4384
4414
|
"locationInModule": {
|
|
4385
4415
|
"filename": "lib/cluster.ts",
|
|
4386
|
-
"line":
|
|
4416
|
+
"line": 805
|
|
4387
4417
|
},
|
|
4388
4418
|
"name": "bootstrapBrokers",
|
|
4389
4419
|
"type": {
|
|
@@ -4400,7 +4430,7 @@
|
|
|
4400
4430
|
"immutable": true,
|
|
4401
4431
|
"locationInModule": {
|
|
4402
4432
|
"filename": "lib/cluster.ts",
|
|
4403
|
-
"line":
|
|
4433
|
+
"line": 838
|
|
4404
4434
|
},
|
|
4405
4435
|
"name": "bootstrapBrokersSaslIam",
|
|
4406
4436
|
"type": {
|
|
@@ -4417,7 +4447,7 @@
|
|
|
4417
4447
|
"immutable": true,
|
|
4418
4448
|
"locationInModule": {
|
|
4419
4449
|
"filename": "lib/cluster.ts",
|
|
4420
|
-
"line":
|
|
4450
|
+
"line": 827
|
|
4421
4451
|
},
|
|
4422
4452
|
"name": "bootstrapBrokersSaslScram",
|
|
4423
4453
|
"type": {
|
|
@@ -4434,7 +4464,7 @@
|
|
|
4434
4464
|
"immutable": true,
|
|
4435
4465
|
"locationInModule": {
|
|
4436
4466
|
"filename": "lib/cluster.ts",
|
|
4437
|
-
"line":
|
|
4467
|
+
"line": 816
|
|
4438
4468
|
},
|
|
4439
4469
|
"name": "bootstrapBrokersTls",
|
|
4440
4470
|
"type": {
|
|
@@ -4449,7 +4479,7 @@
|
|
|
4449
4479
|
"immutable": true,
|
|
4450
4480
|
"locationInModule": {
|
|
4451
4481
|
"filename": "lib/cluster.ts",
|
|
4452
|
-
"line":
|
|
4482
|
+
"line": 461
|
|
4453
4483
|
},
|
|
4454
4484
|
"name": "clusterArn",
|
|
4455
4485
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -4465,7 +4495,7 @@
|
|
|
4465
4495
|
"immutable": true,
|
|
4466
4496
|
"locationInModule": {
|
|
4467
4497
|
"filename": "lib/cluster.ts",
|
|
4468
|
-
"line":
|
|
4498
|
+
"line": 462
|
|
4469
4499
|
},
|
|
4470
4500
|
"name": "clusterName",
|
|
4471
4501
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -4483,7 +4513,7 @@
|
|
|
4483
4513
|
"immutable": true,
|
|
4484
4514
|
"locationInModule": {
|
|
4485
4515
|
"filename": "lib/cluster.ts",
|
|
4486
|
-
"line":
|
|
4516
|
+
"line": 755
|
|
4487
4517
|
},
|
|
4488
4518
|
"name": "zookeeperConnectionString",
|
|
4489
4519
|
"type": {
|
|
@@ -4500,7 +4530,7 @@
|
|
|
4500
4530
|
"immutable": true,
|
|
4501
4531
|
"locationInModule": {
|
|
4502
4532
|
"filename": "lib/cluster.ts",
|
|
4503
|
-
"line":
|
|
4533
|
+
"line": 766
|
|
4504
4534
|
},
|
|
4505
4535
|
"name": "zookeeperConnectionStringTls",
|
|
4506
4536
|
"type": {
|
|
@@ -4515,7 +4545,7 @@
|
|
|
4515
4545
|
"immutable": true,
|
|
4516
4546
|
"locationInModule": {
|
|
4517
4547
|
"filename": "lib/cluster.ts",
|
|
4518
|
-
"line":
|
|
4548
|
+
"line": 464
|
|
4519
4549
|
},
|
|
4520
4550
|
"name": "saslScramAuthenticationKey",
|
|
4521
4551
|
"optional": true,
|
|
@@ -4571,7 +4601,7 @@
|
|
|
4571
4601
|
"kind": "class",
|
|
4572
4602
|
"locationInModule": {
|
|
4573
4603
|
"filename": "lib/cluster.ts",
|
|
4574
|
-
"line":
|
|
4604
|
+
"line": 41
|
|
4575
4605
|
},
|
|
4576
4606
|
"name": "ClusterBase",
|
|
4577
4607
|
"properties": [
|
|
@@ -4584,7 +4614,7 @@
|
|
|
4584
4614
|
"immutable": true,
|
|
4585
4615
|
"locationInModule": {
|
|
4586
4616
|
"filename": "lib/cluster.ts",
|
|
4587
|
-
"line":
|
|
4617
|
+
"line": 42
|
|
4588
4618
|
},
|
|
4589
4619
|
"name": "clusterArn",
|
|
4590
4620
|
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
@@ -4601,7 +4631,7 @@
|
|
|
4601
4631
|
"immutable": true,
|
|
4602
4632
|
"locationInModule": {
|
|
4603
4633
|
"filename": "lib/cluster.ts",
|
|
4604
|
-
"line":
|
|
4634
|
+
"line": 43
|
|
4605
4635
|
},
|
|
4606
4636
|
"name": "clusterName",
|
|
4607
4637
|
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
@@ -4617,7 +4647,7 @@
|
|
|
4617
4647
|
"immutable": true,
|
|
4618
4648
|
"locationInModule": {
|
|
4619
4649
|
"filename": "lib/cluster.ts",
|
|
4620
|
-
"line":
|
|
4650
|
+
"line": 48
|
|
4621
4651
|
},
|
|
4622
4652
|
"name": "connections",
|
|
4623
4653
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -4644,7 +4674,7 @@
|
|
|
4644
4674
|
"kind": "interface",
|
|
4645
4675
|
"locationInModule": {
|
|
4646
4676
|
"filename": "lib/cluster.ts",
|
|
4647
|
-
"line":
|
|
4677
|
+
"line": 206
|
|
4648
4678
|
},
|
|
4649
4679
|
"name": "ClusterConfigurationInfo",
|
|
4650
4680
|
"properties": [
|
|
@@ -4658,7 +4688,7 @@
|
|
|
4658
4688
|
"immutable": true,
|
|
4659
4689
|
"locationInModule": {
|
|
4660
4690
|
"filename": "lib/cluster.ts",
|
|
4661
|
-
"line":
|
|
4691
|
+
"line": 211
|
|
4662
4692
|
},
|
|
4663
4693
|
"name": "arn",
|
|
4664
4694
|
"type": {
|
|
@@ -4674,7 +4704,7 @@
|
|
|
4674
4704
|
"immutable": true,
|
|
4675
4705
|
"locationInModule": {
|
|
4676
4706
|
"filename": "lib/cluster.ts",
|
|
4677
|
-
"line":
|
|
4707
|
+
"line": 216
|
|
4678
4708
|
},
|
|
4679
4709
|
"name": "revision",
|
|
4680
4710
|
"type": {
|
|
@@ -4695,7 +4725,7 @@
|
|
|
4695
4725
|
"kind": "enum",
|
|
4696
4726
|
"locationInModule": {
|
|
4697
4727
|
"filename": "lib/cluster.ts",
|
|
4698
|
-
"line":
|
|
4728
|
+
"line": 224
|
|
4699
4729
|
},
|
|
4700
4730
|
"members": [
|
|
4701
4731
|
{
|
|
@@ -4736,7 +4766,7 @@
|
|
|
4736
4766
|
"docs": {
|
|
4737
4767
|
"stability": "experimental",
|
|
4738
4768
|
"summary": "Properties for a MSK Cluster.",
|
|
4739
|
-
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
4769
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
4740
4770
|
"custom": {
|
|
4741
4771
|
"exampleMetadata": "infused"
|
|
4742
4772
|
}
|
|
@@ -4745,7 +4775,7 @@
|
|
|
4745
4775
|
"kind": "interface",
|
|
4746
4776
|
"locationInModule": {
|
|
4747
4777
|
"filename": "lib/cluster.ts",
|
|
4748
|
-
"line":
|
|
4778
|
+
"line": 59
|
|
4749
4779
|
},
|
|
4750
4780
|
"name": "ClusterProps",
|
|
4751
4781
|
"properties": [
|
|
@@ -4758,7 +4788,7 @@
|
|
|
4758
4788
|
"immutable": true,
|
|
4759
4789
|
"locationInModule": {
|
|
4760
4790
|
"filename": "lib/cluster.ts",
|
|
4761
|
-
"line":
|
|
4791
|
+
"line": 63
|
|
4762
4792
|
},
|
|
4763
4793
|
"name": "clusterName",
|
|
4764
4794
|
"type": {
|
|
@@ -4774,7 +4804,7 @@
|
|
|
4774
4804
|
"immutable": true,
|
|
4775
4805
|
"locationInModule": {
|
|
4776
4806
|
"filename": "lib/cluster.ts",
|
|
4777
|
-
"line":
|
|
4807
|
+
"line": 68
|
|
4778
4808
|
},
|
|
4779
4809
|
"name": "kafkaVersion",
|
|
4780
4810
|
"type": {
|
|
@@ -4791,7 +4821,7 @@
|
|
|
4791
4821
|
"immutable": true,
|
|
4792
4822
|
"locationInModule": {
|
|
4793
4823
|
"filename": "lib/cluster.ts",
|
|
4794
|
-
"line":
|
|
4824
|
+
"line": 81
|
|
4795
4825
|
},
|
|
4796
4826
|
"name": "vpc",
|
|
4797
4827
|
"type": {
|
|
@@ -4809,7 +4839,7 @@
|
|
|
4809
4839
|
"immutable": true,
|
|
4810
4840
|
"locationInModule": {
|
|
4811
4841
|
"filename": "lib/cluster.ts",
|
|
4812
|
-
"line":
|
|
4842
|
+
"line": 158
|
|
4813
4843
|
},
|
|
4814
4844
|
"name": "clientAuthentication",
|
|
4815
4845
|
"optional": true,
|
|
@@ -4827,7 +4857,7 @@
|
|
|
4827
4857
|
"immutable": true,
|
|
4828
4858
|
"locationInModule": {
|
|
4829
4859
|
"filename": "lib/cluster.ts",
|
|
4830
|
-
"line":
|
|
4860
|
+
"line": 129
|
|
4831
4861
|
},
|
|
4832
4862
|
"name": "configurationInfo",
|
|
4833
4863
|
"optional": true,
|
|
@@ -4845,7 +4875,7 @@
|
|
|
4845
4875
|
"immutable": true,
|
|
4846
4876
|
"locationInModule": {
|
|
4847
4877
|
"filename": "lib/cluster.ts",
|
|
4848
|
-
"line":
|
|
4878
|
+
"line": 114
|
|
4849
4879
|
},
|
|
4850
4880
|
"name": "ebsStorageInfo",
|
|
4851
4881
|
"optional": true,
|
|
@@ -4863,7 +4893,7 @@
|
|
|
4863
4893
|
"immutable": true,
|
|
4864
4894
|
"locationInModule": {
|
|
4865
4895
|
"filename": "lib/cluster.ts",
|
|
4866
|
-
"line":
|
|
4896
|
+
"line": 150
|
|
4867
4897
|
},
|
|
4868
4898
|
"name": "encryptionInTransit",
|
|
4869
4899
|
"optional": true,
|
|
@@ -4882,7 +4912,7 @@
|
|
|
4882
4912
|
"immutable": true,
|
|
4883
4913
|
"locationInModule": {
|
|
4884
4914
|
"filename": "lib/cluster.ts",
|
|
4885
|
-
"line":
|
|
4915
|
+
"line": 99
|
|
4886
4916
|
},
|
|
4887
4917
|
"name": "instanceType",
|
|
4888
4918
|
"optional": true,
|
|
@@ -4900,7 +4930,7 @@
|
|
|
4900
4930
|
"immutable": true,
|
|
4901
4931
|
"locationInModule": {
|
|
4902
4932
|
"filename": "lib/cluster.ts",
|
|
4903
|
-
"line":
|
|
4933
|
+
"line": 143
|
|
4904
4934
|
},
|
|
4905
4935
|
"name": "logging",
|
|
4906
4936
|
"optional": true,
|
|
@@ -4918,7 +4948,7 @@
|
|
|
4918
4948
|
"immutable": true,
|
|
4919
4949
|
"locationInModule": {
|
|
4920
4950
|
"filename": "lib/cluster.ts",
|
|
4921
|
-
"line":
|
|
4951
|
+
"line": 136
|
|
4922
4952
|
},
|
|
4923
4953
|
"name": "monitoring",
|
|
4924
4954
|
"optional": true,
|
|
@@ -4936,7 +4966,7 @@
|
|
|
4936
4966
|
"immutable": true,
|
|
4937
4967
|
"locationInModule": {
|
|
4938
4968
|
"filename": "lib/cluster.ts",
|
|
4939
|
-
"line":
|
|
4969
|
+
"line": 75
|
|
4940
4970
|
},
|
|
4941
4971
|
"name": "numberOfBrokerNodes",
|
|
4942
4972
|
"optional": true,
|
|
@@ -4954,7 +4984,7 @@
|
|
|
4954
4984
|
"immutable": true,
|
|
4955
4985
|
"locationInModule": {
|
|
4956
4986
|
"filename": "lib/cluster.ts",
|
|
4957
|
-
"line":
|
|
4987
|
+
"line": 165
|
|
4958
4988
|
},
|
|
4959
4989
|
"name": "removalPolicy",
|
|
4960
4990
|
"optional": true,
|
|
@@ -4972,7 +5002,7 @@
|
|
|
4972
5002
|
"immutable": true,
|
|
4973
5003
|
"locationInModule": {
|
|
4974
5004
|
"filename": "lib/cluster.ts",
|
|
4975
|
-
"line":
|
|
5005
|
+
"line": 107
|
|
4976
5006
|
},
|
|
4977
5007
|
"name": "securityGroups",
|
|
4978
5008
|
"optional": true,
|
|
@@ -4996,7 +5026,7 @@
|
|
|
4996
5026
|
"immutable": true,
|
|
4997
5027
|
"locationInModule": {
|
|
4998
5028
|
"filename": "lib/cluster.ts",
|
|
4999
|
-
"line":
|
|
5029
|
+
"line": 122
|
|
5000
5030
|
},
|
|
5001
5031
|
"name": "storageMode",
|
|
5002
5032
|
"optional": true,
|
|
@@ -5015,7 +5045,7 @@
|
|
|
5015
5045
|
"immutable": true,
|
|
5016
5046
|
"locationInModule": {
|
|
5017
5047
|
"filename": "lib/cluster.ts",
|
|
5018
|
-
"line":
|
|
5048
|
+
"line": 91
|
|
5019
5049
|
},
|
|
5020
5050
|
"name": "vpcSubnets",
|
|
5021
5051
|
"optional": true,
|
|
@@ -5041,7 +5071,7 @@
|
|
|
5041
5071
|
"kind": "interface",
|
|
5042
5072
|
"locationInModule": {
|
|
5043
5073
|
"filename": "lib/cluster.ts",
|
|
5044
|
-
"line":
|
|
5074
|
+
"line": 171
|
|
5045
5075
|
},
|
|
5046
5076
|
"name": "EbsStorageInfo",
|
|
5047
5077
|
"properties": [
|
|
@@ -5055,7 +5085,7 @@
|
|
|
5055
5085
|
"immutable": true,
|
|
5056
5086
|
"locationInModule": {
|
|
5057
5087
|
"filename": "lib/cluster.ts",
|
|
5058
|
-
"line":
|
|
5088
|
+
"line": 184
|
|
5059
5089
|
},
|
|
5060
5090
|
"name": "encryptionKey",
|
|
5061
5091
|
"optional": true,
|
|
@@ -5073,7 +5103,7 @@
|
|
|
5073
5103
|
"immutable": true,
|
|
5074
5104
|
"locationInModule": {
|
|
5075
5105
|
"filename": "lib/cluster.ts",
|
|
5076
|
-
"line":
|
|
5106
|
+
"line": 177
|
|
5077
5107
|
},
|
|
5078
5108
|
"name": "volumeSize",
|
|
5079
5109
|
"optional": true,
|
|
@@ -5091,7 +5121,7 @@
|
|
|
5091
5121
|
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/msk-encryption.html#msk-encryption-in-transit",
|
|
5092
5122
|
"stability": "experimental",
|
|
5093
5123
|
"summary": "The settings for encrypting data in transit.",
|
|
5094
|
-
"example": "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.
|
|
5124
|
+
"example": "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.V3_9_X,\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});",
|
|
5095
5125
|
"custom": {
|
|
5096
5126
|
"exampleMetadata": "infused"
|
|
5097
5127
|
}
|
|
@@ -5100,7 +5130,7 @@
|
|
|
5100
5130
|
"kind": "interface",
|
|
5101
5131
|
"locationInModule": {
|
|
5102
5132
|
"filename": "lib/cluster.ts",
|
|
5103
|
-
"line":
|
|
5133
|
+
"line": 342
|
|
5104
5134
|
},
|
|
5105
5135
|
"name": "EncryptionInTransitConfig",
|
|
5106
5136
|
"properties": [
|
|
@@ -5114,7 +5144,7 @@
|
|
|
5114
5144
|
"immutable": true,
|
|
5115
5145
|
"locationInModule": {
|
|
5116
5146
|
"filename": "lib/cluster.ts",
|
|
5117
|
-
"line":
|
|
5147
|
+
"line": 348
|
|
5118
5148
|
},
|
|
5119
5149
|
"name": "clientBroker",
|
|
5120
5150
|
"optional": true,
|
|
@@ -5132,7 +5162,7 @@
|
|
|
5132
5162
|
"immutable": true,
|
|
5133
5163
|
"locationInModule": {
|
|
5134
5164
|
"filename": "lib/cluster.ts",
|
|
5135
|
-
"line":
|
|
5165
|
+
"line": 355
|
|
5136
5166
|
},
|
|
5137
5167
|
"name": "enableInCluster",
|
|
5138
5168
|
"optional": true,
|
|
@@ -5157,7 +5187,7 @@
|
|
|
5157
5187
|
"kind": "interface",
|
|
5158
5188
|
"locationInModule": {
|
|
5159
5189
|
"filename": "lib/cluster.ts",
|
|
5160
|
-
"line":
|
|
5190
|
+
"line": 22
|
|
5161
5191
|
},
|
|
5162
5192
|
"name": "ICluster",
|
|
5163
5193
|
"properties": [
|
|
@@ -5173,7 +5203,7 @@
|
|
|
5173
5203
|
"immutable": true,
|
|
5174
5204
|
"locationInModule": {
|
|
5175
5205
|
"filename": "lib/cluster.ts",
|
|
5176
|
-
"line":
|
|
5206
|
+
"line": 28
|
|
5177
5207
|
},
|
|
5178
5208
|
"name": "clusterArn",
|
|
5179
5209
|
"type": {
|
|
@@ -5192,7 +5222,7 @@
|
|
|
5192
5222
|
"immutable": true,
|
|
5193
5223
|
"locationInModule": {
|
|
5194
5224
|
"filename": "lib/cluster.ts",
|
|
5195
|
-
"line":
|
|
5225
|
+
"line": 35
|
|
5196
5226
|
},
|
|
5197
5227
|
"name": "clusterName",
|
|
5198
5228
|
"type": {
|
|
@@ -5207,7 +5237,7 @@
|
|
|
5207
5237
|
"docs": {
|
|
5208
5238
|
"stability": "experimental",
|
|
5209
5239
|
"summary": "Kafka cluster version.",
|
|
5210
|
-
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
5240
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
5211
5241
|
"custom": {
|
|
5212
5242
|
"exampleMetadata": "infused"
|
|
5213
5243
|
}
|
|
@@ -5226,7 +5256,7 @@
|
|
|
5226
5256
|
},
|
|
5227
5257
|
"locationInModule": {
|
|
5228
5258
|
"filename": "lib/cluster-version.ts",
|
|
5229
|
-
"line":
|
|
5259
|
+
"line": 231
|
|
5230
5260
|
},
|
|
5231
5261
|
"name": "of",
|
|
5232
5262
|
"parameters": [
|
|
@@ -5261,7 +5291,7 @@
|
|
|
5261
5291
|
},
|
|
5262
5292
|
"locationInModule": {
|
|
5263
5293
|
"filename": "lib/cluster-version.ts",
|
|
5264
|
-
"line":
|
|
5294
|
+
"line": 245
|
|
5265
5295
|
},
|
|
5266
5296
|
"name": "isTieredStorageCompatible",
|
|
5267
5297
|
"returns": {
|
|
@@ -5778,15 +5808,51 @@
|
|
|
5778
5808
|
}
|
|
5779
5809
|
},
|
|
5780
5810
|
{
|
|
5811
|
+
"const": true,
|
|
5781
5812
|
"docs": {
|
|
5813
|
+
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/metadata-management.html#msk-get-connection-string",
|
|
5782
5814
|
"stability": "experimental",
|
|
5783
|
-
"summary": "
|
|
5815
|
+
"summary": "Kafka version 3.9.x with ZooKeeper metadata mode support."
|
|
5816
|
+
},
|
|
5817
|
+
"immutable": true,
|
|
5818
|
+
"locationInModule": {
|
|
5819
|
+
"filename": "lib/cluster-version.ts",
|
|
5820
|
+
"line": 219
|
|
5821
|
+
},
|
|
5822
|
+
"name": "V3_9_X",
|
|
5823
|
+
"static": true,
|
|
5824
|
+
"type": {
|
|
5825
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
5826
|
+
}
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
"const": true,
|
|
5830
|
+
"docs": {
|
|
5831
|
+
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/metadata-management.html#kraft-intro",
|
|
5832
|
+
"stability": "experimental",
|
|
5833
|
+
"summary": "Kafka version 3.9.x with KRaft (Apache Kafka Raft) metadata mode support."
|
|
5784
5834
|
},
|
|
5785
5835
|
"immutable": true,
|
|
5786
5836
|
"locationInModule": {
|
|
5787
5837
|
"filename": "lib/cluster-version.ts",
|
|
5788
5838
|
"line": 226
|
|
5789
5839
|
},
|
|
5840
|
+
"name": "V3_9_X_KRAFT",
|
|
5841
|
+
"static": true,
|
|
5842
|
+
"type": {
|
|
5843
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
5844
|
+
}
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"docs": {
|
|
5848
|
+
"stability": "experimental",
|
|
5849
|
+
"summary": "cluster version number."
|
|
5850
|
+
},
|
|
5851
|
+
"immutable": true,
|
|
5852
|
+
"locationInModule": {
|
|
5853
|
+
"filename": "lib/cluster-version.ts",
|
|
5854
|
+
"line": 240
|
|
5855
|
+
},
|
|
5790
5856
|
"name": "version",
|
|
5791
5857
|
"type": {
|
|
5792
5858
|
"primitive": "string"
|
|
@@ -5800,7 +5866,7 @@
|
|
|
5800
5866
|
"immutable": true,
|
|
5801
5867
|
"locationInModule": {
|
|
5802
5868
|
"filename": "lib/cluster-version.ts",
|
|
5803
|
-
"line":
|
|
5869
|
+
"line": 240
|
|
5804
5870
|
},
|
|
5805
5871
|
"name": "features",
|
|
5806
5872
|
"optional": true,
|
|
@@ -5867,7 +5933,7 @@
|
|
|
5867
5933
|
"kind": "interface",
|
|
5868
5934
|
"locationInModule": {
|
|
5869
5935
|
"filename": "lib/cluster.ts",
|
|
5870
|
-
"line":
|
|
5936
|
+
"line": 249
|
|
5871
5937
|
},
|
|
5872
5938
|
"name": "MonitoringConfiguration",
|
|
5873
5939
|
"properties": [
|
|
@@ -5881,7 +5947,7 @@
|
|
|
5881
5947
|
"immutable": true,
|
|
5882
5948
|
"locationInModule": {
|
|
5883
5949
|
"filename": "lib/cluster.ts",
|
|
5884
|
-
"line":
|
|
5950
|
+
"line": 255
|
|
5885
5951
|
},
|
|
5886
5952
|
"name": "clusterMonitoringLevel",
|
|
5887
5953
|
"optional": true,
|
|
@@ -5899,7 +5965,7 @@
|
|
|
5899
5965
|
"immutable": true,
|
|
5900
5966
|
"locationInModule": {
|
|
5901
5967
|
"filename": "lib/cluster.ts",
|
|
5902
|
-
"line":
|
|
5968
|
+
"line": 262
|
|
5903
5969
|
},
|
|
5904
5970
|
"name": "enablePrometheusJmxExporter",
|
|
5905
5971
|
"optional": true,
|
|
@@ -5918,7 +5984,7 @@
|
|
|
5918
5984
|
"immutable": true,
|
|
5919
5985
|
"locationInModule": {
|
|
5920
5986
|
"filename": "lib/cluster.ts",
|
|
5921
|
-
"line":
|
|
5987
|
+
"line": 271
|
|
5922
5988
|
},
|
|
5923
5989
|
"name": "enablePrometheusNodeExporter",
|
|
5924
5990
|
"optional": true,
|
|
@@ -5935,7 +6001,7 @@
|
|
|
5935
6001
|
"docs": {
|
|
5936
6002
|
"stability": "experimental",
|
|
5937
6003
|
"summary": "Details of the Amazon S3 destination for broker logs.",
|
|
5938
|
-
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
6004
|
+
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});",
|
|
5939
6005
|
"custom": {
|
|
5940
6006
|
"exampleMetadata": "infused"
|
|
5941
6007
|
}
|
|
@@ -5944,7 +6010,7 @@
|
|
|
5944
6010
|
"kind": "interface",
|
|
5945
6011
|
"locationInModule": {
|
|
5946
6012
|
"filename": "lib/cluster.ts",
|
|
5947
|
-
"line":
|
|
6013
|
+
"line": 303
|
|
5948
6014
|
},
|
|
5949
6015
|
"name": "S3LoggingConfiguration",
|
|
5950
6016
|
"properties": [
|
|
@@ -5957,7 +6023,7 @@
|
|
|
5957
6023
|
"immutable": true,
|
|
5958
6024
|
"locationInModule": {
|
|
5959
6025
|
"filename": "lib/cluster.ts",
|
|
5960
|
-
"line":
|
|
6026
|
+
"line": 307
|
|
5961
6027
|
},
|
|
5962
6028
|
"name": "bucket",
|
|
5963
6029
|
"type": {
|
|
@@ -5974,7 +6040,7 @@
|
|
|
5974
6040
|
"immutable": true,
|
|
5975
6041
|
"locationInModule": {
|
|
5976
6042
|
"filename": "lib/cluster.ts",
|
|
5977
|
-
"line":
|
|
6043
|
+
"line": 314
|
|
5978
6044
|
},
|
|
5979
6045
|
"name": "prefix",
|
|
5980
6046
|
"optional": true,
|
|
@@ -5991,7 +6057,7 @@
|
|
|
5991
6057
|
"docs": {
|
|
5992
6058
|
"stability": "experimental",
|
|
5993
6059
|
"summary": "SASL authentication properties.",
|
|
5994
|
-
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
6060
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
5995
6061
|
"custom": {
|
|
5996
6062
|
"exampleMetadata": "infused"
|
|
5997
6063
|
}
|
|
@@ -6000,7 +6066,7 @@
|
|
|
6000
6066
|
"kind": "interface",
|
|
6001
6067
|
"locationInModule": {
|
|
6002
6068
|
"filename": "lib/cluster.ts",
|
|
6003
|
-
"line":
|
|
6069
|
+
"line": 361
|
|
6004
6070
|
},
|
|
6005
6071
|
"name": "SaslAuthProps",
|
|
6006
6072
|
"properties": [
|
|
@@ -6014,7 +6080,7 @@
|
|
|
6014
6080
|
"immutable": true,
|
|
6015
6081
|
"locationInModule": {
|
|
6016
6082
|
"filename": "lib/cluster.ts",
|
|
6017
|
-
"line":
|
|
6083
|
+
"line": 374
|
|
6018
6084
|
},
|
|
6019
6085
|
"name": "iam",
|
|
6020
6086
|
"optional": true,
|
|
@@ -6033,7 +6099,7 @@
|
|
|
6033
6099
|
"immutable": true,
|
|
6034
6100
|
"locationInModule": {
|
|
6035
6101
|
"filename": "lib/cluster.ts",
|
|
6036
|
-
"line":
|
|
6102
|
+
"line": 384
|
|
6037
6103
|
},
|
|
6038
6104
|
"name": "key",
|
|
6039
6105
|
"optional": true,
|
|
@@ -6051,7 +6117,7 @@
|
|
|
6051
6117
|
"immutable": true,
|
|
6052
6118
|
"locationInModule": {
|
|
6053
6119
|
"filename": "lib/cluster.ts",
|
|
6054
|
-
"line":
|
|
6120
|
+
"line": 367
|
|
6055
6121
|
},
|
|
6056
6122
|
"name": "scram",
|
|
6057
6123
|
"optional": true,
|
|
@@ -6068,7 +6134,7 @@
|
|
|
6068
6134
|
"docs": {
|
|
6069
6135
|
"stability": "experimental",
|
|
6070
6136
|
"summary": "SASL + TLS authentication properties.",
|
|
6071
|
-
"example": "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.
|
|
6137
|
+
"example": "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.V3_9_X,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.saslTls({\n iam: true,\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});",
|
|
6072
6138
|
"custom": {
|
|
6073
6139
|
"exampleMetadata": "infused"
|
|
6074
6140
|
}
|
|
@@ -6081,7 +6147,7 @@
|
|
|
6081
6147
|
"kind": "interface",
|
|
6082
6148
|
"locationInModule": {
|
|
6083
6149
|
"filename": "lib/cluster.ts",
|
|
6084
|
-
"line":
|
|
6150
|
+
"line": 402
|
|
6085
6151
|
},
|
|
6086
6152
|
"name": "SaslTlsAuthProps",
|
|
6087
6153
|
"symbolId": "lib/cluster:SaslTlsAuthProps"
|
|
@@ -6105,7 +6171,7 @@
|
|
|
6105
6171
|
},
|
|
6106
6172
|
"locationInModule": {
|
|
6107
6173
|
"filename": "lib/serverless-cluster.ts",
|
|
6108
|
-
"line":
|
|
6174
|
+
"line": 84
|
|
6109
6175
|
},
|
|
6110
6176
|
"parameters": [
|
|
6111
6177
|
{
|
|
@@ -6131,7 +6197,7 @@
|
|
|
6131
6197
|
"kind": "class",
|
|
6132
6198
|
"locationInModule": {
|
|
6133
6199
|
"filename": "lib/serverless-cluster.ts",
|
|
6134
|
-
"line":
|
|
6200
|
+
"line": 58
|
|
6135
6201
|
},
|
|
6136
6202
|
"methods": [
|
|
6137
6203
|
{
|
|
@@ -6141,7 +6207,7 @@
|
|
|
6141
6207
|
},
|
|
6142
6208
|
"locationInModule": {
|
|
6143
6209
|
"filename": "lib/serverless-cluster.ts",
|
|
6144
|
-
"line":
|
|
6210
|
+
"line": 66
|
|
6145
6211
|
},
|
|
6146
6212
|
"name": "fromClusterArn",
|
|
6147
6213
|
"parameters": [
|
|
@@ -6174,6 +6240,23 @@
|
|
|
6174
6240
|
],
|
|
6175
6241
|
"name": "ServerlessCluster",
|
|
6176
6242
|
"properties": [
|
|
6243
|
+
{
|
|
6244
|
+
"const": true,
|
|
6245
|
+
"docs": {
|
|
6246
|
+
"stability": "experimental",
|
|
6247
|
+
"summary": "Uniquely identifies this class."
|
|
6248
|
+
},
|
|
6249
|
+
"immutable": true,
|
|
6250
|
+
"locationInModule": {
|
|
6251
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6252
|
+
"line": 61
|
|
6253
|
+
},
|
|
6254
|
+
"name": "PROPERTY_INJECTION_ID",
|
|
6255
|
+
"static": true,
|
|
6256
|
+
"type": {
|
|
6257
|
+
"primitive": "string"
|
|
6258
|
+
}
|
|
6259
|
+
},
|
|
6177
6260
|
{
|
|
6178
6261
|
"docs": {
|
|
6179
6262
|
"stability": "experimental",
|
|
@@ -6182,7 +6265,7 @@
|
|
|
6182
6265
|
"immutable": true,
|
|
6183
6266
|
"locationInModule": {
|
|
6184
6267
|
"filename": "lib/serverless-cluster.ts",
|
|
6185
|
-
"line":
|
|
6268
|
+
"line": 79
|
|
6186
6269
|
},
|
|
6187
6270
|
"name": "clusterArn",
|
|
6188
6271
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -6198,7 +6281,7 @@
|
|
|
6198
6281
|
"immutable": true,
|
|
6199
6282
|
"locationInModule": {
|
|
6200
6283
|
"filename": "lib/serverless-cluster.ts",
|
|
6201
|
-
"line":
|
|
6284
|
+
"line": 80
|
|
6202
6285
|
},
|
|
6203
6286
|
"name": "clusterName",
|
|
6204
6287
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -6224,7 +6307,7 @@
|
|
|
6224
6307
|
"kind": "interface",
|
|
6225
6308
|
"locationInModule": {
|
|
6226
6309
|
"filename": "lib/serverless-cluster.ts",
|
|
6227
|
-
"line":
|
|
6310
|
+
"line": 12
|
|
6228
6311
|
},
|
|
6229
6312
|
"name": "ServerlessClusterProps",
|
|
6230
6313
|
"properties": [
|
|
@@ -6238,7 +6321,7 @@
|
|
|
6238
6321
|
"immutable": true,
|
|
6239
6322
|
"locationInModule": {
|
|
6240
6323
|
"filename": "lib/serverless-cluster.ts",
|
|
6241
|
-
"line":
|
|
6324
|
+
"line": 24
|
|
6242
6325
|
},
|
|
6243
6326
|
"name": "vpcConfigs",
|
|
6244
6327
|
"type": {
|
|
@@ -6260,7 +6343,7 @@
|
|
|
6260
6343
|
"immutable": true,
|
|
6261
6344
|
"locationInModule": {
|
|
6262
6345
|
"filename": "lib/serverless-cluster.ts",
|
|
6263
|
-
"line":
|
|
6346
|
+
"line": 18
|
|
6264
6347
|
},
|
|
6265
6348
|
"name": "clusterName",
|
|
6266
6349
|
"optional": true,
|
|
@@ -6276,7 +6359,7 @@
|
|
|
6276
6359
|
"docs": {
|
|
6277
6360
|
"stability": "experimental",
|
|
6278
6361
|
"summary": "The storage mode for the cluster brokers.",
|
|
6279
|
-
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.
|
|
6362
|
+
"example": "declare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V3_9_X,\n vpc,\n storageMode: msk.StorageMode.TIERED,\n});",
|
|
6280
6363
|
"custom": {
|
|
6281
6364
|
"exampleMetadata": "infused"
|
|
6282
6365
|
}
|
|
@@ -6285,7 +6368,7 @@
|
|
|
6285
6368
|
"kind": "enum",
|
|
6286
6369
|
"locationInModule": {
|
|
6287
6370
|
"filename": "lib/cluster.ts",
|
|
6288
|
-
"line":
|
|
6371
|
+
"line": 190
|
|
6289
6372
|
},
|
|
6290
6373
|
"members": [
|
|
6291
6374
|
{
|
|
@@ -6312,7 +6395,7 @@
|
|
|
6312
6395
|
"docs": {
|
|
6313
6396
|
"stability": "experimental",
|
|
6314
6397
|
"summary": "TLS authentication properties.",
|
|
6315
|
-
"example": "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.
|
|
6398
|
+
"example": "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.V3_9_X,\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});",
|
|
6316
6399
|
"custom": {
|
|
6317
6400
|
"exampleMetadata": "infused"
|
|
6318
6401
|
}
|
|
@@ -6321,7 +6404,7 @@
|
|
|
6321
6404
|
"kind": "interface",
|
|
6322
6405
|
"locationInModule": {
|
|
6323
6406
|
"filename": "lib/cluster.ts",
|
|
6324
|
-
"line":
|
|
6407
|
+
"line": 390
|
|
6325
6408
|
},
|
|
6326
6409
|
"name": "TlsAuthProps",
|
|
6327
6410
|
"properties": [
|
|
@@ -6335,7 +6418,7 @@
|
|
|
6335
6418
|
"immutable": true,
|
|
6336
6419
|
"locationInModule": {
|
|
6337
6420
|
"filename": "lib/cluster.ts",
|
|
6338
|
-
"line":
|
|
6421
|
+
"line": 396
|
|
6339
6422
|
},
|
|
6340
6423
|
"name": "certificateAuthorities",
|
|
6341
6424
|
"optional": true,
|
|
@@ -6366,7 +6449,7 @@
|
|
|
6366
6449
|
"kind": "interface",
|
|
6367
6450
|
"locationInModule": {
|
|
6368
6451
|
"filename": "lib/serverless-cluster.ts",
|
|
6369
|
-
"line":
|
|
6452
|
+
"line": 30
|
|
6370
6453
|
},
|
|
6371
6454
|
"name": "VpcConfig",
|
|
6372
6455
|
"properties": [
|
|
@@ -6380,7 +6463,7 @@
|
|
|
6380
6463
|
"immutable": true,
|
|
6381
6464
|
"locationInModule": {
|
|
6382
6465
|
"filename": "lib/serverless-cluster.ts",
|
|
6383
|
-
"line":
|
|
6466
|
+
"line": 35
|
|
6384
6467
|
},
|
|
6385
6468
|
"name": "vpc",
|
|
6386
6469
|
"type": {
|
|
@@ -6398,7 +6481,7 @@
|
|
|
6398
6481
|
"immutable": true,
|
|
6399
6482
|
"locationInModule": {
|
|
6400
6483
|
"filename": "lib/serverless-cluster.ts",
|
|
6401
|
-
"line":
|
|
6484
|
+
"line": 50
|
|
6402
6485
|
},
|
|
6403
6486
|
"name": "securityGroups",
|
|
6404
6487
|
"optional": true,
|
|
@@ -6421,7 +6504,7 @@
|
|
|
6421
6504
|
"immutable": true,
|
|
6422
6505
|
"locationInModule": {
|
|
6423
6506
|
"filename": "lib/serverless-cluster.ts",
|
|
6424
|
-
"line":
|
|
6507
|
+
"line": 42
|
|
6425
6508
|
},
|
|
6426
6509
|
"name": "vpcSubnets",
|
|
6427
6510
|
"optional": true,
|
|
@@ -6433,6 +6516,6 @@
|
|
|
6433
6516
|
"symbolId": "lib/serverless-cluster:VpcConfig"
|
|
6434
6517
|
}
|
|
6435
6518
|
},
|
|
6436
|
-
"version": "2.
|
|
6519
|
+
"version": "2.196.0-alpha.0",
|
|
6437
6520
|
"fingerprint": "**********"
|
|
6438
6521
|
}
|