@aws-cdk/aws-msk-alpha 2.3.0-alpha.0 → 2.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +105 -32
- package/.jsii.tabl.json +673 -261
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +59 -51
- package/lib/cluster-version.d.ts +18 -0
- package/lib/cluster-version.js +20 -2
- package/lib/cluster.js +2 -2
- package/package.json +17 -10
- package/rosetta/default.ts-fixture +12 -0
package/.jsii
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.7.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -2855,7 +2855,7 @@
|
|
|
2855
2855
|
"stability": "experimental"
|
|
2856
2856
|
},
|
|
2857
2857
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2858
|
-
"jsiiVersion": "1.
|
|
2858
|
+
"jsiiVersion": "1.50.0 (build d1830a4)",
|
|
2859
2859
|
"keywords": [
|
|
2860
2860
|
"aws",
|
|
2861
2861
|
"cdk",
|
|
@@ -2869,12 +2869,15 @@
|
|
|
2869
2869
|
"compiledWithDeprecationWarnings": true,
|
|
2870
2870
|
"pacmak": {
|
|
2871
2871
|
"hasDefaultInterfaces": true
|
|
2872
|
+
},
|
|
2873
|
+
"rosetta": {
|
|
2874
|
+
"strict": true
|
|
2872
2875
|
}
|
|
2873
2876
|
}
|
|
2874
2877
|
},
|
|
2875
2878
|
"name": "@aws-cdk/aws-msk-alpha",
|
|
2876
2879
|
"readme": {
|
|
2877
|
-
"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\
|
|
2880
|
+
"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, '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> Only one authentication method can be enabled.\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"
|
|
2878
2881
|
},
|
|
2879
2882
|
"repository": {
|
|
2880
2883
|
"directory": "packages/individual-packages/aws-msk",
|
|
@@ -2918,7 +2921,7 @@
|
|
|
2918
2921
|
"docs": {
|
|
2919
2922
|
"stability": "experimental",
|
|
2920
2923
|
"summary": "Configuration details related to broker logs.",
|
|
2921
|
-
"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_logs as logs } from 'aws-cdk-lib';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\ndeclare const logGroup: logs.LogGroup;\
|
|
2924
|
+
"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_logs as logs } from 'aws-cdk-lib';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\ndeclare const logGroup: logs.LogGroup;\nconst brokerLogging: msk_alpha.BrokerLogging = {\n cloudwatchLogGroup: logGroup,\n firehoseDeliveryStreamName: 'firehoseDeliveryStreamName',\n s3: {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n },\n};",
|
|
2922
2925
|
"custom": {
|
|
2923
2926
|
"exampleMetadata": "fixture=_generated"
|
|
2924
2927
|
}
|
|
@@ -2991,7 +2994,10 @@
|
|
|
2991
2994
|
"@aws-cdk/aws-msk-alpha.ClientAuthentication": {
|
|
2992
2995
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
2993
2996
|
"docs": {
|
|
2994
|
-
"
|
|
2997
|
+
"custom": {
|
|
2998
|
+
"exampleMetadata": "infused"
|
|
2999
|
+
},
|
|
3000
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
2995
3001
|
"stability": "experimental",
|
|
2996
3002
|
"summary": "Configuration properties for client authentication."
|
|
2997
3003
|
},
|
|
@@ -3093,7 +3099,10 @@
|
|
|
3093
3099
|
"@aws-cdk/aws-msk-alpha.ClientBrokerEncryption": {
|
|
3094
3100
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
3095
3101
|
"docs": {
|
|
3096
|
-
"
|
|
3102
|
+
"custom": {
|
|
3103
|
+
"exampleMetadata": "infused"
|
|
3104
|
+
},
|
|
3105
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
3097
3106
|
"stability": "experimental",
|
|
3098
3107
|
"summary": "Indicates the encryption setting for data in transit between clients and brokers."
|
|
3099
3108
|
},
|
|
@@ -3107,23 +3116,23 @@
|
|
|
3107
3116
|
{
|
|
3108
3117
|
"docs": {
|
|
3109
3118
|
"stability": "experimental",
|
|
3110
|
-
"summary": "
|
|
3119
|
+
"summary": "TLS means that client-broker communication is enabled with TLS only."
|
|
3111
3120
|
},
|
|
3112
|
-
"name": "
|
|
3121
|
+
"name": "TLS"
|
|
3113
3122
|
},
|
|
3114
3123
|
{
|
|
3115
3124
|
"docs": {
|
|
3116
3125
|
"stability": "experimental",
|
|
3117
|
-
"summary": "
|
|
3126
|
+
"summary": "TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data."
|
|
3118
3127
|
},
|
|
3119
|
-
"name": "
|
|
3128
|
+
"name": "TLS_PLAINTEXT"
|
|
3120
3129
|
},
|
|
3121
3130
|
{
|
|
3122
3131
|
"docs": {
|
|
3123
3132
|
"stability": "experimental",
|
|
3124
|
-
"summary": "
|
|
3133
|
+
"summary": "PLAINTEXT means that client-broker communication is enabled in plaintext only."
|
|
3125
3134
|
},
|
|
3126
|
-
"name": "
|
|
3135
|
+
"name": "PLAINTEXT"
|
|
3127
3136
|
}
|
|
3128
3137
|
],
|
|
3129
3138
|
"name": "ClientBrokerEncryption",
|
|
@@ -3134,9 +3143,10 @@
|
|
|
3134
3143
|
"base": "aws-cdk-lib.Resource",
|
|
3135
3144
|
"docs": {
|
|
3136
3145
|
"custom": {
|
|
3146
|
+
"exampleMetadata": "infused",
|
|
3137
3147
|
"resource": "AWS::MSK::Cluster"
|
|
3138
3148
|
},
|
|
3139
|
-
"example": "
|
|
3149
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
3140
3150
|
"stability": "experimental",
|
|
3141
3151
|
"summary": "Create a MSK Cluster."
|
|
3142
3152
|
},
|
|
@@ -3403,7 +3413,7 @@
|
|
|
3403
3413
|
"remarks": "Note: There is currently no Cloudformation Resource to create a Configuration",
|
|
3404
3414
|
"stability": "experimental",
|
|
3405
3415
|
"summary": "The Amazon MSK configuration to use for the cluster.",
|
|
3406
|
-
"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';\
|
|
3416
|
+
"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';\nconst clusterConfigurationInfo: msk_alpha.ClusterConfigurationInfo = {\n arn: 'arn',\n revision: 123,\n};",
|
|
3407
3417
|
"custom": {
|
|
3408
3418
|
"exampleMetadata": "fixture=_generated"
|
|
3409
3419
|
}
|
|
@@ -3502,7 +3512,10 @@
|
|
|
3502
3512
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
3503
3513
|
"datatype": true,
|
|
3504
3514
|
"docs": {
|
|
3505
|
-
"
|
|
3515
|
+
"custom": {
|
|
3516
|
+
"exampleMetadata": "infused"
|
|
3517
|
+
},
|
|
3518
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
3506
3519
|
"stability": "experimental",
|
|
3507
3520
|
"summary": "Properties for a MSK Cluster."
|
|
3508
3521
|
},
|
|
@@ -3778,7 +3791,7 @@
|
|
|
3778
3791
|
"docs": {
|
|
3779
3792
|
"stability": "experimental",
|
|
3780
3793
|
"summary": "EBS volume information.",
|
|
3781
|
-
"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_kms as kms } from 'aws-cdk-lib';\n\ndeclare const key: kms.Key;\
|
|
3794
|
+
"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_kms as kms } from 'aws-cdk-lib';\n\ndeclare const key: kms.Key;\nconst ebsStorageInfo: msk_alpha.EbsStorageInfo = {\n encryptionKey: key,\n volumeSize: 123,\n};",
|
|
3782
3795
|
"custom": {
|
|
3783
3796
|
"exampleMetadata": "fixture=_generated"
|
|
3784
3797
|
}
|
|
@@ -3834,13 +3847,13 @@
|
|
|
3834
3847
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
3835
3848
|
"datatype": true,
|
|
3836
3849
|
"docs": {
|
|
3850
|
+
"custom": {
|
|
3851
|
+
"exampleMetadata": "infused"
|
|
3852
|
+
},
|
|
3853
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
3837
3854
|
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/msk-encryption.html#msk-encryption-in-transit",
|
|
3838
3855
|
"stability": "experimental",
|
|
3839
|
-
"summary": "The settings for encrypting data in transit."
|
|
3840
|
-
"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';\n\nconst encryptionInTransitConfig: msk_alpha.EncryptionInTransitConfig = {\n clientBroker: msk_alpha.ClientBrokerEncryption.TLS,\n enableInCluster: false,\n};",
|
|
3841
|
-
"custom": {
|
|
3842
|
-
"exampleMetadata": "fixture=_generated"
|
|
3843
|
-
}
|
|
3856
|
+
"summary": "The settings for encrypting data in transit."
|
|
3844
3857
|
},
|
|
3845
3858
|
"fqn": "@aws-cdk/aws-msk-alpha.EncryptionInTransitConfig",
|
|
3846
3859
|
"kind": "interface",
|
|
@@ -3951,7 +3964,10 @@
|
|
|
3951
3964
|
"@aws-cdk/aws-msk-alpha.KafkaVersion": {
|
|
3952
3965
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
3953
3966
|
"docs": {
|
|
3954
|
-
"
|
|
3967
|
+
"custom": {
|
|
3968
|
+
"exampleMetadata": "infused"
|
|
3969
|
+
},
|
|
3970
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
3955
3971
|
"stability": "experimental",
|
|
3956
3972
|
"summary": "Kafka cluster version."
|
|
3957
3973
|
},
|
|
@@ -3969,7 +3985,7 @@
|
|
|
3969
3985
|
},
|
|
3970
3986
|
"locationInModule": {
|
|
3971
3987
|
"filename": "lib/cluster-version.ts",
|
|
3972
|
-
"line":
|
|
3988
|
+
"line": 79
|
|
3973
3989
|
},
|
|
3974
3990
|
"name": "of",
|
|
3975
3991
|
"parameters": [
|
|
@@ -4133,19 +4149,70 @@
|
|
|
4133
4149
|
"const": true,
|
|
4134
4150
|
"docs": {
|
|
4135
4151
|
"stability": "experimental",
|
|
4136
|
-
"summary": "Kafka version 2.
|
|
4152
|
+
"summary": "Kafka version 2.6.3."
|
|
4137
4153
|
},
|
|
4138
4154
|
"immutable": true,
|
|
4139
4155
|
"locationInModule": {
|
|
4140
4156
|
"filename": "lib/cluster-version.ts",
|
|
4141
4157
|
"line": 48
|
|
4142
4158
|
},
|
|
4159
|
+
"name": "V2_6_3",
|
|
4160
|
+
"static": true,
|
|
4161
|
+
"type": {
|
|
4162
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
4163
|
+
}
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
"const": true,
|
|
4167
|
+
"docs": {
|
|
4168
|
+
"stability": "experimental",
|
|
4169
|
+
"summary": "Kafka version 2.7.0."
|
|
4170
|
+
},
|
|
4171
|
+
"immutable": true,
|
|
4172
|
+
"locationInModule": {
|
|
4173
|
+
"filename": "lib/cluster-version.ts",
|
|
4174
|
+
"line": 53
|
|
4175
|
+
},
|
|
4143
4176
|
"name": "V2_7_0",
|
|
4144
4177
|
"static": true,
|
|
4145
4178
|
"type": {
|
|
4146
4179
|
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
4147
4180
|
}
|
|
4148
4181
|
},
|
|
4182
|
+
{
|
|
4183
|
+
"const": true,
|
|
4184
|
+
"docs": {
|
|
4185
|
+
"stability": "experimental",
|
|
4186
|
+
"summary": "Kafka version 2.7.1."
|
|
4187
|
+
},
|
|
4188
|
+
"immutable": true,
|
|
4189
|
+
"locationInModule": {
|
|
4190
|
+
"filename": "lib/cluster-version.ts",
|
|
4191
|
+
"line": 58
|
|
4192
|
+
},
|
|
4193
|
+
"name": "V2_7_1",
|
|
4194
|
+
"static": true,
|
|
4195
|
+
"type": {
|
|
4196
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
"const": true,
|
|
4201
|
+
"docs": {
|
|
4202
|
+
"stability": "experimental",
|
|
4203
|
+
"summary": "Kafka version 2.7.2."
|
|
4204
|
+
},
|
|
4205
|
+
"immutable": true,
|
|
4206
|
+
"locationInModule": {
|
|
4207
|
+
"filename": "lib/cluster-version.ts",
|
|
4208
|
+
"line": 63
|
|
4209
|
+
},
|
|
4210
|
+
"name": "V2_7_2",
|
|
4211
|
+
"static": true,
|
|
4212
|
+
"type": {
|
|
4213
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
4214
|
+
}
|
|
4215
|
+
},
|
|
4149
4216
|
{
|
|
4150
4217
|
"const": true,
|
|
4151
4218
|
"docs": {
|
|
@@ -4155,7 +4222,7 @@
|
|
|
4155
4222
|
"immutable": true,
|
|
4156
4223
|
"locationInModule": {
|
|
4157
4224
|
"filename": "lib/cluster-version.ts",
|
|
4158
|
-
"line":
|
|
4225
|
+
"line": 68
|
|
4159
4226
|
},
|
|
4160
4227
|
"name": "V2_8_0",
|
|
4161
4228
|
"static": true,
|
|
@@ -4172,7 +4239,7 @@
|
|
|
4172
4239
|
"immutable": true,
|
|
4173
4240
|
"locationInModule": {
|
|
4174
4241
|
"filename": "lib/cluster-version.ts",
|
|
4175
|
-
"line":
|
|
4242
|
+
"line": 73
|
|
4176
4243
|
},
|
|
4177
4244
|
"name": "V2_8_1",
|
|
4178
4245
|
"static": true,
|
|
@@ -4188,7 +4255,7 @@
|
|
|
4188
4255
|
"immutable": true,
|
|
4189
4256
|
"locationInModule": {
|
|
4190
4257
|
"filename": "lib/cluster-version.ts",
|
|
4191
|
-
"line":
|
|
4258
|
+
"line": 87
|
|
4192
4259
|
},
|
|
4193
4260
|
"name": "version",
|
|
4194
4261
|
"type": {
|
|
@@ -4204,7 +4271,7 @@
|
|
|
4204
4271
|
"docs": {
|
|
4205
4272
|
"stability": "experimental",
|
|
4206
4273
|
"summary": "Monitoring Configuration.",
|
|
4207
|
-
"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';\
|
|
4274
|
+
"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';\nconst monitoringConfiguration: msk_alpha.MonitoringConfiguration = {\n clusterMonitoringLevel: msk_alpha.ClusterMonitoringLevel.DEFAULT,\n enablePrometheusJmxExporter: false,\n enablePrometheusNodeExporter: false,\n};",
|
|
4208
4275
|
"custom": {
|
|
4209
4276
|
"exampleMetadata": "fixture=_generated"
|
|
4210
4277
|
}
|
|
@@ -4281,7 +4348,7 @@
|
|
|
4281
4348
|
"docs": {
|
|
4282
4349
|
"stability": "experimental",
|
|
4283
4350
|
"summary": "Details of the Amazon S3 destination for broker logs.",
|
|
4284
|
-
"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_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\
|
|
4351
|
+
"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_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst s3LoggingConfiguration: msk_alpha.S3LoggingConfiguration = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};",
|
|
4285
4352
|
"custom": {
|
|
4286
4353
|
"exampleMetadata": "fixture=_generated"
|
|
4287
4354
|
}
|
|
@@ -4335,7 +4402,10 @@
|
|
|
4335
4402
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
4336
4403
|
"datatype": true,
|
|
4337
4404
|
"docs": {
|
|
4338
|
-
"
|
|
4405
|
+
"custom": {
|
|
4406
|
+
"exampleMetadata": "infused"
|
|
4407
|
+
},
|
|
4408
|
+
"example": "declare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V2_8_1,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});",
|
|
4339
4409
|
"stability": "experimental",
|
|
4340
4410
|
"summary": "SASL authentication properties."
|
|
4341
4411
|
},
|
|
@@ -4409,7 +4479,10 @@
|
|
|
4409
4479
|
"assembly": "@aws-cdk/aws-msk-alpha",
|
|
4410
4480
|
"datatype": true,
|
|
4411
4481
|
"docs": {
|
|
4412
|
-
"
|
|
4482
|
+
"custom": {
|
|
4483
|
+
"exampleMetadata": "infused"
|
|
4484
|
+
},
|
|
4485
|
+
"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.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});",
|
|
4413
4486
|
"stability": "experimental",
|
|
4414
4487
|
"summary": "TLS authentication properties."
|
|
4415
4488
|
},
|
|
@@ -4448,6 +4521,6 @@
|
|
|
4448
4521
|
"symbolId": "lib/cluster:TlsAuthProps"
|
|
4449
4522
|
}
|
|
4450
4523
|
},
|
|
4451
|
-
"version": "2.
|
|
4524
|
+
"version": "2.7.0-alpha.0",
|
|
4452
4525
|
"fingerprint": "**********"
|
|
4453
4526
|
}
|