@aws-cdk/aws-msk-alpha 2.195.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 +174 -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": {
|
|
@@ -3965,7 +3965,7 @@
|
|
|
3965
3965
|
"stability": "experimental"
|
|
3966
3966
|
},
|
|
3967
3967
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
3968
|
-
"jsiiVersion": "5.7.
|
|
3968
|
+
"jsiiVersion": "5.7.15 (build 8c2933f)",
|
|
3969
3969
|
"keywords": [
|
|
3970
3970
|
"aws",
|
|
3971
3971
|
"cdk",
|
|
@@ -3987,7 +3987,7 @@
|
|
|
3987
3987
|
},
|
|
3988
3988
|
"name": "@aws-cdk/aws-msk-alpha",
|
|
3989
3989
|
"readme": {
|
|
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.
|
|
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"
|
|
3991
3991
|
},
|
|
3992
3992
|
"repository": {
|
|
3993
3993
|
"directory": "packages/@aws-cdk/aws-msk-alpha",
|
|
@@ -4031,7 +4031,7 @@
|
|
|
4031
4031
|
"docs": {
|
|
4032
4032
|
"stability": "experimental",
|
|
4033
4033
|
"summary": "Configuration details related to broker logs.",
|
|
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.
|
|
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});",
|
|
4035
4035
|
"custom": {
|
|
4036
4036
|
"exampleMetadata": "infused"
|
|
4037
4037
|
}
|
|
@@ -4040,7 +4040,7 @@
|
|
|
4040
4040
|
"kind": "interface",
|
|
4041
4041
|
"locationInModule": {
|
|
4042
4042
|
"filename": "lib/cluster.ts",
|
|
4043
|
-
"line":
|
|
4043
|
+
"line": 277
|
|
4044
4044
|
},
|
|
4045
4045
|
"name": "BrokerLogging",
|
|
4046
4046
|
"properties": [
|
|
@@ -4054,7 +4054,7 @@
|
|
|
4054
4054
|
"immutable": true,
|
|
4055
4055
|
"locationInModule": {
|
|
4056
4056
|
"filename": "lib/cluster.ts",
|
|
4057
|
-
"line":
|
|
4057
|
+
"line": 290
|
|
4058
4058
|
},
|
|
4059
4059
|
"name": "cloudwatchLogGroup",
|
|
4060
4060
|
"optional": true,
|
|
@@ -4072,7 +4072,7 @@
|
|
|
4072
4072
|
"immutable": true,
|
|
4073
4073
|
"locationInModule": {
|
|
4074
4074
|
"filename": "lib/cluster.ts",
|
|
4075
|
-
"line":
|
|
4075
|
+
"line": 283
|
|
4076
4076
|
},
|
|
4077
4077
|
"name": "firehoseDeliveryStreamName",
|
|
4078
4078
|
"optional": true,
|
|
@@ -4090,7 +4090,7 @@
|
|
|
4090
4090
|
"immutable": true,
|
|
4091
4091
|
"locationInModule": {
|
|
4092
4092
|
"filename": "lib/cluster.ts",
|
|
4093
|
-
"line":
|
|
4093
|
+
"line": 297
|
|
4094
4094
|
},
|
|
4095
4095
|
"name": "s3",
|
|
4096
4096
|
"optional": true,
|
|
@@ -4106,7 +4106,7 @@
|
|
|
4106
4106
|
"docs": {
|
|
4107
4107
|
"stability": "experimental",
|
|
4108
4108
|
"summary": "Configuration properties for client authentication.",
|
|
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.
|
|
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});",
|
|
4110
4110
|
"custom": {
|
|
4111
4111
|
"exampleMetadata": "infused"
|
|
4112
4112
|
}
|
|
@@ -4115,7 +4115,7 @@
|
|
|
4115
4115
|
"kind": "class",
|
|
4116
4116
|
"locationInModule": {
|
|
4117
4117
|
"filename": "lib/cluster.ts",
|
|
4118
|
-
"line":
|
|
4118
|
+
"line": 407
|
|
4119
4119
|
},
|
|
4120
4120
|
"methods": [
|
|
4121
4121
|
{
|
|
@@ -4125,7 +4125,7 @@
|
|
|
4125
4125
|
},
|
|
4126
4126
|
"locationInModule": {
|
|
4127
4127
|
"filename": "lib/cluster.ts",
|
|
4128
|
-
"line":
|
|
4128
|
+
"line": 411
|
|
4129
4129
|
},
|
|
4130
4130
|
"name": "sasl",
|
|
4131
4131
|
"parameters": [
|
|
@@ -4150,7 +4150,7 @@
|
|
|
4150
4150
|
},
|
|
4151
4151
|
"locationInModule": {
|
|
4152
4152
|
"filename": "lib/cluster.ts",
|
|
4153
|
-
"line":
|
|
4153
|
+
"line": 425
|
|
4154
4154
|
},
|
|
4155
4155
|
"name": "saslTls",
|
|
4156
4156
|
"parameters": [
|
|
@@ -4175,7 +4175,7 @@
|
|
|
4175
4175
|
},
|
|
4176
4176
|
"locationInModule": {
|
|
4177
4177
|
"filename": "lib/cluster.ts",
|
|
4178
|
-
"line":
|
|
4178
|
+
"line": 418
|
|
4179
4179
|
},
|
|
4180
4180
|
"name": "tls",
|
|
4181
4181
|
"parameters": [
|
|
@@ -4204,7 +4204,7 @@
|
|
|
4204
4204
|
"immutable": true,
|
|
4205
4205
|
"locationInModule": {
|
|
4206
4206
|
"filename": "lib/cluster.ts",
|
|
4207
|
-
"line":
|
|
4207
|
+
"line": 434
|
|
4208
4208
|
},
|
|
4209
4209
|
"name": "saslProps",
|
|
4210
4210
|
"optional": true,
|
|
@@ -4220,7 +4220,7 @@
|
|
|
4220
4220
|
"immutable": true,
|
|
4221
4221
|
"locationInModule": {
|
|
4222
4222
|
"filename": "lib/cluster.ts",
|
|
4223
|
-
"line":
|
|
4223
|
+
"line": 435
|
|
4224
4224
|
},
|
|
4225
4225
|
"name": "tlsProps",
|
|
4226
4226
|
"optional": true,
|
|
@@ -4236,7 +4236,7 @@
|
|
|
4236
4236
|
"docs": {
|
|
4237
4237
|
"stability": "experimental",
|
|
4238
4238
|
"summary": "Indicates the encryption setting for data in transit between clients and brokers.",
|
|
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.
|
|
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});",
|
|
4240
4240
|
"custom": {
|
|
4241
4241
|
"exampleMetadata": "infused"
|
|
4242
4242
|
}
|
|
@@ -4245,7 +4245,7 @@
|
|
|
4245
4245
|
"kind": "enum",
|
|
4246
4246
|
"locationInModule": {
|
|
4247
4247
|
"filename": "lib/cluster.ts",
|
|
4248
|
-
"line":
|
|
4248
|
+
"line": 320
|
|
4249
4249
|
},
|
|
4250
4250
|
"members": [
|
|
4251
4251
|
{
|
|
@@ -4283,7 +4283,7 @@
|
|
|
4283
4283
|
},
|
|
4284
4284
|
"stability": "experimental",
|
|
4285
4285
|
"summary": "Create a MSK Cluster.",
|
|
4286
|
-
"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});"
|
|
4287
4287
|
},
|
|
4288
4288
|
"fqn": "@aws-cdk/aws-msk-alpha.Cluster",
|
|
4289
4289
|
"initializer": {
|
|
@@ -4292,7 +4292,7 @@
|
|
|
4292
4292
|
},
|
|
4293
4293
|
"locationInModule": {
|
|
4294
4294
|
"filename": "lib/cluster.ts",
|
|
4295
|
-
"line":
|
|
4295
|
+
"line": 468
|
|
4296
4296
|
},
|
|
4297
4297
|
"parameters": [
|
|
4298
4298
|
{
|
|
@@ -4318,7 +4318,7 @@
|
|
|
4318
4318
|
"kind": "class",
|
|
4319
4319
|
"locationInModule": {
|
|
4320
4320
|
"filename": "lib/cluster.ts",
|
|
4321
|
-
"line":
|
|
4321
|
+
"line": 444
|
|
4322
4322
|
},
|
|
4323
4323
|
"methods": [
|
|
4324
4324
|
{
|
|
@@ -4328,7 +4328,7 @@
|
|
|
4328
4328
|
},
|
|
4329
4329
|
"locationInModule": {
|
|
4330
4330
|
"filename": "lib/cluster.ts",
|
|
4331
|
-
"line":
|
|
4331
|
+
"line": 452
|
|
4332
4332
|
},
|
|
4333
4333
|
"name": "fromClusterArn",
|
|
4334
4334
|
"parameters": [
|
|
@@ -4366,7 +4366,7 @@
|
|
|
4366
4366
|
},
|
|
4367
4367
|
"locationInModule": {
|
|
4368
4368
|
"filename": "lib/cluster.ts",
|
|
4369
|
-
"line":
|
|
4369
|
+
"line": 850
|
|
4370
4370
|
},
|
|
4371
4371
|
"name": "addUser",
|
|
4372
4372
|
"parameters": [
|
|
@@ -4386,6 +4386,23 @@
|
|
|
4386
4386
|
],
|
|
4387
4387
|
"name": "Cluster",
|
|
4388
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
|
+
},
|
|
4389
4406
|
{
|
|
4390
4407
|
"docs": {
|
|
4391
4408
|
"remarks": "Uses a Custom Resource to make an API call to `getBootstrapBrokers` using the Javascript SDK",
|
|
@@ -4396,7 +4413,7 @@
|
|
|
4396
4413
|
"immutable": true,
|
|
4397
4414
|
"locationInModule": {
|
|
4398
4415
|
"filename": "lib/cluster.ts",
|
|
4399
|
-
"line":
|
|
4416
|
+
"line": 805
|
|
4400
4417
|
},
|
|
4401
4418
|
"name": "bootstrapBrokers",
|
|
4402
4419
|
"type": {
|
|
@@ -4413,7 +4430,7 @@
|
|
|
4413
4430
|
"immutable": true,
|
|
4414
4431
|
"locationInModule": {
|
|
4415
4432
|
"filename": "lib/cluster.ts",
|
|
4416
|
-
"line":
|
|
4433
|
+
"line": 838
|
|
4417
4434
|
},
|
|
4418
4435
|
"name": "bootstrapBrokersSaslIam",
|
|
4419
4436
|
"type": {
|
|
@@ -4430,7 +4447,7 @@
|
|
|
4430
4447
|
"immutable": true,
|
|
4431
4448
|
"locationInModule": {
|
|
4432
4449
|
"filename": "lib/cluster.ts",
|
|
4433
|
-
"line":
|
|
4450
|
+
"line": 827
|
|
4434
4451
|
},
|
|
4435
4452
|
"name": "bootstrapBrokersSaslScram",
|
|
4436
4453
|
"type": {
|
|
@@ -4447,7 +4464,7 @@
|
|
|
4447
4464
|
"immutable": true,
|
|
4448
4465
|
"locationInModule": {
|
|
4449
4466
|
"filename": "lib/cluster.ts",
|
|
4450
|
-
"line":
|
|
4467
|
+
"line": 816
|
|
4451
4468
|
},
|
|
4452
4469
|
"name": "bootstrapBrokersTls",
|
|
4453
4470
|
"type": {
|
|
@@ -4462,7 +4479,7 @@
|
|
|
4462
4479
|
"immutable": true,
|
|
4463
4480
|
"locationInModule": {
|
|
4464
4481
|
"filename": "lib/cluster.ts",
|
|
4465
|
-
"line":
|
|
4482
|
+
"line": 461
|
|
4466
4483
|
},
|
|
4467
4484
|
"name": "clusterArn",
|
|
4468
4485
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -4478,7 +4495,7 @@
|
|
|
4478
4495
|
"immutable": true,
|
|
4479
4496
|
"locationInModule": {
|
|
4480
4497
|
"filename": "lib/cluster.ts",
|
|
4481
|
-
"line":
|
|
4498
|
+
"line": 462
|
|
4482
4499
|
},
|
|
4483
4500
|
"name": "clusterName",
|
|
4484
4501
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -4496,7 +4513,7 @@
|
|
|
4496
4513
|
"immutable": true,
|
|
4497
4514
|
"locationInModule": {
|
|
4498
4515
|
"filename": "lib/cluster.ts",
|
|
4499
|
-
"line":
|
|
4516
|
+
"line": 755
|
|
4500
4517
|
},
|
|
4501
4518
|
"name": "zookeeperConnectionString",
|
|
4502
4519
|
"type": {
|
|
@@ -4513,7 +4530,7 @@
|
|
|
4513
4530
|
"immutable": true,
|
|
4514
4531
|
"locationInModule": {
|
|
4515
4532
|
"filename": "lib/cluster.ts",
|
|
4516
|
-
"line":
|
|
4533
|
+
"line": 766
|
|
4517
4534
|
},
|
|
4518
4535
|
"name": "zookeeperConnectionStringTls",
|
|
4519
4536
|
"type": {
|
|
@@ -4528,7 +4545,7 @@
|
|
|
4528
4545
|
"immutable": true,
|
|
4529
4546
|
"locationInModule": {
|
|
4530
4547
|
"filename": "lib/cluster.ts",
|
|
4531
|
-
"line":
|
|
4548
|
+
"line": 464
|
|
4532
4549
|
},
|
|
4533
4550
|
"name": "saslScramAuthenticationKey",
|
|
4534
4551
|
"optional": true,
|
|
@@ -4584,7 +4601,7 @@
|
|
|
4584
4601
|
"kind": "class",
|
|
4585
4602
|
"locationInModule": {
|
|
4586
4603
|
"filename": "lib/cluster.ts",
|
|
4587
|
-
"line":
|
|
4604
|
+
"line": 41
|
|
4588
4605
|
},
|
|
4589
4606
|
"name": "ClusterBase",
|
|
4590
4607
|
"properties": [
|
|
@@ -4597,7 +4614,7 @@
|
|
|
4597
4614
|
"immutable": true,
|
|
4598
4615
|
"locationInModule": {
|
|
4599
4616
|
"filename": "lib/cluster.ts",
|
|
4600
|
-
"line":
|
|
4617
|
+
"line": 42
|
|
4601
4618
|
},
|
|
4602
4619
|
"name": "clusterArn",
|
|
4603
4620
|
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
@@ -4614,7 +4631,7 @@
|
|
|
4614
4631
|
"immutable": true,
|
|
4615
4632
|
"locationInModule": {
|
|
4616
4633
|
"filename": "lib/cluster.ts",
|
|
4617
|
-
"line":
|
|
4634
|
+
"line": 43
|
|
4618
4635
|
},
|
|
4619
4636
|
"name": "clusterName",
|
|
4620
4637
|
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
@@ -4630,7 +4647,7 @@
|
|
|
4630
4647
|
"immutable": true,
|
|
4631
4648
|
"locationInModule": {
|
|
4632
4649
|
"filename": "lib/cluster.ts",
|
|
4633
|
-
"line":
|
|
4650
|
+
"line": 48
|
|
4634
4651
|
},
|
|
4635
4652
|
"name": "connections",
|
|
4636
4653
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -4657,7 +4674,7 @@
|
|
|
4657
4674
|
"kind": "interface",
|
|
4658
4675
|
"locationInModule": {
|
|
4659
4676
|
"filename": "lib/cluster.ts",
|
|
4660
|
-
"line":
|
|
4677
|
+
"line": 206
|
|
4661
4678
|
},
|
|
4662
4679
|
"name": "ClusterConfigurationInfo",
|
|
4663
4680
|
"properties": [
|
|
@@ -4671,7 +4688,7 @@
|
|
|
4671
4688
|
"immutable": true,
|
|
4672
4689
|
"locationInModule": {
|
|
4673
4690
|
"filename": "lib/cluster.ts",
|
|
4674
|
-
"line":
|
|
4691
|
+
"line": 211
|
|
4675
4692
|
},
|
|
4676
4693
|
"name": "arn",
|
|
4677
4694
|
"type": {
|
|
@@ -4687,7 +4704,7 @@
|
|
|
4687
4704
|
"immutable": true,
|
|
4688
4705
|
"locationInModule": {
|
|
4689
4706
|
"filename": "lib/cluster.ts",
|
|
4690
|
-
"line":
|
|
4707
|
+
"line": 216
|
|
4691
4708
|
},
|
|
4692
4709
|
"name": "revision",
|
|
4693
4710
|
"type": {
|
|
@@ -4708,7 +4725,7 @@
|
|
|
4708
4725
|
"kind": "enum",
|
|
4709
4726
|
"locationInModule": {
|
|
4710
4727
|
"filename": "lib/cluster.ts",
|
|
4711
|
-
"line":
|
|
4728
|
+
"line": 224
|
|
4712
4729
|
},
|
|
4713
4730
|
"members": [
|
|
4714
4731
|
{
|
|
@@ -4749,7 +4766,7 @@
|
|
|
4749
4766
|
"docs": {
|
|
4750
4767
|
"stability": "experimental",
|
|
4751
4768
|
"summary": "Properties for a MSK Cluster.",
|
|
4752
|
-
"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});",
|
|
4753
4770
|
"custom": {
|
|
4754
4771
|
"exampleMetadata": "infused"
|
|
4755
4772
|
}
|
|
@@ -4758,7 +4775,7 @@
|
|
|
4758
4775
|
"kind": "interface",
|
|
4759
4776
|
"locationInModule": {
|
|
4760
4777
|
"filename": "lib/cluster.ts",
|
|
4761
|
-
"line":
|
|
4778
|
+
"line": 59
|
|
4762
4779
|
},
|
|
4763
4780
|
"name": "ClusterProps",
|
|
4764
4781
|
"properties": [
|
|
@@ -4771,7 +4788,7 @@
|
|
|
4771
4788
|
"immutable": true,
|
|
4772
4789
|
"locationInModule": {
|
|
4773
4790
|
"filename": "lib/cluster.ts",
|
|
4774
|
-
"line":
|
|
4791
|
+
"line": 63
|
|
4775
4792
|
},
|
|
4776
4793
|
"name": "clusterName",
|
|
4777
4794
|
"type": {
|
|
@@ -4787,7 +4804,7 @@
|
|
|
4787
4804
|
"immutable": true,
|
|
4788
4805
|
"locationInModule": {
|
|
4789
4806
|
"filename": "lib/cluster.ts",
|
|
4790
|
-
"line":
|
|
4807
|
+
"line": 68
|
|
4791
4808
|
},
|
|
4792
4809
|
"name": "kafkaVersion",
|
|
4793
4810
|
"type": {
|
|
@@ -4804,7 +4821,7 @@
|
|
|
4804
4821
|
"immutable": true,
|
|
4805
4822
|
"locationInModule": {
|
|
4806
4823
|
"filename": "lib/cluster.ts",
|
|
4807
|
-
"line":
|
|
4824
|
+
"line": 81
|
|
4808
4825
|
},
|
|
4809
4826
|
"name": "vpc",
|
|
4810
4827
|
"type": {
|
|
@@ -4822,7 +4839,7 @@
|
|
|
4822
4839
|
"immutable": true,
|
|
4823
4840
|
"locationInModule": {
|
|
4824
4841
|
"filename": "lib/cluster.ts",
|
|
4825
|
-
"line":
|
|
4842
|
+
"line": 158
|
|
4826
4843
|
},
|
|
4827
4844
|
"name": "clientAuthentication",
|
|
4828
4845
|
"optional": true,
|
|
@@ -4840,7 +4857,7 @@
|
|
|
4840
4857
|
"immutable": true,
|
|
4841
4858
|
"locationInModule": {
|
|
4842
4859
|
"filename": "lib/cluster.ts",
|
|
4843
|
-
"line":
|
|
4860
|
+
"line": 129
|
|
4844
4861
|
},
|
|
4845
4862
|
"name": "configurationInfo",
|
|
4846
4863
|
"optional": true,
|
|
@@ -4858,7 +4875,7 @@
|
|
|
4858
4875
|
"immutable": true,
|
|
4859
4876
|
"locationInModule": {
|
|
4860
4877
|
"filename": "lib/cluster.ts",
|
|
4861
|
-
"line":
|
|
4878
|
+
"line": 114
|
|
4862
4879
|
},
|
|
4863
4880
|
"name": "ebsStorageInfo",
|
|
4864
4881
|
"optional": true,
|
|
@@ -4876,7 +4893,7 @@
|
|
|
4876
4893
|
"immutable": true,
|
|
4877
4894
|
"locationInModule": {
|
|
4878
4895
|
"filename": "lib/cluster.ts",
|
|
4879
|
-
"line":
|
|
4896
|
+
"line": 150
|
|
4880
4897
|
},
|
|
4881
4898
|
"name": "encryptionInTransit",
|
|
4882
4899
|
"optional": true,
|
|
@@ -4895,7 +4912,7 @@
|
|
|
4895
4912
|
"immutable": true,
|
|
4896
4913
|
"locationInModule": {
|
|
4897
4914
|
"filename": "lib/cluster.ts",
|
|
4898
|
-
"line":
|
|
4915
|
+
"line": 99
|
|
4899
4916
|
},
|
|
4900
4917
|
"name": "instanceType",
|
|
4901
4918
|
"optional": true,
|
|
@@ -4913,7 +4930,7 @@
|
|
|
4913
4930
|
"immutable": true,
|
|
4914
4931
|
"locationInModule": {
|
|
4915
4932
|
"filename": "lib/cluster.ts",
|
|
4916
|
-
"line":
|
|
4933
|
+
"line": 143
|
|
4917
4934
|
},
|
|
4918
4935
|
"name": "logging",
|
|
4919
4936
|
"optional": true,
|
|
@@ -4931,7 +4948,7 @@
|
|
|
4931
4948
|
"immutable": true,
|
|
4932
4949
|
"locationInModule": {
|
|
4933
4950
|
"filename": "lib/cluster.ts",
|
|
4934
|
-
"line":
|
|
4951
|
+
"line": 136
|
|
4935
4952
|
},
|
|
4936
4953
|
"name": "monitoring",
|
|
4937
4954
|
"optional": true,
|
|
@@ -4949,7 +4966,7 @@
|
|
|
4949
4966
|
"immutable": true,
|
|
4950
4967
|
"locationInModule": {
|
|
4951
4968
|
"filename": "lib/cluster.ts",
|
|
4952
|
-
"line":
|
|
4969
|
+
"line": 75
|
|
4953
4970
|
},
|
|
4954
4971
|
"name": "numberOfBrokerNodes",
|
|
4955
4972
|
"optional": true,
|
|
@@ -4967,7 +4984,7 @@
|
|
|
4967
4984
|
"immutable": true,
|
|
4968
4985
|
"locationInModule": {
|
|
4969
4986
|
"filename": "lib/cluster.ts",
|
|
4970
|
-
"line":
|
|
4987
|
+
"line": 165
|
|
4971
4988
|
},
|
|
4972
4989
|
"name": "removalPolicy",
|
|
4973
4990
|
"optional": true,
|
|
@@ -4985,7 +5002,7 @@
|
|
|
4985
5002
|
"immutable": true,
|
|
4986
5003
|
"locationInModule": {
|
|
4987
5004
|
"filename": "lib/cluster.ts",
|
|
4988
|
-
"line":
|
|
5005
|
+
"line": 107
|
|
4989
5006
|
},
|
|
4990
5007
|
"name": "securityGroups",
|
|
4991
5008
|
"optional": true,
|
|
@@ -5009,7 +5026,7 @@
|
|
|
5009
5026
|
"immutable": true,
|
|
5010
5027
|
"locationInModule": {
|
|
5011
5028
|
"filename": "lib/cluster.ts",
|
|
5012
|
-
"line":
|
|
5029
|
+
"line": 122
|
|
5013
5030
|
},
|
|
5014
5031
|
"name": "storageMode",
|
|
5015
5032
|
"optional": true,
|
|
@@ -5028,7 +5045,7 @@
|
|
|
5028
5045
|
"immutable": true,
|
|
5029
5046
|
"locationInModule": {
|
|
5030
5047
|
"filename": "lib/cluster.ts",
|
|
5031
|
-
"line":
|
|
5048
|
+
"line": 91
|
|
5032
5049
|
},
|
|
5033
5050
|
"name": "vpcSubnets",
|
|
5034
5051
|
"optional": true,
|
|
@@ -5054,7 +5071,7 @@
|
|
|
5054
5071
|
"kind": "interface",
|
|
5055
5072
|
"locationInModule": {
|
|
5056
5073
|
"filename": "lib/cluster.ts",
|
|
5057
|
-
"line":
|
|
5074
|
+
"line": 171
|
|
5058
5075
|
},
|
|
5059
5076
|
"name": "EbsStorageInfo",
|
|
5060
5077
|
"properties": [
|
|
@@ -5068,7 +5085,7 @@
|
|
|
5068
5085
|
"immutable": true,
|
|
5069
5086
|
"locationInModule": {
|
|
5070
5087
|
"filename": "lib/cluster.ts",
|
|
5071
|
-
"line":
|
|
5088
|
+
"line": 184
|
|
5072
5089
|
},
|
|
5073
5090
|
"name": "encryptionKey",
|
|
5074
5091
|
"optional": true,
|
|
@@ -5086,7 +5103,7 @@
|
|
|
5086
5103
|
"immutable": true,
|
|
5087
5104
|
"locationInModule": {
|
|
5088
5105
|
"filename": "lib/cluster.ts",
|
|
5089
|
-
"line":
|
|
5106
|
+
"line": 177
|
|
5090
5107
|
},
|
|
5091
5108
|
"name": "volumeSize",
|
|
5092
5109
|
"optional": true,
|
|
@@ -5104,7 +5121,7 @@
|
|
|
5104
5121
|
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/msk-encryption.html#msk-encryption-in-transit",
|
|
5105
5122
|
"stability": "experimental",
|
|
5106
5123
|
"summary": "The settings for encrypting data in transit.",
|
|
5107
|
-
"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});",
|
|
5108
5125
|
"custom": {
|
|
5109
5126
|
"exampleMetadata": "infused"
|
|
5110
5127
|
}
|
|
@@ -5113,7 +5130,7 @@
|
|
|
5113
5130
|
"kind": "interface",
|
|
5114
5131
|
"locationInModule": {
|
|
5115
5132
|
"filename": "lib/cluster.ts",
|
|
5116
|
-
"line":
|
|
5133
|
+
"line": 342
|
|
5117
5134
|
},
|
|
5118
5135
|
"name": "EncryptionInTransitConfig",
|
|
5119
5136
|
"properties": [
|
|
@@ -5127,7 +5144,7 @@
|
|
|
5127
5144
|
"immutable": true,
|
|
5128
5145
|
"locationInModule": {
|
|
5129
5146
|
"filename": "lib/cluster.ts",
|
|
5130
|
-
"line":
|
|
5147
|
+
"line": 348
|
|
5131
5148
|
},
|
|
5132
5149
|
"name": "clientBroker",
|
|
5133
5150
|
"optional": true,
|
|
@@ -5145,7 +5162,7 @@
|
|
|
5145
5162
|
"immutable": true,
|
|
5146
5163
|
"locationInModule": {
|
|
5147
5164
|
"filename": "lib/cluster.ts",
|
|
5148
|
-
"line":
|
|
5165
|
+
"line": 355
|
|
5149
5166
|
},
|
|
5150
5167
|
"name": "enableInCluster",
|
|
5151
5168
|
"optional": true,
|
|
@@ -5170,7 +5187,7 @@
|
|
|
5170
5187
|
"kind": "interface",
|
|
5171
5188
|
"locationInModule": {
|
|
5172
5189
|
"filename": "lib/cluster.ts",
|
|
5173
|
-
"line":
|
|
5190
|
+
"line": 22
|
|
5174
5191
|
},
|
|
5175
5192
|
"name": "ICluster",
|
|
5176
5193
|
"properties": [
|
|
@@ -5186,7 +5203,7 @@
|
|
|
5186
5203
|
"immutable": true,
|
|
5187
5204
|
"locationInModule": {
|
|
5188
5205
|
"filename": "lib/cluster.ts",
|
|
5189
|
-
"line":
|
|
5206
|
+
"line": 28
|
|
5190
5207
|
},
|
|
5191
5208
|
"name": "clusterArn",
|
|
5192
5209
|
"type": {
|
|
@@ -5205,7 +5222,7 @@
|
|
|
5205
5222
|
"immutable": true,
|
|
5206
5223
|
"locationInModule": {
|
|
5207
5224
|
"filename": "lib/cluster.ts",
|
|
5208
|
-
"line":
|
|
5225
|
+
"line": 35
|
|
5209
5226
|
},
|
|
5210
5227
|
"name": "clusterName",
|
|
5211
5228
|
"type": {
|
|
@@ -5220,7 +5237,7 @@
|
|
|
5220
5237
|
"docs": {
|
|
5221
5238
|
"stability": "experimental",
|
|
5222
5239
|
"summary": "Kafka cluster version.",
|
|
5223
|
-
"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});",
|
|
5224
5241
|
"custom": {
|
|
5225
5242
|
"exampleMetadata": "infused"
|
|
5226
5243
|
}
|
|
@@ -5239,7 +5256,7 @@
|
|
|
5239
5256
|
},
|
|
5240
5257
|
"locationInModule": {
|
|
5241
5258
|
"filename": "lib/cluster-version.ts",
|
|
5242
|
-
"line":
|
|
5259
|
+
"line": 231
|
|
5243
5260
|
},
|
|
5244
5261
|
"name": "of",
|
|
5245
5262
|
"parameters": [
|
|
@@ -5274,7 +5291,7 @@
|
|
|
5274
5291
|
},
|
|
5275
5292
|
"locationInModule": {
|
|
5276
5293
|
"filename": "lib/cluster-version.ts",
|
|
5277
|
-
"line":
|
|
5294
|
+
"line": 245
|
|
5278
5295
|
},
|
|
5279
5296
|
"name": "isTieredStorageCompatible",
|
|
5280
5297
|
"returns": {
|
|
@@ -5791,15 +5808,51 @@
|
|
|
5791
5808
|
}
|
|
5792
5809
|
},
|
|
5793
5810
|
{
|
|
5811
|
+
"const": true,
|
|
5794
5812
|
"docs": {
|
|
5813
|
+
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/metadata-management.html#msk-get-connection-string",
|
|
5795
5814
|
"stability": "experimental",
|
|
5796
|
-
"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."
|
|
5797
5834
|
},
|
|
5798
5835
|
"immutable": true,
|
|
5799
5836
|
"locationInModule": {
|
|
5800
5837
|
"filename": "lib/cluster-version.ts",
|
|
5801
5838
|
"line": 226
|
|
5802
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
|
+
},
|
|
5803
5856
|
"name": "version",
|
|
5804
5857
|
"type": {
|
|
5805
5858
|
"primitive": "string"
|
|
@@ -5813,7 +5866,7 @@
|
|
|
5813
5866
|
"immutable": true,
|
|
5814
5867
|
"locationInModule": {
|
|
5815
5868
|
"filename": "lib/cluster-version.ts",
|
|
5816
|
-
"line":
|
|
5869
|
+
"line": 240
|
|
5817
5870
|
},
|
|
5818
5871
|
"name": "features",
|
|
5819
5872
|
"optional": true,
|
|
@@ -5880,7 +5933,7 @@
|
|
|
5880
5933
|
"kind": "interface",
|
|
5881
5934
|
"locationInModule": {
|
|
5882
5935
|
"filename": "lib/cluster.ts",
|
|
5883
|
-
"line":
|
|
5936
|
+
"line": 249
|
|
5884
5937
|
},
|
|
5885
5938
|
"name": "MonitoringConfiguration",
|
|
5886
5939
|
"properties": [
|
|
@@ -5894,7 +5947,7 @@
|
|
|
5894
5947
|
"immutable": true,
|
|
5895
5948
|
"locationInModule": {
|
|
5896
5949
|
"filename": "lib/cluster.ts",
|
|
5897
|
-
"line":
|
|
5950
|
+
"line": 255
|
|
5898
5951
|
},
|
|
5899
5952
|
"name": "clusterMonitoringLevel",
|
|
5900
5953
|
"optional": true,
|
|
@@ -5912,7 +5965,7 @@
|
|
|
5912
5965
|
"immutable": true,
|
|
5913
5966
|
"locationInModule": {
|
|
5914
5967
|
"filename": "lib/cluster.ts",
|
|
5915
|
-
"line":
|
|
5968
|
+
"line": 262
|
|
5916
5969
|
},
|
|
5917
5970
|
"name": "enablePrometheusJmxExporter",
|
|
5918
5971
|
"optional": true,
|
|
@@ -5931,7 +5984,7 @@
|
|
|
5931
5984
|
"immutable": true,
|
|
5932
5985
|
"locationInModule": {
|
|
5933
5986
|
"filename": "lib/cluster.ts",
|
|
5934
|
-
"line":
|
|
5987
|
+
"line": 271
|
|
5935
5988
|
},
|
|
5936
5989
|
"name": "enablePrometheusNodeExporter",
|
|
5937
5990
|
"optional": true,
|
|
@@ -5948,7 +6001,7 @@
|
|
|
5948
6001
|
"docs": {
|
|
5949
6002
|
"stability": "experimental",
|
|
5950
6003
|
"summary": "Details of the Amazon S3 destination for broker logs.",
|
|
5951
|
-
"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});",
|
|
5952
6005
|
"custom": {
|
|
5953
6006
|
"exampleMetadata": "infused"
|
|
5954
6007
|
}
|
|
@@ -5957,7 +6010,7 @@
|
|
|
5957
6010
|
"kind": "interface",
|
|
5958
6011
|
"locationInModule": {
|
|
5959
6012
|
"filename": "lib/cluster.ts",
|
|
5960
|
-
"line":
|
|
6013
|
+
"line": 303
|
|
5961
6014
|
},
|
|
5962
6015
|
"name": "S3LoggingConfiguration",
|
|
5963
6016
|
"properties": [
|
|
@@ -5970,7 +6023,7 @@
|
|
|
5970
6023
|
"immutable": true,
|
|
5971
6024
|
"locationInModule": {
|
|
5972
6025
|
"filename": "lib/cluster.ts",
|
|
5973
|
-
"line":
|
|
6026
|
+
"line": 307
|
|
5974
6027
|
},
|
|
5975
6028
|
"name": "bucket",
|
|
5976
6029
|
"type": {
|
|
@@ -5987,7 +6040,7 @@
|
|
|
5987
6040
|
"immutable": true,
|
|
5988
6041
|
"locationInModule": {
|
|
5989
6042
|
"filename": "lib/cluster.ts",
|
|
5990
|
-
"line":
|
|
6043
|
+
"line": 314
|
|
5991
6044
|
},
|
|
5992
6045
|
"name": "prefix",
|
|
5993
6046
|
"optional": true,
|
|
@@ -6004,7 +6057,7 @@
|
|
|
6004
6057
|
"docs": {
|
|
6005
6058
|
"stability": "experimental",
|
|
6006
6059
|
"summary": "SASL authentication properties.",
|
|
6007
|
-
"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});",
|
|
6008
6061
|
"custom": {
|
|
6009
6062
|
"exampleMetadata": "infused"
|
|
6010
6063
|
}
|
|
@@ -6013,7 +6066,7 @@
|
|
|
6013
6066
|
"kind": "interface",
|
|
6014
6067
|
"locationInModule": {
|
|
6015
6068
|
"filename": "lib/cluster.ts",
|
|
6016
|
-
"line":
|
|
6069
|
+
"line": 361
|
|
6017
6070
|
},
|
|
6018
6071
|
"name": "SaslAuthProps",
|
|
6019
6072
|
"properties": [
|
|
@@ -6027,7 +6080,7 @@
|
|
|
6027
6080
|
"immutable": true,
|
|
6028
6081
|
"locationInModule": {
|
|
6029
6082
|
"filename": "lib/cluster.ts",
|
|
6030
|
-
"line":
|
|
6083
|
+
"line": 374
|
|
6031
6084
|
},
|
|
6032
6085
|
"name": "iam",
|
|
6033
6086
|
"optional": true,
|
|
@@ -6046,7 +6099,7 @@
|
|
|
6046
6099
|
"immutable": true,
|
|
6047
6100
|
"locationInModule": {
|
|
6048
6101
|
"filename": "lib/cluster.ts",
|
|
6049
|
-
"line":
|
|
6102
|
+
"line": 384
|
|
6050
6103
|
},
|
|
6051
6104
|
"name": "key",
|
|
6052
6105
|
"optional": true,
|
|
@@ -6064,7 +6117,7 @@
|
|
|
6064
6117
|
"immutable": true,
|
|
6065
6118
|
"locationInModule": {
|
|
6066
6119
|
"filename": "lib/cluster.ts",
|
|
6067
|
-
"line":
|
|
6120
|
+
"line": 367
|
|
6068
6121
|
},
|
|
6069
6122
|
"name": "scram",
|
|
6070
6123
|
"optional": true,
|
|
@@ -6081,7 +6134,7 @@
|
|
|
6081
6134
|
"docs": {
|
|
6082
6135
|
"stability": "experimental",
|
|
6083
6136
|
"summary": "SASL + TLS authentication properties.",
|
|
6084
|
-
"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});",
|
|
6085
6138
|
"custom": {
|
|
6086
6139
|
"exampleMetadata": "infused"
|
|
6087
6140
|
}
|
|
@@ -6094,7 +6147,7 @@
|
|
|
6094
6147
|
"kind": "interface",
|
|
6095
6148
|
"locationInModule": {
|
|
6096
6149
|
"filename": "lib/cluster.ts",
|
|
6097
|
-
"line":
|
|
6150
|
+
"line": 402
|
|
6098
6151
|
},
|
|
6099
6152
|
"name": "SaslTlsAuthProps",
|
|
6100
6153
|
"symbolId": "lib/cluster:SaslTlsAuthProps"
|
|
@@ -6118,7 +6171,7 @@
|
|
|
6118
6171
|
},
|
|
6119
6172
|
"locationInModule": {
|
|
6120
6173
|
"filename": "lib/serverless-cluster.ts",
|
|
6121
|
-
"line":
|
|
6174
|
+
"line": 84
|
|
6122
6175
|
},
|
|
6123
6176
|
"parameters": [
|
|
6124
6177
|
{
|
|
@@ -6144,7 +6197,7 @@
|
|
|
6144
6197
|
"kind": "class",
|
|
6145
6198
|
"locationInModule": {
|
|
6146
6199
|
"filename": "lib/serverless-cluster.ts",
|
|
6147
|
-
"line":
|
|
6200
|
+
"line": 58
|
|
6148
6201
|
},
|
|
6149
6202
|
"methods": [
|
|
6150
6203
|
{
|
|
@@ -6154,7 +6207,7 @@
|
|
|
6154
6207
|
},
|
|
6155
6208
|
"locationInModule": {
|
|
6156
6209
|
"filename": "lib/serverless-cluster.ts",
|
|
6157
|
-
"line":
|
|
6210
|
+
"line": 66
|
|
6158
6211
|
},
|
|
6159
6212
|
"name": "fromClusterArn",
|
|
6160
6213
|
"parameters": [
|
|
@@ -6187,6 +6240,23 @@
|
|
|
6187
6240
|
],
|
|
6188
6241
|
"name": "ServerlessCluster",
|
|
6189
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
|
+
},
|
|
6190
6260
|
{
|
|
6191
6261
|
"docs": {
|
|
6192
6262
|
"stability": "experimental",
|
|
@@ -6195,7 +6265,7 @@
|
|
|
6195
6265
|
"immutable": true,
|
|
6196
6266
|
"locationInModule": {
|
|
6197
6267
|
"filename": "lib/serverless-cluster.ts",
|
|
6198
|
-
"line":
|
|
6268
|
+
"line": 79
|
|
6199
6269
|
},
|
|
6200
6270
|
"name": "clusterArn",
|
|
6201
6271
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -6211,7 +6281,7 @@
|
|
|
6211
6281
|
"immutable": true,
|
|
6212
6282
|
"locationInModule": {
|
|
6213
6283
|
"filename": "lib/serverless-cluster.ts",
|
|
6214
|
-
"line":
|
|
6284
|
+
"line": 80
|
|
6215
6285
|
},
|
|
6216
6286
|
"name": "clusterName",
|
|
6217
6287
|
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
@@ -6237,7 +6307,7 @@
|
|
|
6237
6307
|
"kind": "interface",
|
|
6238
6308
|
"locationInModule": {
|
|
6239
6309
|
"filename": "lib/serverless-cluster.ts",
|
|
6240
|
-
"line":
|
|
6310
|
+
"line": 12
|
|
6241
6311
|
},
|
|
6242
6312
|
"name": "ServerlessClusterProps",
|
|
6243
6313
|
"properties": [
|
|
@@ -6251,7 +6321,7 @@
|
|
|
6251
6321
|
"immutable": true,
|
|
6252
6322
|
"locationInModule": {
|
|
6253
6323
|
"filename": "lib/serverless-cluster.ts",
|
|
6254
|
-
"line":
|
|
6324
|
+
"line": 24
|
|
6255
6325
|
},
|
|
6256
6326
|
"name": "vpcConfigs",
|
|
6257
6327
|
"type": {
|
|
@@ -6273,7 +6343,7 @@
|
|
|
6273
6343
|
"immutable": true,
|
|
6274
6344
|
"locationInModule": {
|
|
6275
6345
|
"filename": "lib/serverless-cluster.ts",
|
|
6276
|
-
"line":
|
|
6346
|
+
"line": 18
|
|
6277
6347
|
},
|
|
6278
6348
|
"name": "clusterName",
|
|
6279
6349
|
"optional": true,
|
|
@@ -6289,7 +6359,7 @@
|
|
|
6289
6359
|
"docs": {
|
|
6290
6360
|
"stability": "experimental",
|
|
6291
6361
|
"summary": "The storage mode for the cluster brokers.",
|
|
6292
|
-
"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});",
|
|
6293
6363
|
"custom": {
|
|
6294
6364
|
"exampleMetadata": "infused"
|
|
6295
6365
|
}
|
|
@@ -6298,7 +6368,7 @@
|
|
|
6298
6368
|
"kind": "enum",
|
|
6299
6369
|
"locationInModule": {
|
|
6300
6370
|
"filename": "lib/cluster.ts",
|
|
6301
|
-
"line":
|
|
6371
|
+
"line": 190
|
|
6302
6372
|
},
|
|
6303
6373
|
"members": [
|
|
6304
6374
|
{
|
|
@@ -6325,7 +6395,7 @@
|
|
|
6325
6395
|
"docs": {
|
|
6326
6396
|
"stability": "experimental",
|
|
6327
6397
|
"summary": "TLS authentication properties.",
|
|
6328
|
-
"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});",
|
|
6329
6399
|
"custom": {
|
|
6330
6400
|
"exampleMetadata": "infused"
|
|
6331
6401
|
}
|
|
@@ -6334,7 +6404,7 @@
|
|
|
6334
6404
|
"kind": "interface",
|
|
6335
6405
|
"locationInModule": {
|
|
6336
6406
|
"filename": "lib/cluster.ts",
|
|
6337
|
-
"line":
|
|
6407
|
+
"line": 390
|
|
6338
6408
|
},
|
|
6339
6409
|
"name": "TlsAuthProps",
|
|
6340
6410
|
"properties": [
|
|
@@ -6348,7 +6418,7 @@
|
|
|
6348
6418
|
"immutable": true,
|
|
6349
6419
|
"locationInModule": {
|
|
6350
6420
|
"filename": "lib/cluster.ts",
|
|
6351
|
-
"line":
|
|
6421
|
+
"line": 396
|
|
6352
6422
|
},
|
|
6353
6423
|
"name": "certificateAuthorities",
|
|
6354
6424
|
"optional": true,
|
|
@@ -6379,7 +6449,7 @@
|
|
|
6379
6449
|
"kind": "interface",
|
|
6380
6450
|
"locationInModule": {
|
|
6381
6451
|
"filename": "lib/serverless-cluster.ts",
|
|
6382
|
-
"line":
|
|
6452
|
+
"line": 30
|
|
6383
6453
|
},
|
|
6384
6454
|
"name": "VpcConfig",
|
|
6385
6455
|
"properties": [
|
|
@@ -6393,7 +6463,7 @@
|
|
|
6393
6463
|
"immutable": true,
|
|
6394
6464
|
"locationInModule": {
|
|
6395
6465
|
"filename": "lib/serverless-cluster.ts",
|
|
6396
|
-
"line":
|
|
6466
|
+
"line": 35
|
|
6397
6467
|
},
|
|
6398
6468
|
"name": "vpc",
|
|
6399
6469
|
"type": {
|
|
@@ -6411,7 +6481,7 @@
|
|
|
6411
6481
|
"immutable": true,
|
|
6412
6482
|
"locationInModule": {
|
|
6413
6483
|
"filename": "lib/serverless-cluster.ts",
|
|
6414
|
-
"line":
|
|
6484
|
+
"line": 50
|
|
6415
6485
|
},
|
|
6416
6486
|
"name": "securityGroups",
|
|
6417
6487
|
"optional": true,
|
|
@@ -6434,7 +6504,7 @@
|
|
|
6434
6504
|
"immutable": true,
|
|
6435
6505
|
"locationInModule": {
|
|
6436
6506
|
"filename": "lib/serverless-cluster.ts",
|
|
6437
|
-
"line":
|
|
6507
|
+
"line": 42
|
|
6438
6508
|
},
|
|
6439
6509
|
"name": "vpcSubnets",
|
|
6440
6510
|
"optional": true,
|
|
@@ -6446,6 +6516,6 @@
|
|
|
6446
6516
|
"symbolId": "lib/serverless-cluster:VpcConfig"
|
|
6447
6517
|
}
|
|
6448
6518
|
},
|
|
6449
|
-
"version": "2.
|
|
6519
|
+
"version": "2.196.0-alpha.0",
|
|
6450
6520
|
"fingerprint": "**********"
|
|
6451
6521
|
}
|