@aws-cdk/aws-msk-alpha 2.177.0-alpha.0 → 2.178.1-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 +442 -93
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +33 -1
- package/README.md +21 -0
- package/awslint.json +1 -0
- package/lib/cluster-version.d.ts +1 -1
- package/lib/cluster-version.js +2 -3
- package/lib/cluster.d.ts +1 -2
- package/lib/cluster.js +22 -7
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/serverless-cluster.d.ts +61 -0
- package/lib/serverless-cluster.js +108 -0
- 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.178.1",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -3961,7 +3961,7 @@
|
|
|
3961
3961
|
},
|
|
3962
3962
|
"name": "@aws-cdk/aws-msk-alpha",
|
|
3963
3963
|
"readme": {
|
|
3964
|
-
"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.V2_8_1,\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.V2_8_1,\n vpc,\n});\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(2181),\n);\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(9094),\n);\n```\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.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\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.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n```\n\n### SASL/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.V2_8_1,\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.V2_8_1,\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 Kinesis 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.V2_8_1,\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_6_0,\n vpc,\n storageMode: msk.StorageMode.TIERED,\n});\n```\n"
|
|
3964
|
+
"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.V2_8_1,\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.V2_8_1,\n vpc,\n});\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(2181),\n);\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(9094),\n);\n```\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.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\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.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n```\n\n### SASL/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.V2_8_1,\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.V2_8_1,\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 Kinesis 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.V2_8_1,\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_6_0,\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"
|
|
3965
3965
|
},
|
|
3966
3966
|
"repository": {
|
|
3967
3967
|
"directory": "packages/@aws-cdk/aws-msk-alpha",
|
|
@@ -4014,7 +4014,7 @@
|
|
|
4014
4014
|
"kind": "interface",
|
|
4015
4015
|
"locationInModule": {
|
|
4016
4016
|
"filename": "lib/cluster.ts",
|
|
4017
|
-
"line":
|
|
4017
|
+
"line": 276
|
|
4018
4018
|
},
|
|
4019
4019
|
"name": "BrokerLogging",
|
|
4020
4020
|
"properties": [
|
|
@@ -4028,7 +4028,7 @@
|
|
|
4028
4028
|
"immutable": true,
|
|
4029
4029
|
"locationInModule": {
|
|
4030
4030
|
"filename": "lib/cluster.ts",
|
|
4031
|
-
"line":
|
|
4031
|
+
"line": 289
|
|
4032
4032
|
},
|
|
4033
4033
|
"name": "cloudwatchLogGroup",
|
|
4034
4034
|
"optional": true,
|
|
@@ -4046,7 +4046,7 @@
|
|
|
4046
4046
|
"immutable": true,
|
|
4047
4047
|
"locationInModule": {
|
|
4048
4048
|
"filename": "lib/cluster.ts",
|
|
4049
|
-
"line":
|
|
4049
|
+
"line": 282
|
|
4050
4050
|
},
|
|
4051
4051
|
"name": "firehoseDeliveryStreamName",
|
|
4052
4052
|
"optional": true,
|
|
@@ -4064,7 +4064,7 @@
|
|
|
4064
4064
|
"immutable": true,
|
|
4065
4065
|
"locationInModule": {
|
|
4066
4066
|
"filename": "lib/cluster.ts",
|
|
4067
|
-
"line":
|
|
4067
|
+
"line": 296
|
|
4068
4068
|
},
|
|
4069
4069
|
"name": "s3",
|
|
4070
4070
|
"optional": true,
|
|
@@ -4089,7 +4089,7 @@
|
|
|
4089
4089
|
"kind": "class",
|
|
4090
4090
|
"locationInModule": {
|
|
4091
4091
|
"filename": "lib/cluster.ts",
|
|
4092
|
-
"line":
|
|
4092
|
+
"line": 406
|
|
4093
4093
|
},
|
|
4094
4094
|
"methods": [
|
|
4095
4095
|
{
|
|
@@ -4099,7 +4099,7 @@
|
|
|
4099
4099
|
},
|
|
4100
4100
|
"locationInModule": {
|
|
4101
4101
|
"filename": "lib/cluster.ts",
|
|
4102
|
-
"line":
|
|
4102
|
+
"line": 410
|
|
4103
4103
|
},
|
|
4104
4104
|
"name": "sasl",
|
|
4105
4105
|
"parameters": [
|
|
@@ -4124,7 +4124,7 @@
|
|
|
4124
4124
|
},
|
|
4125
4125
|
"locationInModule": {
|
|
4126
4126
|
"filename": "lib/cluster.ts",
|
|
4127
|
-
"line":
|
|
4127
|
+
"line": 424
|
|
4128
4128
|
},
|
|
4129
4129
|
"name": "saslTls",
|
|
4130
4130
|
"parameters": [
|
|
@@ -4149,7 +4149,7 @@
|
|
|
4149
4149
|
},
|
|
4150
4150
|
"locationInModule": {
|
|
4151
4151
|
"filename": "lib/cluster.ts",
|
|
4152
|
-
"line":
|
|
4152
|
+
"line": 417
|
|
4153
4153
|
},
|
|
4154
4154
|
"name": "tls",
|
|
4155
4155
|
"parameters": [
|
|
@@ -4178,7 +4178,7 @@
|
|
|
4178
4178
|
"immutable": true,
|
|
4179
4179
|
"locationInModule": {
|
|
4180
4180
|
"filename": "lib/cluster.ts",
|
|
4181
|
-
"line":
|
|
4181
|
+
"line": 433
|
|
4182
4182
|
},
|
|
4183
4183
|
"name": "saslProps",
|
|
4184
4184
|
"optional": true,
|
|
@@ -4194,7 +4194,7 @@
|
|
|
4194
4194
|
"immutable": true,
|
|
4195
4195
|
"locationInModule": {
|
|
4196
4196
|
"filename": "lib/cluster.ts",
|
|
4197
|
-
"line":
|
|
4197
|
+
"line": 434
|
|
4198
4198
|
},
|
|
4199
4199
|
"name": "tlsProps",
|
|
4200
4200
|
"optional": true,
|
|
@@ -4219,7 +4219,7 @@
|
|
|
4219
4219
|
"kind": "enum",
|
|
4220
4220
|
"locationInModule": {
|
|
4221
4221
|
"filename": "lib/cluster.ts",
|
|
4222
|
-
"line":
|
|
4222
|
+
"line": 319
|
|
4223
4223
|
},
|
|
4224
4224
|
"members": [
|
|
4225
4225
|
{
|
|
@@ -4249,7 +4249,7 @@
|
|
|
4249
4249
|
},
|
|
4250
4250
|
"@aws-cdk/aws-msk-alpha.Cluster": {
|
|
4251
4251
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
4252
|
-
"base": "aws-cdk-
|
|
4252
|
+
"base": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
4253
4253
|
"docs": {
|
|
4254
4254
|
"custom": {
|
|
4255
4255
|
"resource": "AWS::MSK::Cluster",
|
|
@@ -4266,7 +4266,7 @@
|
|
|
4266
4266
|
},
|
|
4267
4267
|
"locationInModule": {
|
|
4268
4268
|
"filename": "lib/cluster.ts",
|
|
4269
|
-
"line":
|
|
4269
|
+
"line": 467
|
|
4270
4270
|
},
|
|
4271
4271
|
"parameters": [
|
|
4272
4272
|
{
|
|
@@ -4289,13 +4289,10 @@
|
|
|
4289
4289
|
}
|
|
4290
4290
|
]
|
|
4291
4291
|
},
|
|
4292
|
-
"interfaces": [
|
|
4293
|
-
"@aws-cdk/aws-msk-alpha.ICluster"
|
|
4294
|
-
],
|
|
4295
4292
|
"kind": "class",
|
|
4296
4293
|
"locationInModule": {
|
|
4297
4294
|
"filename": "lib/cluster.ts",
|
|
4298
|
-
"line":
|
|
4295
|
+
"line": 443
|
|
4299
4296
|
},
|
|
4300
4297
|
"methods": [
|
|
4301
4298
|
{
|
|
@@ -4305,7 +4302,7 @@
|
|
|
4305
4302
|
},
|
|
4306
4303
|
"locationInModule": {
|
|
4307
4304
|
"filename": "lib/cluster.ts",
|
|
4308
|
-
"line":
|
|
4305
|
+
"line": 447
|
|
4309
4306
|
},
|
|
4310
4307
|
"name": "fromClusterArn",
|
|
4311
4308
|
"parameters": [
|
|
@@ -4343,7 +4340,7 @@
|
|
|
4343
4340
|
},
|
|
4344
4341
|
"locationInModule": {
|
|
4345
4342
|
"filename": "lib/cluster.ts",
|
|
4346
|
-
"line":
|
|
4343
|
+
"line": 896
|
|
4347
4344
|
},
|
|
4348
4345
|
"name": "addUser",
|
|
4349
4346
|
"parameters": [
|
|
@@ -4373,7 +4370,7 @@
|
|
|
4373
4370
|
"immutable": true,
|
|
4374
4371
|
"locationInModule": {
|
|
4375
4372
|
"filename": "lib/cluster.ts",
|
|
4376
|
-
"line":
|
|
4373
|
+
"line": 851
|
|
4377
4374
|
},
|
|
4378
4375
|
"name": "bootstrapBrokers",
|
|
4379
4376
|
"type": {
|
|
@@ -4390,7 +4387,7 @@
|
|
|
4390
4387
|
"immutable": true,
|
|
4391
4388
|
"locationInModule": {
|
|
4392
4389
|
"filename": "lib/cluster.ts",
|
|
4393
|
-
"line":
|
|
4390
|
+
"line": 884
|
|
4394
4391
|
},
|
|
4395
4392
|
"name": "bootstrapBrokersSaslIam",
|
|
4396
4393
|
"type": {
|
|
@@ -4407,7 +4404,7 @@
|
|
|
4407
4404
|
"immutable": true,
|
|
4408
4405
|
"locationInModule": {
|
|
4409
4406
|
"filename": "lib/cluster.ts",
|
|
4410
|
-
"line":
|
|
4407
|
+
"line": 873
|
|
4411
4408
|
},
|
|
4412
4409
|
"name": "bootstrapBrokersSaslScram",
|
|
4413
4410
|
"type": {
|
|
@@ -4424,7 +4421,7 @@
|
|
|
4424
4421
|
"immutable": true,
|
|
4425
4422
|
"locationInModule": {
|
|
4426
4423
|
"filename": "lib/cluster.ts",
|
|
4427
|
-
"line":
|
|
4424
|
+
"line": 862
|
|
4428
4425
|
},
|
|
4429
4426
|
"name": "bootstrapBrokersTls",
|
|
4430
4427
|
"type": {
|
|
@@ -4439,10 +4436,10 @@
|
|
|
4439
4436
|
"immutable": true,
|
|
4440
4437
|
"locationInModule": {
|
|
4441
4438
|
"filename": "lib/cluster.ts",
|
|
4442
|
-
"line":
|
|
4439
|
+
"line": 460
|
|
4443
4440
|
},
|
|
4444
4441
|
"name": "clusterArn",
|
|
4445
|
-
"overrides": "@aws-cdk/aws-msk-alpha.
|
|
4442
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
4446
4443
|
"type": {
|
|
4447
4444
|
"primitive": "string"
|
|
4448
4445
|
}
|
|
@@ -4455,30 +4452,14 @@
|
|
|
4455
4452
|
"immutable": true,
|
|
4456
4453
|
"locationInModule": {
|
|
4457
4454
|
"filename": "lib/cluster.ts",
|
|
4458
|
-
"line":
|
|
4455
|
+
"line": 461
|
|
4459
4456
|
},
|
|
4460
4457
|
"name": "clusterName",
|
|
4461
|
-
"overrides": "@aws-cdk/aws-msk-alpha.
|
|
4458
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
4462
4459
|
"type": {
|
|
4463
4460
|
"primitive": "string"
|
|
4464
4461
|
}
|
|
4465
4462
|
},
|
|
4466
|
-
{
|
|
4467
|
-
"docs": {
|
|
4468
|
-
"stability": "experimental",
|
|
4469
|
-
"summary": "Manages connections for the cluster."
|
|
4470
|
-
},
|
|
4471
|
-
"immutable": true,
|
|
4472
|
-
"locationInModule": {
|
|
4473
|
-
"filename": "lib/cluster.ts",
|
|
4474
|
-
"line": 46
|
|
4475
|
-
},
|
|
4476
|
-
"name": "connections",
|
|
4477
|
-
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
4478
|
-
"type": {
|
|
4479
|
-
"fqn": "aws-cdk-lib.aws_ec2.Connections"
|
|
4480
|
-
}
|
|
4481
|
-
},
|
|
4482
4463
|
{
|
|
4483
4464
|
"docs": {
|
|
4484
4465
|
"remarks": "Uses a Custom Resource to make an API call to `describeCluster` using the Javascript SDK",
|
|
@@ -4489,7 +4470,7 @@
|
|
|
4489
4470
|
"immutable": true,
|
|
4490
4471
|
"locationInModule": {
|
|
4491
4472
|
"filename": "lib/cluster.ts",
|
|
4492
|
-
"line":
|
|
4473
|
+
"line": 801
|
|
4493
4474
|
},
|
|
4494
4475
|
"name": "zookeeperConnectionString",
|
|
4495
4476
|
"type": {
|
|
@@ -4506,7 +4487,7 @@
|
|
|
4506
4487
|
"immutable": true,
|
|
4507
4488
|
"locationInModule": {
|
|
4508
4489
|
"filename": "lib/cluster.ts",
|
|
4509
|
-
"line":
|
|
4490
|
+
"line": 812
|
|
4510
4491
|
},
|
|
4511
4492
|
"name": "zookeeperConnectionStringTls",
|
|
4512
4493
|
"type": {
|
|
@@ -4521,7 +4502,7 @@
|
|
|
4521
4502
|
"immutable": true,
|
|
4522
4503
|
"locationInModule": {
|
|
4523
4504
|
"filename": "lib/cluster.ts",
|
|
4524
|
-
"line":
|
|
4505
|
+
"line": 463
|
|
4525
4506
|
},
|
|
4526
4507
|
"name": "saslScramAuthenticationKey",
|
|
4527
4508
|
"optional": true,
|
|
@@ -4532,6 +4513,108 @@
|
|
|
4532
4513
|
],
|
|
4533
4514
|
"symbolId": "lib/cluster:Cluster"
|
|
4534
4515
|
},
|
|
4516
|
+
"@aws-cdk/aws-msk-alpha.ClusterBase": {
|
|
4517
|
+
"abstract": true,
|
|
4518
|
+
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
4519
|
+
"base": "aws-cdk-lib.Resource",
|
|
4520
|
+
"docs": {
|
|
4521
|
+
"stability": "experimental",
|
|
4522
|
+
"summary": "A new or imported MSK Cluster."
|
|
4523
|
+
},
|
|
4524
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
4525
|
+
"initializer": {
|
|
4526
|
+
"docs": {
|
|
4527
|
+
"stability": "stable"
|
|
4528
|
+
},
|
|
4529
|
+
"locationInModule": {
|
|
4530
|
+
"filename": "core/lib/resource.ts",
|
|
4531
|
+
"line": 155
|
|
4532
|
+
},
|
|
4533
|
+
"parameters": [
|
|
4534
|
+
{
|
|
4535
|
+
"name": "scope",
|
|
4536
|
+
"type": {
|
|
4537
|
+
"fqn": "constructs.Construct"
|
|
4538
|
+
}
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
"name": "id",
|
|
4542
|
+
"type": {
|
|
4543
|
+
"primitive": "string"
|
|
4544
|
+
}
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
"name": "props",
|
|
4548
|
+
"optional": true,
|
|
4549
|
+
"type": {
|
|
4550
|
+
"fqn": "aws-cdk-lib.ResourceProps"
|
|
4551
|
+
}
|
|
4552
|
+
}
|
|
4553
|
+
]
|
|
4554
|
+
},
|
|
4555
|
+
"interfaces": [
|
|
4556
|
+
"@aws-cdk/aws-msk-alpha.ICluster"
|
|
4557
|
+
],
|
|
4558
|
+
"kind": "class",
|
|
4559
|
+
"locationInModule": {
|
|
4560
|
+
"filename": "lib/cluster.ts",
|
|
4561
|
+
"line": 40
|
|
4562
|
+
},
|
|
4563
|
+
"name": "ClusterBase",
|
|
4564
|
+
"properties": [
|
|
4565
|
+
{
|
|
4566
|
+
"abstract": true,
|
|
4567
|
+
"docs": {
|
|
4568
|
+
"stability": "experimental",
|
|
4569
|
+
"summary": "The ARN of cluster."
|
|
4570
|
+
},
|
|
4571
|
+
"immutable": true,
|
|
4572
|
+
"locationInModule": {
|
|
4573
|
+
"filename": "lib/cluster.ts",
|
|
4574
|
+
"line": 41
|
|
4575
|
+
},
|
|
4576
|
+
"name": "clusterArn",
|
|
4577
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
4578
|
+
"type": {
|
|
4579
|
+
"primitive": "string"
|
|
4580
|
+
}
|
|
4581
|
+
},
|
|
4582
|
+
{
|
|
4583
|
+
"abstract": true,
|
|
4584
|
+
"docs": {
|
|
4585
|
+
"stability": "experimental",
|
|
4586
|
+
"summary": "The physical name of the cluster."
|
|
4587
|
+
},
|
|
4588
|
+
"immutable": true,
|
|
4589
|
+
"locationInModule": {
|
|
4590
|
+
"filename": "lib/cluster.ts",
|
|
4591
|
+
"line": 42
|
|
4592
|
+
},
|
|
4593
|
+
"name": "clusterName",
|
|
4594
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ICluster",
|
|
4595
|
+
"type": {
|
|
4596
|
+
"primitive": "string"
|
|
4597
|
+
}
|
|
4598
|
+
},
|
|
4599
|
+
{
|
|
4600
|
+
"docs": {
|
|
4601
|
+
"stability": "experimental",
|
|
4602
|
+
"summary": "Manages connections for the cluster."
|
|
4603
|
+
},
|
|
4604
|
+
"immutable": true,
|
|
4605
|
+
"locationInModule": {
|
|
4606
|
+
"filename": "lib/cluster.ts",
|
|
4607
|
+
"line": 47
|
|
4608
|
+
},
|
|
4609
|
+
"name": "connections",
|
|
4610
|
+
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
4611
|
+
"type": {
|
|
4612
|
+
"fqn": "aws-cdk-lib.aws_ec2.Connections"
|
|
4613
|
+
}
|
|
4614
|
+
}
|
|
4615
|
+
],
|
|
4616
|
+
"symbolId": "lib/cluster:ClusterBase"
|
|
4617
|
+
},
|
|
4535
4618
|
"@aws-cdk/aws-msk-alpha.ClusterConfigurationInfo": {
|
|
4536
4619
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
4537
4620
|
"datatype": true,
|
|
@@ -4548,7 +4631,7 @@
|
|
|
4548
4631
|
"kind": "interface",
|
|
4549
4632
|
"locationInModule": {
|
|
4550
4633
|
"filename": "lib/cluster.ts",
|
|
4551
|
-
"line":
|
|
4634
|
+
"line": 205
|
|
4552
4635
|
},
|
|
4553
4636
|
"name": "ClusterConfigurationInfo",
|
|
4554
4637
|
"properties": [
|
|
@@ -4562,7 +4645,7 @@
|
|
|
4562
4645
|
"immutable": true,
|
|
4563
4646
|
"locationInModule": {
|
|
4564
4647
|
"filename": "lib/cluster.ts",
|
|
4565
|
-
"line":
|
|
4648
|
+
"line": 210
|
|
4566
4649
|
},
|
|
4567
4650
|
"name": "arn",
|
|
4568
4651
|
"type": {
|
|
@@ -4578,7 +4661,7 @@
|
|
|
4578
4661
|
"immutable": true,
|
|
4579
4662
|
"locationInModule": {
|
|
4580
4663
|
"filename": "lib/cluster.ts",
|
|
4581
|
-
"line":
|
|
4664
|
+
"line": 215
|
|
4582
4665
|
},
|
|
4583
4666
|
"name": "revision",
|
|
4584
4667
|
"type": {
|
|
@@ -4599,7 +4682,7 @@
|
|
|
4599
4682
|
"kind": "enum",
|
|
4600
4683
|
"locationInModule": {
|
|
4601
4684
|
"filename": "lib/cluster.ts",
|
|
4602
|
-
"line":
|
|
4685
|
+
"line": 223
|
|
4603
4686
|
},
|
|
4604
4687
|
"members": [
|
|
4605
4688
|
{
|
|
@@ -4649,7 +4732,7 @@
|
|
|
4649
4732
|
"kind": "interface",
|
|
4650
4733
|
"locationInModule": {
|
|
4651
4734
|
"filename": "lib/cluster.ts",
|
|
4652
|
-
"line":
|
|
4735
|
+
"line": 58
|
|
4653
4736
|
},
|
|
4654
4737
|
"name": "ClusterProps",
|
|
4655
4738
|
"properties": [
|
|
@@ -4662,7 +4745,7 @@
|
|
|
4662
4745
|
"immutable": true,
|
|
4663
4746
|
"locationInModule": {
|
|
4664
4747
|
"filename": "lib/cluster.ts",
|
|
4665
|
-
"line":
|
|
4748
|
+
"line": 62
|
|
4666
4749
|
},
|
|
4667
4750
|
"name": "clusterName",
|
|
4668
4751
|
"type": {
|
|
@@ -4678,7 +4761,7 @@
|
|
|
4678
4761
|
"immutable": true,
|
|
4679
4762
|
"locationInModule": {
|
|
4680
4763
|
"filename": "lib/cluster.ts",
|
|
4681
|
-
"line":
|
|
4764
|
+
"line": 67
|
|
4682
4765
|
},
|
|
4683
4766
|
"name": "kafkaVersion",
|
|
4684
4767
|
"type": {
|
|
@@ -4695,7 +4778,7 @@
|
|
|
4695
4778
|
"immutable": true,
|
|
4696
4779
|
"locationInModule": {
|
|
4697
4780
|
"filename": "lib/cluster.ts",
|
|
4698
|
-
"line":
|
|
4781
|
+
"line": 80
|
|
4699
4782
|
},
|
|
4700
4783
|
"name": "vpc",
|
|
4701
4784
|
"type": {
|
|
@@ -4713,7 +4796,7 @@
|
|
|
4713
4796
|
"immutable": true,
|
|
4714
4797
|
"locationInModule": {
|
|
4715
4798
|
"filename": "lib/cluster.ts",
|
|
4716
|
-
"line":
|
|
4799
|
+
"line": 157
|
|
4717
4800
|
},
|
|
4718
4801
|
"name": "clientAuthentication",
|
|
4719
4802
|
"optional": true,
|
|
@@ -4731,7 +4814,7 @@
|
|
|
4731
4814
|
"immutable": true,
|
|
4732
4815
|
"locationInModule": {
|
|
4733
4816
|
"filename": "lib/cluster.ts",
|
|
4734
|
-
"line":
|
|
4817
|
+
"line": 128
|
|
4735
4818
|
},
|
|
4736
4819
|
"name": "configurationInfo",
|
|
4737
4820
|
"optional": true,
|
|
@@ -4749,7 +4832,7 @@
|
|
|
4749
4832
|
"immutable": true,
|
|
4750
4833
|
"locationInModule": {
|
|
4751
4834
|
"filename": "lib/cluster.ts",
|
|
4752
|
-
"line":
|
|
4835
|
+
"line": 113
|
|
4753
4836
|
},
|
|
4754
4837
|
"name": "ebsStorageInfo",
|
|
4755
4838
|
"optional": true,
|
|
@@ -4767,7 +4850,7 @@
|
|
|
4767
4850
|
"immutable": true,
|
|
4768
4851
|
"locationInModule": {
|
|
4769
4852
|
"filename": "lib/cluster.ts",
|
|
4770
|
-
"line":
|
|
4853
|
+
"line": 149
|
|
4771
4854
|
},
|
|
4772
4855
|
"name": "encryptionInTransit",
|
|
4773
4856
|
"optional": true,
|
|
@@ -4786,7 +4869,7 @@
|
|
|
4786
4869
|
"immutable": true,
|
|
4787
4870
|
"locationInModule": {
|
|
4788
4871
|
"filename": "lib/cluster.ts",
|
|
4789
|
-
"line":
|
|
4872
|
+
"line": 98
|
|
4790
4873
|
},
|
|
4791
4874
|
"name": "instanceType",
|
|
4792
4875
|
"optional": true,
|
|
@@ -4804,7 +4887,7 @@
|
|
|
4804
4887
|
"immutable": true,
|
|
4805
4888
|
"locationInModule": {
|
|
4806
4889
|
"filename": "lib/cluster.ts",
|
|
4807
|
-
"line":
|
|
4890
|
+
"line": 142
|
|
4808
4891
|
},
|
|
4809
4892
|
"name": "logging",
|
|
4810
4893
|
"optional": true,
|
|
@@ -4822,7 +4905,7 @@
|
|
|
4822
4905
|
"immutable": true,
|
|
4823
4906
|
"locationInModule": {
|
|
4824
4907
|
"filename": "lib/cluster.ts",
|
|
4825
|
-
"line":
|
|
4908
|
+
"line": 135
|
|
4826
4909
|
},
|
|
4827
4910
|
"name": "monitoring",
|
|
4828
4911
|
"optional": true,
|
|
@@ -4840,7 +4923,7 @@
|
|
|
4840
4923
|
"immutable": true,
|
|
4841
4924
|
"locationInModule": {
|
|
4842
4925
|
"filename": "lib/cluster.ts",
|
|
4843
|
-
"line":
|
|
4926
|
+
"line": 74
|
|
4844
4927
|
},
|
|
4845
4928
|
"name": "numberOfBrokerNodes",
|
|
4846
4929
|
"optional": true,
|
|
@@ -4858,7 +4941,7 @@
|
|
|
4858
4941
|
"immutable": true,
|
|
4859
4942
|
"locationInModule": {
|
|
4860
4943
|
"filename": "lib/cluster.ts",
|
|
4861
|
-
"line":
|
|
4944
|
+
"line": 164
|
|
4862
4945
|
},
|
|
4863
4946
|
"name": "removalPolicy",
|
|
4864
4947
|
"optional": true,
|
|
@@ -4876,7 +4959,7 @@
|
|
|
4876
4959
|
"immutable": true,
|
|
4877
4960
|
"locationInModule": {
|
|
4878
4961
|
"filename": "lib/cluster.ts",
|
|
4879
|
-
"line":
|
|
4962
|
+
"line": 106
|
|
4880
4963
|
},
|
|
4881
4964
|
"name": "securityGroups",
|
|
4882
4965
|
"optional": true,
|
|
@@ -4900,7 +4983,7 @@
|
|
|
4900
4983
|
"immutable": true,
|
|
4901
4984
|
"locationInModule": {
|
|
4902
4985
|
"filename": "lib/cluster.ts",
|
|
4903
|
-
"line":
|
|
4986
|
+
"line": 121
|
|
4904
4987
|
},
|
|
4905
4988
|
"name": "storageMode",
|
|
4906
4989
|
"optional": true,
|
|
@@ -4919,7 +5002,7 @@
|
|
|
4919
5002
|
"immutable": true,
|
|
4920
5003
|
"locationInModule": {
|
|
4921
5004
|
"filename": "lib/cluster.ts",
|
|
4922
|
-
"line":
|
|
5005
|
+
"line": 90
|
|
4923
5006
|
},
|
|
4924
5007
|
"name": "vpcSubnets",
|
|
4925
5008
|
"optional": true,
|
|
@@ -4945,7 +5028,7 @@
|
|
|
4945
5028
|
"kind": "interface",
|
|
4946
5029
|
"locationInModule": {
|
|
4947
5030
|
"filename": "lib/cluster.ts",
|
|
4948
|
-
"line":
|
|
5031
|
+
"line": 170
|
|
4949
5032
|
},
|
|
4950
5033
|
"name": "EbsStorageInfo",
|
|
4951
5034
|
"properties": [
|
|
@@ -4959,7 +5042,7 @@
|
|
|
4959
5042
|
"immutable": true,
|
|
4960
5043
|
"locationInModule": {
|
|
4961
5044
|
"filename": "lib/cluster.ts",
|
|
4962
|
-
"line":
|
|
5045
|
+
"line": 183
|
|
4963
5046
|
},
|
|
4964
5047
|
"name": "encryptionKey",
|
|
4965
5048
|
"optional": true,
|
|
@@ -4977,7 +5060,7 @@
|
|
|
4977
5060
|
"immutable": true,
|
|
4978
5061
|
"locationInModule": {
|
|
4979
5062
|
"filename": "lib/cluster.ts",
|
|
4980
|
-
"line":
|
|
5063
|
+
"line": 176
|
|
4981
5064
|
},
|
|
4982
5065
|
"name": "volumeSize",
|
|
4983
5066
|
"optional": true,
|
|
@@ -5004,7 +5087,7 @@
|
|
|
5004
5087
|
"kind": "interface",
|
|
5005
5088
|
"locationInModule": {
|
|
5006
5089
|
"filename": "lib/cluster.ts",
|
|
5007
|
-
"line":
|
|
5090
|
+
"line": 341
|
|
5008
5091
|
},
|
|
5009
5092
|
"name": "EncryptionInTransitConfig",
|
|
5010
5093
|
"properties": [
|
|
@@ -5018,7 +5101,7 @@
|
|
|
5018
5101
|
"immutable": true,
|
|
5019
5102
|
"locationInModule": {
|
|
5020
5103
|
"filename": "lib/cluster.ts",
|
|
5021
|
-
"line":
|
|
5104
|
+
"line": 347
|
|
5022
5105
|
},
|
|
5023
5106
|
"name": "clientBroker",
|
|
5024
5107
|
"optional": true,
|
|
@@ -5036,7 +5119,7 @@
|
|
|
5036
5119
|
"immutable": true,
|
|
5037
5120
|
"locationInModule": {
|
|
5038
5121
|
"filename": "lib/cluster.ts",
|
|
5039
|
-
"line":
|
|
5122
|
+
"line": 354
|
|
5040
5123
|
},
|
|
5041
5124
|
"name": "enableInCluster",
|
|
5042
5125
|
"optional": true,
|
|
@@ -5061,7 +5144,7 @@
|
|
|
5061
5144
|
"kind": "interface",
|
|
5062
5145
|
"locationInModule": {
|
|
5063
5146
|
"filename": "lib/cluster.ts",
|
|
5064
|
-
"line":
|
|
5147
|
+
"line": 21
|
|
5065
5148
|
},
|
|
5066
5149
|
"name": "ICluster",
|
|
5067
5150
|
"properties": [
|
|
@@ -5077,7 +5160,7 @@
|
|
|
5077
5160
|
"immutable": true,
|
|
5078
5161
|
"locationInModule": {
|
|
5079
5162
|
"filename": "lib/cluster.ts",
|
|
5080
|
-
"line":
|
|
5163
|
+
"line": 27
|
|
5081
5164
|
},
|
|
5082
5165
|
"name": "clusterArn",
|
|
5083
5166
|
"type": {
|
|
@@ -5096,7 +5179,7 @@
|
|
|
5096
5179
|
"immutable": true,
|
|
5097
5180
|
"locationInModule": {
|
|
5098
5181
|
"filename": "lib/cluster.ts",
|
|
5099
|
-
"line":
|
|
5182
|
+
"line": 34
|
|
5100
5183
|
},
|
|
5101
5184
|
"name": "clusterName",
|
|
5102
5185
|
"type": {
|
|
@@ -5721,7 +5804,7 @@
|
|
|
5721
5804
|
"kind": "interface",
|
|
5722
5805
|
"locationInModule": {
|
|
5723
5806
|
"filename": "lib/cluster.ts",
|
|
5724
|
-
"line":
|
|
5807
|
+
"line": 248
|
|
5725
5808
|
},
|
|
5726
5809
|
"name": "MonitoringConfiguration",
|
|
5727
5810
|
"properties": [
|
|
@@ -5735,7 +5818,7 @@
|
|
|
5735
5818
|
"immutable": true,
|
|
5736
5819
|
"locationInModule": {
|
|
5737
5820
|
"filename": "lib/cluster.ts",
|
|
5738
|
-
"line":
|
|
5821
|
+
"line": 254
|
|
5739
5822
|
},
|
|
5740
5823
|
"name": "clusterMonitoringLevel",
|
|
5741
5824
|
"optional": true,
|
|
@@ -5753,7 +5836,7 @@
|
|
|
5753
5836
|
"immutable": true,
|
|
5754
5837
|
"locationInModule": {
|
|
5755
5838
|
"filename": "lib/cluster.ts",
|
|
5756
|
-
"line":
|
|
5839
|
+
"line": 261
|
|
5757
5840
|
},
|
|
5758
5841
|
"name": "enablePrometheusJmxExporter",
|
|
5759
5842
|
"optional": true,
|
|
@@ -5772,7 +5855,7 @@
|
|
|
5772
5855
|
"immutable": true,
|
|
5773
5856
|
"locationInModule": {
|
|
5774
5857
|
"filename": "lib/cluster.ts",
|
|
5775
|
-
"line":
|
|
5858
|
+
"line": 270
|
|
5776
5859
|
},
|
|
5777
5860
|
"name": "enablePrometheusNodeExporter",
|
|
5778
5861
|
"optional": true,
|
|
@@ -5798,7 +5881,7 @@
|
|
|
5798
5881
|
"kind": "interface",
|
|
5799
5882
|
"locationInModule": {
|
|
5800
5883
|
"filename": "lib/cluster.ts",
|
|
5801
|
-
"line":
|
|
5884
|
+
"line": 302
|
|
5802
5885
|
},
|
|
5803
5886
|
"name": "S3LoggingConfiguration",
|
|
5804
5887
|
"properties": [
|
|
@@ -5811,7 +5894,7 @@
|
|
|
5811
5894
|
"immutable": true,
|
|
5812
5895
|
"locationInModule": {
|
|
5813
5896
|
"filename": "lib/cluster.ts",
|
|
5814
|
-
"line":
|
|
5897
|
+
"line": 306
|
|
5815
5898
|
},
|
|
5816
5899
|
"name": "bucket",
|
|
5817
5900
|
"type": {
|
|
@@ -5828,7 +5911,7 @@
|
|
|
5828
5911
|
"immutable": true,
|
|
5829
5912
|
"locationInModule": {
|
|
5830
5913
|
"filename": "lib/cluster.ts",
|
|
5831
|
-
"line":
|
|
5914
|
+
"line": 313
|
|
5832
5915
|
},
|
|
5833
5916
|
"name": "prefix",
|
|
5834
5917
|
"optional": true,
|
|
@@ -5854,7 +5937,7 @@
|
|
|
5854
5937
|
"kind": "interface",
|
|
5855
5938
|
"locationInModule": {
|
|
5856
5939
|
"filename": "lib/cluster.ts",
|
|
5857
|
-
"line":
|
|
5940
|
+
"line": 360
|
|
5858
5941
|
},
|
|
5859
5942
|
"name": "SaslAuthProps",
|
|
5860
5943
|
"properties": [
|
|
@@ -5868,7 +5951,7 @@
|
|
|
5868
5951
|
"immutable": true,
|
|
5869
5952
|
"locationInModule": {
|
|
5870
5953
|
"filename": "lib/cluster.ts",
|
|
5871
|
-
"line":
|
|
5954
|
+
"line": 373
|
|
5872
5955
|
},
|
|
5873
5956
|
"name": "iam",
|
|
5874
5957
|
"optional": true,
|
|
@@ -5887,7 +5970,7 @@
|
|
|
5887
5970
|
"immutable": true,
|
|
5888
5971
|
"locationInModule": {
|
|
5889
5972
|
"filename": "lib/cluster.ts",
|
|
5890
|
-
"line":
|
|
5973
|
+
"line": 383
|
|
5891
5974
|
},
|
|
5892
5975
|
"name": "key",
|
|
5893
5976
|
"optional": true,
|
|
@@ -5905,7 +5988,7 @@
|
|
|
5905
5988
|
"immutable": true,
|
|
5906
5989
|
"locationInModule": {
|
|
5907
5990
|
"filename": "lib/cluster.ts",
|
|
5908
|
-
"line":
|
|
5991
|
+
"line": 366
|
|
5909
5992
|
},
|
|
5910
5993
|
"name": "scram",
|
|
5911
5994
|
"optional": true,
|
|
@@ -5935,11 +6018,196 @@
|
|
|
5935
6018
|
"kind": "interface",
|
|
5936
6019
|
"locationInModule": {
|
|
5937
6020
|
"filename": "lib/cluster.ts",
|
|
5938
|
-
"line":
|
|
6021
|
+
"line": 401
|
|
5939
6022
|
},
|
|
5940
6023
|
"name": "SaslTlsAuthProps",
|
|
5941
6024
|
"symbolId": "lib/cluster:SaslTlsAuthProps"
|
|
5942
6025
|
},
|
|
6026
|
+
"@aws-cdk/aws-msk-alpha.ServerlessCluster": {
|
|
6027
|
+
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
6028
|
+
"base": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
6029
|
+
"docs": {
|
|
6030
|
+
"custom": {
|
|
6031
|
+
"resource": "AWS::MSK::ServerlessCluster",
|
|
6032
|
+
"exampleMetadata": "infused"
|
|
6033
|
+
},
|
|
6034
|
+
"stability": "experimental",
|
|
6035
|
+
"summary": "Create a MSK Serverless Cluster.",
|
|
6036
|
+
"example": "declare const vpc: ec2.Vpc;\n\nconst serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {\n clusterName: 'MyServerlessCluster',\n vpcConfigs: [\n { vpc },\n ],\n});"
|
|
6037
|
+
},
|
|
6038
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ServerlessCluster",
|
|
6039
|
+
"initializer": {
|
|
6040
|
+
"docs": {
|
|
6041
|
+
"stability": "experimental"
|
|
6042
|
+
},
|
|
6043
|
+
"locationInModule": {
|
|
6044
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6045
|
+
"line": 79
|
|
6046
|
+
},
|
|
6047
|
+
"parameters": [
|
|
6048
|
+
{
|
|
6049
|
+
"name": "scope",
|
|
6050
|
+
"type": {
|
|
6051
|
+
"fqn": "constructs.Construct"
|
|
6052
|
+
}
|
|
6053
|
+
},
|
|
6054
|
+
{
|
|
6055
|
+
"name": "id",
|
|
6056
|
+
"type": {
|
|
6057
|
+
"primitive": "string"
|
|
6058
|
+
}
|
|
6059
|
+
},
|
|
6060
|
+
{
|
|
6061
|
+
"name": "props",
|
|
6062
|
+
"type": {
|
|
6063
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ServerlessClusterProps"
|
|
6064
|
+
}
|
|
6065
|
+
}
|
|
6066
|
+
]
|
|
6067
|
+
},
|
|
6068
|
+
"kind": "class",
|
|
6069
|
+
"locationInModule": {
|
|
6070
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6071
|
+
"line": 57
|
|
6072
|
+
},
|
|
6073
|
+
"methods": [
|
|
6074
|
+
{
|
|
6075
|
+
"docs": {
|
|
6076
|
+
"stability": "experimental",
|
|
6077
|
+
"summary": "Reference an existing cluster, defined outside of the CDK code, by name."
|
|
6078
|
+
},
|
|
6079
|
+
"locationInModule": {
|
|
6080
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6081
|
+
"line": 61
|
|
6082
|
+
},
|
|
6083
|
+
"name": "fromClusterArn",
|
|
6084
|
+
"parameters": [
|
|
6085
|
+
{
|
|
6086
|
+
"name": "scope",
|
|
6087
|
+
"type": {
|
|
6088
|
+
"fqn": "constructs.Construct"
|
|
6089
|
+
}
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
"name": "id",
|
|
6093
|
+
"type": {
|
|
6094
|
+
"primitive": "string"
|
|
6095
|
+
}
|
|
6096
|
+
},
|
|
6097
|
+
{
|
|
6098
|
+
"name": "clusterArn",
|
|
6099
|
+
"type": {
|
|
6100
|
+
"primitive": "string"
|
|
6101
|
+
}
|
|
6102
|
+
}
|
|
6103
|
+
],
|
|
6104
|
+
"returns": {
|
|
6105
|
+
"type": {
|
|
6106
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ICluster"
|
|
6107
|
+
}
|
|
6108
|
+
},
|
|
6109
|
+
"static": true
|
|
6110
|
+
}
|
|
6111
|
+
],
|
|
6112
|
+
"name": "ServerlessCluster",
|
|
6113
|
+
"properties": [
|
|
6114
|
+
{
|
|
6115
|
+
"docs": {
|
|
6116
|
+
"stability": "experimental",
|
|
6117
|
+
"summary": "The ARN of cluster."
|
|
6118
|
+
},
|
|
6119
|
+
"immutable": true,
|
|
6120
|
+
"locationInModule": {
|
|
6121
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6122
|
+
"line": 74
|
|
6123
|
+
},
|
|
6124
|
+
"name": "clusterArn",
|
|
6125
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
6126
|
+
"type": {
|
|
6127
|
+
"primitive": "string"
|
|
6128
|
+
}
|
|
6129
|
+
},
|
|
6130
|
+
{
|
|
6131
|
+
"docs": {
|
|
6132
|
+
"stability": "experimental",
|
|
6133
|
+
"summary": "The physical name of the cluster."
|
|
6134
|
+
},
|
|
6135
|
+
"immutable": true,
|
|
6136
|
+
"locationInModule": {
|
|
6137
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6138
|
+
"line": 75
|
|
6139
|
+
},
|
|
6140
|
+
"name": "clusterName",
|
|
6141
|
+
"overrides": "@aws-cdk/aws-msk-alpha.ClusterBase",
|
|
6142
|
+
"type": {
|
|
6143
|
+
"primitive": "string"
|
|
6144
|
+
}
|
|
6145
|
+
}
|
|
6146
|
+
],
|
|
6147
|
+
"symbolId": "lib/serverless-cluster:ServerlessCluster"
|
|
6148
|
+
},
|
|
6149
|
+
"@aws-cdk/aws-msk-alpha.ServerlessClusterProps": {
|
|
6150
|
+
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
6151
|
+
"datatype": true,
|
|
6152
|
+
"docs": {
|
|
6153
|
+
"stability": "experimental",
|
|
6154
|
+
"summary": "Properties for a MSK Serverless Cluster.",
|
|
6155
|
+
"example": "declare const vpc: ec2.Vpc;\n\nconst serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {\n clusterName: 'MyServerlessCluster',\n vpcConfigs: [\n { vpc },\n ],\n});",
|
|
6156
|
+
"custom": {
|
|
6157
|
+
"exampleMetadata": "infused"
|
|
6158
|
+
}
|
|
6159
|
+
},
|
|
6160
|
+
"fqn": "@aws-cdk/aws-msk-alpha.ServerlessClusterProps",
|
|
6161
|
+
"kind": "interface",
|
|
6162
|
+
"locationInModule": {
|
|
6163
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6164
|
+
"line": 11
|
|
6165
|
+
},
|
|
6166
|
+
"name": "ServerlessClusterProps",
|
|
6167
|
+
"properties": [
|
|
6168
|
+
{
|
|
6169
|
+
"abstract": true,
|
|
6170
|
+
"docs": {
|
|
6171
|
+
"remarks": "You can specify up to 5 VPC configurations.",
|
|
6172
|
+
"stability": "experimental",
|
|
6173
|
+
"summary": "The configuration of the Amazon VPCs for the cluster."
|
|
6174
|
+
},
|
|
6175
|
+
"immutable": true,
|
|
6176
|
+
"locationInModule": {
|
|
6177
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6178
|
+
"line": 23
|
|
6179
|
+
},
|
|
6180
|
+
"name": "vpcConfigs",
|
|
6181
|
+
"type": {
|
|
6182
|
+
"collection": {
|
|
6183
|
+
"elementtype": {
|
|
6184
|
+
"fqn": "@aws-cdk/aws-msk-alpha.VpcConfig"
|
|
6185
|
+
},
|
|
6186
|
+
"kind": "array"
|
|
6187
|
+
}
|
|
6188
|
+
}
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
"abstract": true,
|
|
6192
|
+
"docs": {
|
|
6193
|
+
"default": "- auto generate",
|
|
6194
|
+
"stability": "experimental",
|
|
6195
|
+
"summary": "The physical name of the cluster."
|
|
6196
|
+
},
|
|
6197
|
+
"immutable": true,
|
|
6198
|
+
"locationInModule": {
|
|
6199
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6200
|
+
"line": 17
|
|
6201
|
+
},
|
|
6202
|
+
"name": "clusterName",
|
|
6203
|
+
"optional": true,
|
|
6204
|
+
"type": {
|
|
6205
|
+
"primitive": "string"
|
|
6206
|
+
}
|
|
6207
|
+
}
|
|
6208
|
+
],
|
|
6209
|
+
"symbolId": "lib/serverless-cluster:ServerlessClusterProps"
|
|
6210
|
+
},
|
|
5943
6211
|
"@aws-cdk/aws-msk-alpha.StorageMode": {
|
|
5944
6212
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
5945
6213
|
"docs": {
|
|
@@ -5954,7 +6222,7 @@
|
|
|
5954
6222
|
"kind": "enum",
|
|
5955
6223
|
"locationInModule": {
|
|
5956
6224
|
"filename": "lib/cluster.ts",
|
|
5957
|
-
"line":
|
|
6225
|
+
"line": 189
|
|
5958
6226
|
},
|
|
5959
6227
|
"members": [
|
|
5960
6228
|
{
|
|
@@ -5990,7 +6258,7 @@
|
|
|
5990
6258
|
"kind": "interface",
|
|
5991
6259
|
"locationInModule": {
|
|
5992
6260
|
"filename": "lib/cluster.ts",
|
|
5993
|
-
"line":
|
|
6261
|
+
"line": 389
|
|
5994
6262
|
},
|
|
5995
6263
|
"name": "TlsAuthProps",
|
|
5996
6264
|
"properties": [
|
|
@@ -6004,7 +6272,7 @@
|
|
|
6004
6272
|
"immutable": true,
|
|
6005
6273
|
"locationInModule": {
|
|
6006
6274
|
"filename": "lib/cluster.ts",
|
|
6007
|
-
"line":
|
|
6275
|
+
"line": 395
|
|
6008
6276
|
},
|
|
6009
6277
|
"name": "certificateAuthorities",
|
|
6010
6278
|
"optional": true,
|
|
@@ -6019,8 +6287,89 @@
|
|
|
6019
6287
|
}
|
|
6020
6288
|
],
|
|
6021
6289
|
"symbolId": "lib/cluster:TlsAuthProps"
|
|
6290
|
+
},
|
|
6291
|
+
"@aws-cdk/aws-msk-alpha.VpcConfig": {
|
|
6292
|
+
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
6293
|
+
"datatype": true,
|
|
6294
|
+
"docs": {
|
|
6295
|
+
"stability": "experimental",
|
|
6296
|
+
"summary": "The configuration of the Amazon VPCs for the cluster.",
|
|
6297
|
+
"example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as msk_alpha from '@aws-cdk/aws-msk-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\nconst vpcConfig: msk_alpha.VpcConfig = {\n vpc: vpc,\n\n // the properties below are optional\n securityGroups: [securityGroup],\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n};",
|
|
6298
|
+
"custom": {
|
|
6299
|
+
"exampleMetadata": "fixture=_generated"
|
|
6300
|
+
}
|
|
6301
|
+
},
|
|
6302
|
+
"fqn": "@aws-cdk/aws-msk-alpha.VpcConfig",
|
|
6303
|
+
"kind": "interface",
|
|
6304
|
+
"locationInModule": {
|
|
6305
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6306
|
+
"line": 29
|
|
6307
|
+
},
|
|
6308
|
+
"name": "VpcConfig",
|
|
6309
|
+
"properties": [
|
|
6310
|
+
{
|
|
6311
|
+
"abstract": true,
|
|
6312
|
+
"docs": {
|
|
6313
|
+
"remarks": "Must have at least 2 subnets in two different AZs.",
|
|
6314
|
+
"stability": "experimental",
|
|
6315
|
+
"summary": "Defines the virtual networking environment for this cluster."
|
|
6316
|
+
},
|
|
6317
|
+
"immutable": true,
|
|
6318
|
+
"locationInModule": {
|
|
6319
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6320
|
+
"line": 34
|
|
6321
|
+
},
|
|
6322
|
+
"name": "vpc",
|
|
6323
|
+
"type": {
|
|
6324
|
+
"fqn": "aws-cdk-lib.aws_ec2.IVpc"
|
|
6325
|
+
}
|
|
6326
|
+
},
|
|
6327
|
+
{
|
|
6328
|
+
"abstract": true,
|
|
6329
|
+
"docs": {
|
|
6330
|
+
"default": "- create new security group",
|
|
6331
|
+
"remarks": "You can specify up to 5 security groups.",
|
|
6332
|
+
"stability": "experimental",
|
|
6333
|
+
"summary": "The security groups associated with the cluster."
|
|
6334
|
+
},
|
|
6335
|
+
"immutable": true,
|
|
6336
|
+
"locationInModule": {
|
|
6337
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6338
|
+
"line": 49
|
|
6339
|
+
},
|
|
6340
|
+
"name": "securityGroups",
|
|
6341
|
+
"optional": true,
|
|
6342
|
+
"type": {
|
|
6343
|
+
"collection": {
|
|
6344
|
+
"elementtype": {
|
|
6345
|
+
"fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
|
|
6346
|
+
},
|
|
6347
|
+
"kind": "array"
|
|
6348
|
+
}
|
|
6349
|
+
}
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"abstract": true,
|
|
6353
|
+
"docs": {
|
|
6354
|
+
"default": "- the Vpc default strategy if not specified.",
|
|
6355
|
+
"stability": "experimental",
|
|
6356
|
+
"summary": "The subnets associated with the cluster."
|
|
6357
|
+
},
|
|
6358
|
+
"immutable": true,
|
|
6359
|
+
"locationInModule": {
|
|
6360
|
+
"filename": "lib/serverless-cluster.ts",
|
|
6361
|
+
"line": 41
|
|
6362
|
+
},
|
|
6363
|
+
"name": "vpcSubnets",
|
|
6364
|
+
"optional": true,
|
|
6365
|
+
"type": {
|
|
6366
|
+
"fqn": "aws-cdk-lib.aws_ec2.SubnetSelection"
|
|
6367
|
+
}
|
|
6368
|
+
}
|
|
6369
|
+
],
|
|
6370
|
+
"symbolId": "lib/serverless-cluster:VpcConfig"
|
|
6022
6371
|
}
|
|
6023
6372
|
},
|
|
6024
|
-
"version": "2.
|
|
6373
|
+
"version": "2.178.1-alpha.0",
|
|
6025
6374
|
"fingerprint": "**********"
|
|
6026
6375
|
}
|