aws-cdk-lib 2.182.0__py3-none-any.whl → 2.184.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +459 -33
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.182.0.jsii.tgz → aws-cdk-lib@2.184.0.jsii.tgz} +0 -0
- aws_cdk/aws_batch/__init__.py +15 -9
- aws_cdk/aws_bedrock/__init__.py +5804 -2325
- aws_cdk/aws_ce/__init__.py +141 -3
- aws_cdk/aws_cloudformation/__init__.py +26 -33
- aws_cdk/aws_cloudfront/experimental/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_codebuild/__init__.py +4 -10
- aws_cdk/aws_cognito/__init__.py +3 -3
- aws_cdk/aws_dms/__init__.py +350 -0
- aws_cdk/aws_ec2/__init__.py +63 -5
- aws_cdk/aws_elasticache/__init__.py +3 -3
- aws_cdk/aws_emr/__init__.py +9 -3
- aws_cdk/aws_events/__init__.py +3 -1
- aws_cdk/aws_events_targets/__init__.py +31 -7
- aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
- aws_cdk/aws_iam/__init__.py +290 -35
- aws_cdk/aws_inspector/__init__.py +13 -10
- aws_cdk/aws_iot/__init__.py +616 -22
- aws_cdk/aws_iotfleetwise/__init__.py +72 -10
- aws_cdk/aws_iotsitewise/__init__.py +12 -8
- aws_cdk/aws_kafkaconnect/__init__.py +4 -2
- aws_cdk/aws_kinesisfirehose/__init__.py +45 -51
- aws_cdk/aws_lambda/__init__.py +27 -18
- aws_cdk/aws_lambda_event_sources/__init__.py +14 -14
- aws_cdk/aws_logs/__init__.py +133 -0
- aws_cdk/aws_medialive/__init__.py +86 -86
- aws_cdk/aws_msk/__init__.py +236 -128
- aws_cdk/aws_neptunegraph/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
- aws_cdk/aws_quicksight/__init__.py +6511 -20331
- aws_cdk/aws_rds/__init__.py +264 -32
- aws_cdk/aws_redshift/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +12 -5
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +2 -0
- aws_cdk/aws_transfer/__init__.py +241 -40
- aws_cdk/aws_wafv2/__init__.py +118 -30
- aws_cdk/aws_xray/__init__.py +195 -0
- aws_cdk/cloud_assembly_schema/__init__.py +2 -2
- aws_cdk/custom_resources/__init__.py +65 -8
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/METADATA +5 -6
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/RECORD +49 -48
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_msk/__init__.py
CHANGED
|
@@ -81,7 +81,7 @@ class CfnBatchScramSecret(
|
|
|
81
81
|
metaclass=jsii.JSIIMeta,
|
|
82
82
|
jsii_type="aws-cdk-lib.aws_msk.CfnBatchScramSecret",
|
|
83
83
|
):
|
|
84
|
-
'''
|
|
84
|
+
'''Represents a secret stored in the AWS Secrets Manager that can be used to authenticate with a cluster using a user name and a password.
|
|
85
85
|
|
|
86
86
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-batchscramsecret.html
|
|
87
87
|
:cloudformationResource: AWS::MSK::BatchScramSecret
|
|
@@ -112,8 +112,8 @@ class CfnBatchScramSecret(
|
|
|
112
112
|
'''
|
|
113
113
|
:param scope: Scope in which this resource is defined.
|
|
114
114
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
115
|
-
:param cluster_arn:
|
|
116
|
-
:param secret_arn_list:
|
|
115
|
+
:param cluster_arn: The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
|
116
|
+
:param secret_arn_list: List of Amazon Resource Name (ARN)s of Secrets Manager secrets.
|
|
117
117
|
'''
|
|
118
118
|
if __debug__:
|
|
119
119
|
type_hints = typing.get_type_hints(_typecheckingstub__7520d411e2ff468c392c477234cb67e342bdaac914895933d982e659ed9e98a4)
|
|
@@ -163,6 +163,7 @@ class CfnBatchScramSecret(
|
|
|
163
163
|
@builtins.property
|
|
164
164
|
@jsii.member(jsii_name="clusterArn")
|
|
165
165
|
def cluster_arn(self) -> builtins.str:
|
|
166
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the cluster.'''
|
|
166
167
|
return typing.cast(builtins.str, jsii.get(self, "clusterArn"))
|
|
167
168
|
|
|
168
169
|
@cluster_arn.setter
|
|
@@ -175,6 +176,7 @@ class CfnBatchScramSecret(
|
|
|
175
176
|
@builtins.property
|
|
176
177
|
@jsii.member(jsii_name="secretArnList")
|
|
177
178
|
def secret_arn_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
179
|
+
'''List of Amazon Resource Name (ARN)s of Secrets Manager secrets.'''
|
|
178
180
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "secretArnList"))
|
|
179
181
|
|
|
180
182
|
@secret_arn_list.setter
|
|
@@ -202,8 +204,8 @@ class CfnBatchScramSecretProps:
|
|
|
202
204
|
) -> None:
|
|
203
205
|
'''Properties for defining a ``CfnBatchScramSecret``.
|
|
204
206
|
|
|
205
|
-
:param cluster_arn:
|
|
206
|
-
:param secret_arn_list:
|
|
207
|
+
:param cluster_arn: The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
|
208
|
+
:param secret_arn_list: List of Amazon Resource Name (ARN)s of Secrets Manager secrets.
|
|
207
209
|
|
|
208
210
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-batchscramsecret.html
|
|
209
211
|
:exampleMetadata: fixture=_generated
|
|
@@ -233,7 +235,8 @@ class CfnBatchScramSecretProps:
|
|
|
233
235
|
|
|
234
236
|
@builtins.property
|
|
235
237
|
def cluster_arn(self) -> builtins.str:
|
|
236
|
-
'''
|
|
238
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
|
239
|
+
|
|
237
240
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-batchscramsecret.html#cfn-msk-batchscramsecret-clusterarn
|
|
238
241
|
'''
|
|
239
242
|
result = self._values.get("cluster_arn")
|
|
@@ -242,7 +245,8 @@ class CfnBatchScramSecretProps:
|
|
|
242
245
|
|
|
243
246
|
@builtins.property
|
|
244
247
|
def secret_arn_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
245
|
-
'''
|
|
248
|
+
'''List of Amazon Resource Name (ARN)s of Secrets Manager secrets.
|
|
249
|
+
|
|
246
250
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-batchscramsecret.html#cfn-msk-batchscramsecret-secretarnlist
|
|
247
251
|
'''
|
|
248
252
|
result = self._values.get("secret_arn_list")
|
|
@@ -266,7 +270,14 @@ class CfnCluster(
|
|
|
266
270
|
metaclass=jsii.JSIIMeta,
|
|
267
271
|
jsii_type="aws-cdk-lib.aws_msk.CfnCluster",
|
|
268
272
|
):
|
|
269
|
-
'''
|
|
273
|
+
'''Creates a new MSK cluster.
|
|
274
|
+
|
|
275
|
+
The following Python 3.6 example shows how you can create a cluster that's distributed across two `Availability Zones <https://docs.aws.amazon.com/global-infrastructure/latest/regions/aws-availability-zones.html>`_ . Before you run this Python script, replace the example subnet and security-group IDs with the IDs of your subnets and security group.
|
|
276
|
+
|
|
277
|
+
When you create an MSK cluster, its brokers get evenly distributed across a number of Availability Zones that's equal to the number of subnets that you specify in the ``BrokerNodeGroupInfo`` parameter. In the following example, you can add a third subnet to get a cluster that's distributed across three Availability Zones::
|
|
278
|
+
|
|
279
|
+
import boto3 client = boto3.client('kafka') response = client.create_cluster( BrokerNodeGroupInfo={ 'BrokerAZDistribution': 'DEFAULT', 'ClientSubnets': [ 'subnet-012345678901fedcba', 'subnet-9876543210abcdef01' ], 'InstanceType': 'kafka.m5.large', 'SecurityGroups': [ 'sg-012345abcdef789789' ] }, ClusterName='SalesCluster', EncryptionInfo={ 'EncryptionInTransit': { 'ClientBroker': 'TLS_PLAINTEXT', 'InCluster': True } }, EnhancedMonitoring='PER_TOPIC_PER_BROKER', KafkaVersion='2.2.1', NumberOfBrokerNodes=2
|
|
280
|
+
) print(response)
|
|
270
281
|
|
|
271
282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
272
283
|
:cloudformationResource: AWS::MSK::Cluster
|
|
@@ -415,19 +426,19 @@ class CfnCluster(
|
|
|
415
426
|
'''
|
|
416
427
|
:param scope: Scope in which this resource is defined.
|
|
417
428
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
418
|
-
:param broker_node_group_info:
|
|
419
|
-
:param cluster_name:
|
|
420
|
-
:param kafka_version:
|
|
421
|
-
:param number_of_broker_nodes:
|
|
422
|
-
:param client_authentication:
|
|
423
|
-
:param configuration_info:
|
|
424
|
-
:param current_version: The
|
|
425
|
-
:param encryption_info:
|
|
426
|
-
:param enhanced_monitoring:
|
|
427
|
-
:param logging_info:
|
|
428
|
-
:param open_monitoring:
|
|
429
|
-
:param storage_mode:
|
|
430
|
-
:param tags:
|
|
429
|
+
:param broker_node_group_info: Information about the broker nodes in the cluster.
|
|
430
|
+
:param cluster_name: The name of the cluster.
|
|
431
|
+
:param kafka_version: The version of Apache Kafka. You can use Amazon MSK to create clusters that use `supported Apache Kafka versions <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ .
|
|
432
|
+
:param number_of_broker_nodes: The number of broker nodes in the cluster.
|
|
433
|
+
:param client_authentication: Includes all client authentication related information.
|
|
434
|
+
:param configuration_info: Represents the configuration that you want MSK to use for the cluster.
|
|
435
|
+
:param current_version: The version of the cluster that you want to update.
|
|
436
|
+
:param encryption_info: Includes all encryption-related information.
|
|
437
|
+
:param enhanced_monitoring: Specifies the level of monitoring for the MSK cluster.
|
|
438
|
+
:param logging_info: Logging info details for the cluster.
|
|
439
|
+
:param open_monitoring: The settings for open monitoring.
|
|
440
|
+
:param storage_mode: This controls storage mode for supported storage tiers.
|
|
441
|
+
:param tags: An arbitrary set of tags (key-value pairs) for the cluster.
|
|
431
442
|
'''
|
|
432
443
|
if __debug__:
|
|
433
444
|
type_hints = typing.get_type_hints(_typecheckingstub__d267b4b2dcfdda539084655e7a1234ffaf8e77376f37d4914abbcef6c64e9f1c)
|
|
@@ -484,7 +495,8 @@ class CfnCluster(
|
|
|
484
495
|
@builtins.property
|
|
485
496
|
@jsii.member(jsii_name="attrArn")
|
|
486
497
|
def attr_arn(self) -> builtins.str:
|
|
487
|
-
'''
|
|
498
|
+
'''The Amazon Resource Name (ARN) of the MSK cluster.
|
|
499
|
+
|
|
488
500
|
:cloudformationAttribute: Arn
|
|
489
501
|
'''
|
|
490
502
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
@@ -505,6 +517,7 @@ class CfnCluster(
|
|
|
505
517
|
def broker_node_group_info(
|
|
506
518
|
self,
|
|
507
519
|
) -> typing.Union[_IResolvable_da3f097b, "CfnCluster.BrokerNodeGroupInfoProperty"]:
|
|
520
|
+
'''Information about the broker nodes in the cluster.'''
|
|
508
521
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCluster.BrokerNodeGroupInfoProperty"], jsii.get(self, "brokerNodeGroupInfo"))
|
|
509
522
|
|
|
510
523
|
@broker_node_group_info.setter
|
|
@@ -520,6 +533,7 @@ class CfnCluster(
|
|
|
520
533
|
@builtins.property
|
|
521
534
|
@jsii.member(jsii_name="clusterName")
|
|
522
535
|
def cluster_name(self) -> builtins.str:
|
|
536
|
+
'''The name of the cluster.'''
|
|
523
537
|
return typing.cast(builtins.str, jsii.get(self, "clusterName"))
|
|
524
538
|
|
|
525
539
|
@cluster_name.setter
|
|
@@ -532,6 +546,7 @@ class CfnCluster(
|
|
|
532
546
|
@builtins.property
|
|
533
547
|
@jsii.member(jsii_name="kafkaVersion")
|
|
534
548
|
def kafka_version(self) -> builtins.str:
|
|
549
|
+
'''The version of Apache Kafka.'''
|
|
535
550
|
return typing.cast(builtins.str, jsii.get(self, "kafkaVersion"))
|
|
536
551
|
|
|
537
552
|
@kafka_version.setter
|
|
@@ -544,6 +559,7 @@ class CfnCluster(
|
|
|
544
559
|
@builtins.property
|
|
545
560
|
@jsii.member(jsii_name="numberOfBrokerNodes")
|
|
546
561
|
def number_of_broker_nodes(self) -> jsii.Number:
|
|
562
|
+
'''The number of broker nodes in the cluster.'''
|
|
547
563
|
return typing.cast(jsii.Number, jsii.get(self, "numberOfBrokerNodes"))
|
|
548
564
|
|
|
549
565
|
@number_of_broker_nodes.setter
|
|
@@ -558,6 +574,7 @@ class CfnCluster(
|
|
|
558
574
|
def client_authentication(
|
|
559
575
|
self,
|
|
560
576
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClientAuthenticationProperty"]]:
|
|
577
|
+
'''Includes all client authentication related information.'''
|
|
561
578
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClientAuthenticationProperty"]], jsii.get(self, "clientAuthentication"))
|
|
562
579
|
|
|
563
580
|
@client_authentication.setter
|
|
@@ -575,6 +592,7 @@ class CfnCluster(
|
|
|
575
592
|
def configuration_info(
|
|
576
593
|
self,
|
|
577
594
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConfigurationInfoProperty"]]:
|
|
595
|
+
'''Represents the configuration that you want MSK to use for the cluster.'''
|
|
578
596
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConfigurationInfoProperty"]], jsii.get(self, "configurationInfo"))
|
|
579
597
|
|
|
580
598
|
@configuration_info.setter
|
|
@@ -590,7 +608,7 @@ class CfnCluster(
|
|
|
590
608
|
@builtins.property
|
|
591
609
|
@jsii.member(jsii_name="currentVersion")
|
|
592
610
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
593
|
-
'''The
|
|
611
|
+
'''The version of the cluster that you want to update.'''
|
|
594
612
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "currentVersion"))
|
|
595
613
|
|
|
596
614
|
@current_version.setter
|
|
@@ -605,6 +623,7 @@ class CfnCluster(
|
|
|
605
623
|
def encryption_info(
|
|
606
624
|
self,
|
|
607
625
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInfoProperty"]]:
|
|
626
|
+
'''Includes all encryption-related information.'''
|
|
608
627
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInfoProperty"]], jsii.get(self, "encryptionInfo"))
|
|
609
628
|
|
|
610
629
|
@encryption_info.setter
|
|
@@ -620,6 +639,7 @@ class CfnCluster(
|
|
|
620
639
|
@builtins.property
|
|
621
640
|
@jsii.member(jsii_name="enhancedMonitoring")
|
|
622
641
|
def enhanced_monitoring(self) -> typing.Optional[builtins.str]:
|
|
642
|
+
'''Specifies the level of monitoring for the MSK cluster.'''
|
|
623
643
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "enhancedMonitoring"))
|
|
624
644
|
|
|
625
645
|
@enhanced_monitoring.setter
|
|
@@ -634,6 +654,7 @@ class CfnCluster(
|
|
|
634
654
|
def logging_info(
|
|
635
655
|
self,
|
|
636
656
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.LoggingInfoProperty"]]:
|
|
657
|
+
'''Logging info details for the cluster.'''
|
|
637
658
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.LoggingInfoProperty"]], jsii.get(self, "loggingInfo"))
|
|
638
659
|
|
|
639
660
|
@logging_info.setter
|
|
@@ -651,6 +672,7 @@ class CfnCluster(
|
|
|
651
672
|
def open_monitoring(
|
|
652
673
|
self,
|
|
653
674
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OpenMonitoringProperty"]]:
|
|
675
|
+
'''The settings for open monitoring.'''
|
|
654
676
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OpenMonitoringProperty"]], jsii.get(self, "openMonitoring"))
|
|
655
677
|
|
|
656
678
|
@open_monitoring.setter
|
|
@@ -666,6 +688,7 @@ class CfnCluster(
|
|
|
666
688
|
@builtins.property
|
|
667
689
|
@jsii.member(jsii_name="storageMode")
|
|
668
690
|
def storage_mode(self) -> typing.Optional[builtins.str]:
|
|
691
|
+
'''This controls storage mode for supported storage tiers.'''
|
|
669
692
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageMode"))
|
|
670
693
|
|
|
671
694
|
@storage_mode.setter
|
|
@@ -678,7 +701,7 @@ class CfnCluster(
|
|
|
678
701
|
@builtins.property
|
|
679
702
|
@jsii.member(jsii_name="tagsRaw")
|
|
680
703
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
681
|
-
'''
|
|
704
|
+
'''An arbitrary set of tags (key-value pairs) for the cluster.'''
|
|
682
705
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
683
706
|
|
|
684
707
|
@tags_raw.setter
|
|
@@ -821,13 +844,14 @@ class CfnCluster(
|
|
|
821
844
|
security_groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
822
845
|
storage_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.StorageInfoProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
823
846
|
) -> None:
|
|
824
|
-
'''
|
|
825
|
-
|
|
847
|
+
'''Describes the setup to be used for the broker nodes in the cluster.
|
|
848
|
+
|
|
849
|
+
:param client_subnets: The list of subnets to connect to in the client virtual private cloud (VPC). Amazon creates elastic network interfaces (ENIs) inside these subnets. Client applications use ENIs to produce and consume data. If you use the US West (N. California) Region, specify exactly two subnets. For other Regions where Amazon MSK is available, you can specify either two or three subnets. The subnets that you specify must be in distinct Availability Zones. When you create a cluster, Amazon MSK distributes the broker nodes evenly across the subnets that you specify. Client subnets can't occupy the Availability Zone with ID ``use1-az3`` .
|
|
826
850
|
:param instance_type: The type of Amazon EC2 instances to use for brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.8xlarge, kafka.m5.12xlarge, kafka.m5.16xlarge, kafka.m5.24xlarge, and kafka.t3.small.
|
|
827
|
-
:param broker_az_distribution:
|
|
828
|
-
:param connectivity_info:
|
|
829
|
-
:param security_groups:
|
|
830
|
-
:param storage_info:
|
|
851
|
+
:param broker_az_distribution: This parameter is currently not in use.
|
|
852
|
+
:param connectivity_info: Information about the cluster's connectivity setting.
|
|
853
|
+
:param security_groups: The security groups to associate with the ENIs in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC. If you specify security groups that were shared with you, you must ensure that you have permissions to them. Specifically, you need the ``ec2:DescribeSecurityGroups`` permission.
|
|
854
|
+
:param storage_info: Contains information about storage volumes attached to Amazon MSK broker nodes.
|
|
831
855
|
|
|
832
856
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html
|
|
833
857
|
:exampleMetadata: fixture=_generated
|
|
@@ -899,7 +923,14 @@ class CfnCluster(
|
|
|
899
923
|
|
|
900
924
|
@builtins.property
|
|
901
925
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
902
|
-
'''
|
|
926
|
+
'''The list of subnets to connect to in the client virtual private cloud (VPC).
|
|
927
|
+
|
|
928
|
+
Amazon creates elastic network interfaces (ENIs) inside these subnets. Client applications use ENIs to produce and consume data.
|
|
929
|
+
|
|
930
|
+
If you use the US West (N. California) Region, specify exactly two subnets. For other Regions where Amazon MSK is available, you can specify either two or three subnets. The subnets that you specify must be in distinct Availability Zones. When you create a cluster, Amazon MSK distributes the broker nodes evenly across the subnets that you specify.
|
|
931
|
+
|
|
932
|
+
Client subnets can't occupy the Availability Zone with ID ``use1-az3`` .
|
|
933
|
+
|
|
903
934
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-clientsubnets
|
|
904
935
|
'''
|
|
905
936
|
result = self._values.get("client_subnets")
|
|
@@ -920,7 +951,8 @@ class CfnCluster(
|
|
|
920
951
|
|
|
921
952
|
@builtins.property
|
|
922
953
|
def broker_az_distribution(self) -> typing.Optional[builtins.str]:
|
|
923
|
-
'''
|
|
954
|
+
'''This parameter is currently not in use.
|
|
955
|
+
|
|
924
956
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-brokerazdistribution
|
|
925
957
|
'''
|
|
926
958
|
result = self._values.get("broker_az_distribution")
|
|
@@ -930,7 +962,8 @@ class CfnCluster(
|
|
|
930
962
|
def connectivity_info(
|
|
931
963
|
self,
|
|
932
964
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConnectivityInfoProperty"]]:
|
|
933
|
-
'''
|
|
965
|
+
'''Information about the cluster's connectivity setting.
|
|
966
|
+
|
|
934
967
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-connectivityinfo
|
|
935
968
|
'''
|
|
936
969
|
result = self._values.get("connectivity_info")
|
|
@@ -938,7 +971,10 @@ class CfnCluster(
|
|
|
938
971
|
|
|
939
972
|
@builtins.property
|
|
940
973
|
def security_groups(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
941
|
-
'''
|
|
974
|
+
'''The security groups to associate with the ENIs in order to specify who can connect to and communicate with the Amazon MSK cluster.
|
|
975
|
+
|
|
976
|
+
If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC. If you specify security groups that were shared with you, you must ensure that you have permissions to them. Specifically, you need the ``ec2:DescribeSecurityGroups`` permission.
|
|
977
|
+
|
|
942
978
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-securitygroups
|
|
943
979
|
'''
|
|
944
980
|
result = self._values.get("security_groups")
|
|
@@ -948,7 +984,8 @@ class CfnCluster(
|
|
|
948
984
|
def storage_info(
|
|
949
985
|
self,
|
|
950
986
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.StorageInfoProperty"]]:
|
|
951
|
-
'''
|
|
987
|
+
'''Contains information about storage volumes attached to Amazon MSK broker nodes.
|
|
988
|
+
|
|
952
989
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-storageinfo
|
|
953
990
|
'''
|
|
954
991
|
result = self._values.get("storage_info")
|
|
@@ -1428,9 +1465,10 @@ class CfnCluster(
|
|
|
1428
1465
|
client_broker: typing.Optional[builtins.str] = None,
|
|
1429
1466
|
in_cluster: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1430
1467
|
) -> None:
|
|
1431
|
-
'''
|
|
1432
|
-
|
|
1433
|
-
:param
|
|
1468
|
+
'''The settings for encrypting data in transit.
|
|
1469
|
+
|
|
1470
|
+
:param client_broker: Indicates the encryption setting for data in transit between clients and brokers. You must set it to one of the following values. - ``TLS`` : Indicates that client-broker communication is enabled with TLS only. - ``TLS_PLAINTEXT`` : Indicates that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. - ``PLAINTEXT`` : Indicates that client-broker communication is enabled in plaintext only. The default value is ``TLS`` .
|
|
1471
|
+
:param in_cluster: When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext. The default value is true.
|
|
1434
1472
|
|
|
1435
1473
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html
|
|
1436
1474
|
:exampleMetadata: fixture=_generated
|
|
@@ -1458,7 +1496,16 @@ class CfnCluster(
|
|
|
1458
1496
|
|
|
1459
1497
|
@builtins.property
|
|
1460
1498
|
def client_broker(self) -> typing.Optional[builtins.str]:
|
|
1461
|
-
'''
|
|
1499
|
+
'''Indicates the encryption setting for data in transit between clients and brokers.
|
|
1500
|
+
|
|
1501
|
+
You must set it to one of the following values.
|
|
1502
|
+
|
|
1503
|
+
- ``TLS`` : Indicates that client-broker communication is enabled with TLS only.
|
|
1504
|
+
- ``TLS_PLAINTEXT`` : Indicates that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
|
|
1505
|
+
- ``PLAINTEXT`` : Indicates that client-broker communication is enabled in plaintext only.
|
|
1506
|
+
|
|
1507
|
+
The default value is ``TLS`` .
|
|
1508
|
+
|
|
1462
1509
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-clientbroker
|
|
1463
1510
|
'''
|
|
1464
1511
|
result = self._values.get("client_broker")
|
|
@@ -1468,7 +1515,12 @@ class CfnCluster(
|
|
|
1468
1515
|
def in_cluster(
|
|
1469
1516
|
self,
|
|
1470
1517
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1471
|
-
'''
|
|
1518
|
+
'''When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
|
|
1519
|
+
|
|
1520
|
+
When set to false, the communication happens in plaintext.
|
|
1521
|
+
|
|
1522
|
+
The default value is true.
|
|
1523
|
+
|
|
1472
1524
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-incluster
|
|
1473
1525
|
'''
|
|
1474
1526
|
result = self._values.get("in_cluster")
|
|
@@ -1502,7 +1554,7 @@ class CfnCluster(
|
|
|
1502
1554
|
) -> None:
|
|
1503
1555
|
'''
|
|
1504
1556
|
:param encryption_at_rest:
|
|
1505
|
-
:param encryption_in_transit:
|
|
1557
|
+
:param encryption_in_transit: The details for encryption in transit.
|
|
1506
1558
|
|
|
1507
1559
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html
|
|
1508
1560
|
:exampleMetadata: fixture=_generated
|
|
@@ -1547,7 +1599,8 @@ class CfnCluster(
|
|
|
1547
1599
|
def encryption_in_transit(
|
|
1548
1600
|
self,
|
|
1549
1601
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInTransitProperty"]]:
|
|
1550
|
-
'''
|
|
1602
|
+
'''The details for encryption in transit.
|
|
1603
|
+
|
|
1551
1604
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html#cfn-msk-cluster-encryptioninfo-encryptionintransit
|
|
1552
1605
|
'''
|
|
1553
1606
|
result = self._values.get("encryption_in_transit")
|
|
@@ -3146,19 +3199,19 @@ class CfnClusterProps:
|
|
|
3146
3199
|
) -> None:
|
|
3147
3200
|
'''Properties for defining a ``CfnCluster``.
|
|
3148
3201
|
|
|
3149
|
-
:param broker_node_group_info:
|
|
3150
|
-
:param cluster_name:
|
|
3151
|
-
:param kafka_version:
|
|
3152
|
-
:param number_of_broker_nodes:
|
|
3153
|
-
:param client_authentication:
|
|
3154
|
-
:param configuration_info:
|
|
3155
|
-
:param current_version: The
|
|
3156
|
-
:param encryption_info:
|
|
3157
|
-
:param enhanced_monitoring:
|
|
3158
|
-
:param logging_info:
|
|
3159
|
-
:param open_monitoring:
|
|
3160
|
-
:param storage_mode:
|
|
3161
|
-
:param tags:
|
|
3202
|
+
:param broker_node_group_info: Information about the broker nodes in the cluster.
|
|
3203
|
+
:param cluster_name: The name of the cluster.
|
|
3204
|
+
:param kafka_version: The version of Apache Kafka. You can use Amazon MSK to create clusters that use `supported Apache Kafka versions <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ .
|
|
3205
|
+
:param number_of_broker_nodes: The number of broker nodes in the cluster.
|
|
3206
|
+
:param client_authentication: Includes all client authentication related information.
|
|
3207
|
+
:param configuration_info: Represents the configuration that you want MSK to use for the cluster.
|
|
3208
|
+
:param current_version: The version of the cluster that you want to update.
|
|
3209
|
+
:param encryption_info: Includes all encryption-related information.
|
|
3210
|
+
:param enhanced_monitoring: Specifies the level of monitoring for the MSK cluster.
|
|
3211
|
+
:param logging_info: Logging info details for the cluster.
|
|
3212
|
+
:param open_monitoring: The settings for open monitoring.
|
|
3213
|
+
:param storage_mode: This controls storage mode for supported storage tiers.
|
|
3214
|
+
:param tags: An arbitrary set of tags (key-value pairs) for the cluster.
|
|
3162
3215
|
|
|
3163
3216
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
3164
3217
|
:exampleMetadata: fixture=_generated
|
|
@@ -3327,7 +3380,8 @@ class CfnClusterProps:
|
|
|
3327
3380
|
def broker_node_group_info(
|
|
3328
3381
|
self,
|
|
3329
3382
|
) -> typing.Union[_IResolvable_da3f097b, CfnCluster.BrokerNodeGroupInfoProperty]:
|
|
3330
|
-
'''
|
|
3383
|
+
'''Information about the broker nodes in the cluster.
|
|
3384
|
+
|
|
3331
3385
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-brokernodegroupinfo
|
|
3332
3386
|
'''
|
|
3333
3387
|
result = self._values.get("broker_node_group_info")
|
|
@@ -3336,7 +3390,8 @@ class CfnClusterProps:
|
|
|
3336
3390
|
|
|
3337
3391
|
@builtins.property
|
|
3338
3392
|
def cluster_name(self) -> builtins.str:
|
|
3339
|
-
'''
|
|
3393
|
+
'''The name of the cluster.
|
|
3394
|
+
|
|
3340
3395
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clustername
|
|
3341
3396
|
'''
|
|
3342
3397
|
result = self._values.get("cluster_name")
|
|
@@ -3345,7 +3400,10 @@ class CfnClusterProps:
|
|
|
3345
3400
|
|
|
3346
3401
|
@builtins.property
|
|
3347
3402
|
def kafka_version(self) -> builtins.str:
|
|
3348
|
-
'''
|
|
3403
|
+
'''The version of Apache Kafka.
|
|
3404
|
+
|
|
3405
|
+
You can use Amazon MSK to create clusters that use `supported Apache Kafka versions <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ .
|
|
3406
|
+
|
|
3349
3407
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-kafkaversion
|
|
3350
3408
|
'''
|
|
3351
3409
|
result = self._values.get("kafka_version")
|
|
@@ -3354,7 +3412,8 @@ class CfnClusterProps:
|
|
|
3354
3412
|
|
|
3355
3413
|
@builtins.property
|
|
3356
3414
|
def number_of_broker_nodes(self) -> jsii.Number:
|
|
3357
|
-
'''
|
|
3415
|
+
'''The number of broker nodes in the cluster.
|
|
3416
|
+
|
|
3358
3417
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-numberofbrokernodes
|
|
3359
3418
|
'''
|
|
3360
3419
|
result = self._values.get("number_of_broker_nodes")
|
|
@@ -3365,7 +3424,8 @@ class CfnClusterProps:
|
|
|
3365
3424
|
def client_authentication(
|
|
3366
3425
|
self,
|
|
3367
3426
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ClientAuthenticationProperty]]:
|
|
3368
|
-
'''
|
|
3427
|
+
'''Includes all client authentication related information.
|
|
3428
|
+
|
|
3369
3429
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clientauthentication
|
|
3370
3430
|
'''
|
|
3371
3431
|
result = self._values.get("client_authentication")
|
|
@@ -3375,7 +3435,8 @@ class CfnClusterProps:
|
|
|
3375
3435
|
def configuration_info(
|
|
3376
3436
|
self,
|
|
3377
3437
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ConfigurationInfoProperty]]:
|
|
3378
|
-
'''
|
|
3438
|
+
'''Represents the configuration that you want MSK to use for the cluster.
|
|
3439
|
+
|
|
3379
3440
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-configurationinfo
|
|
3380
3441
|
'''
|
|
3381
3442
|
result = self._values.get("configuration_info")
|
|
@@ -3383,7 +3444,7 @@ class CfnClusterProps:
|
|
|
3383
3444
|
|
|
3384
3445
|
@builtins.property
|
|
3385
3446
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
3386
|
-
'''The
|
|
3447
|
+
'''The version of the cluster that you want to update.
|
|
3387
3448
|
|
|
3388
3449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-currentversion
|
|
3389
3450
|
'''
|
|
@@ -3394,7 +3455,8 @@ class CfnClusterProps:
|
|
|
3394
3455
|
def encryption_info(
|
|
3395
3456
|
self,
|
|
3396
3457
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.EncryptionInfoProperty]]:
|
|
3397
|
-
'''
|
|
3458
|
+
'''Includes all encryption-related information.
|
|
3459
|
+
|
|
3398
3460
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-encryptioninfo
|
|
3399
3461
|
'''
|
|
3400
3462
|
result = self._values.get("encryption_info")
|
|
@@ -3402,7 +3464,8 @@ class CfnClusterProps:
|
|
|
3402
3464
|
|
|
3403
3465
|
@builtins.property
|
|
3404
3466
|
def enhanced_monitoring(self) -> typing.Optional[builtins.str]:
|
|
3405
|
-
'''
|
|
3467
|
+
'''Specifies the level of monitoring for the MSK cluster.
|
|
3468
|
+
|
|
3406
3469
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-enhancedmonitoring
|
|
3407
3470
|
'''
|
|
3408
3471
|
result = self._values.get("enhanced_monitoring")
|
|
@@ -3412,7 +3475,8 @@ class CfnClusterProps:
|
|
|
3412
3475
|
def logging_info(
|
|
3413
3476
|
self,
|
|
3414
3477
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.LoggingInfoProperty]]:
|
|
3415
|
-
'''
|
|
3478
|
+
'''Logging info details for the cluster.
|
|
3479
|
+
|
|
3416
3480
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-logginginfo
|
|
3417
3481
|
'''
|
|
3418
3482
|
result = self._values.get("logging_info")
|
|
@@ -3422,7 +3486,8 @@ class CfnClusterProps:
|
|
|
3422
3486
|
def open_monitoring(
|
|
3423
3487
|
self,
|
|
3424
3488
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.OpenMonitoringProperty]]:
|
|
3425
|
-
'''
|
|
3489
|
+
'''The settings for open monitoring.
|
|
3490
|
+
|
|
3426
3491
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-openmonitoring
|
|
3427
3492
|
'''
|
|
3428
3493
|
result = self._values.get("open_monitoring")
|
|
@@ -3430,7 +3495,8 @@ class CfnClusterProps:
|
|
|
3430
3495
|
|
|
3431
3496
|
@builtins.property
|
|
3432
3497
|
def storage_mode(self) -> typing.Optional[builtins.str]:
|
|
3433
|
-
'''
|
|
3498
|
+
'''This controls storage mode for supported storage tiers.
|
|
3499
|
+
|
|
3434
3500
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-storagemode
|
|
3435
3501
|
'''
|
|
3436
3502
|
result = self._values.get("storage_mode")
|
|
@@ -3438,7 +3504,7 @@ class CfnClusterProps:
|
|
|
3438
3504
|
|
|
3439
3505
|
@builtins.property
|
|
3440
3506
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
3441
|
-
'''
|
|
3507
|
+
'''An arbitrary set of tags (key-value pairs) for the cluster.
|
|
3442
3508
|
|
|
3443
3509
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-tags
|
|
3444
3510
|
'''
|
|
@@ -3463,7 +3529,16 @@ class CfnConfiguration(
|
|
|
3463
3529
|
metaclass=jsii.JSIIMeta,
|
|
3464
3530
|
jsii_type="aws-cdk-lib.aws_msk.CfnConfiguration",
|
|
3465
3531
|
):
|
|
3466
|
-
'''
|
|
3532
|
+
'''Creates a new MSK configuration.
|
|
3533
|
+
|
|
3534
|
+
To see an example of how to use this operation, first save the following text to a file and name the file ``config-file.txt`` .
|
|
3535
|
+
|
|
3536
|
+
``auto.create.topics.enable = true zookeeper.connection.timeout.ms = 1000 log.roll.ms = 604800000``
|
|
3537
|
+
|
|
3538
|
+
Now run the following Python 3.6 script in the folder where you saved ``config-file.txt`` . This script uses the properties specified in ``config-file.txt`` to create a configuration named ``SalesClusterConfiguration`` . This configuration can work with Apache Kafka versions 1.1.1 and 2.1.0::
|
|
3539
|
+
|
|
3540
|
+
import boto3 client = boto3.client('kafka') config_file = open('config-file.txt', 'r') server_properties = config_file.read() response = client.create_configuration( Name='SalesClusterConfiguration', Description='The configuration to use on all sales clusters.', KafkaVersions=['1.1.1', '2.1.0'], ServerProperties=server_properties
|
|
3541
|
+
) print(response)
|
|
3467
3542
|
|
|
3468
3543
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
|
|
3469
3544
|
:cloudformationResource: AWS::MSK::Configuration
|
|
@@ -3504,11 +3579,11 @@ class CfnConfiguration(
|
|
|
3504
3579
|
'''
|
|
3505
3580
|
:param scope: Scope in which this resource is defined.
|
|
3506
3581
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3507
|
-
:param name:
|
|
3508
|
-
:param server_properties:
|
|
3509
|
-
:param description:
|
|
3510
|
-
:param kafka_versions_list:
|
|
3511
|
-
:param latest_revision:
|
|
3582
|
+
:param name: The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3583
|
+
:param server_properties: Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.
|
|
3584
|
+
:param description: The description of the configuration.
|
|
3585
|
+
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3586
|
+
:param latest_revision: Latest revision of the MSK configuration.
|
|
3512
3587
|
'''
|
|
3513
3588
|
if __debug__:
|
|
3514
3589
|
type_hints = typing.get_type_hints(_typecheckingstub__4496d16ab1313e2d6e75f55fc7cdb170962f756c6dc1149245dde1aba3113278)
|
|
@@ -3557,7 +3632,8 @@ class CfnConfiguration(
|
|
|
3557
3632
|
@builtins.property
|
|
3558
3633
|
@jsii.member(jsii_name="attrArn")
|
|
3559
3634
|
def attr_arn(self) -> builtins.str:
|
|
3560
|
-
'''
|
|
3635
|
+
'''The Amazon Resource Name (ARN) of the configuration.
|
|
3636
|
+
|
|
3561
3637
|
:cloudformationAttribute: Arn
|
|
3562
3638
|
'''
|
|
3563
3639
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
@@ -3565,7 +3641,8 @@ class CfnConfiguration(
|
|
|
3565
3641
|
@builtins.property
|
|
3566
3642
|
@jsii.member(jsii_name="attrLatestRevisionCreationTime")
|
|
3567
3643
|
def attr_latest_revision_creation_time(self) -> builtins.str:
|
|
3568
|
-
'''
|
|
3644
|
+
'''The time when the configuration revision was created.
|
|
3645
|
+
|
|
3569
3646
|
:cloudformationAttribute: LatestRevision.CreationTime
|
|
3570
3647
|
'''
|
|
3571
3648
|
return typing.cast(builtins.str, jsii.get(self, "attrLatestRevisionCreationTime"))
|
|
@@ -3573,7 +3650,8 @@ class CfnConfiguration(
|
|
|
3573
3650
|
@builtins.property
|
|
3574
3651
|
@jsii.member(jsii_name="attrLatestRevisionDescription")
|
|
3575
3652
|
def attr_latest_revision_description(self) -> builtins.str:
|
|
3576
|
-
'''
|
|
3653
|
+
'''The description of the configuration revision.
|
|
3654
|
+
|
|
3577
3655
|
:cloudformationAttribute: LatestRevision.Description
|
|
3578
3656
|
'''
|
|
3579
3657
|
return typing.cast(builtins.str, jsii.get(self, "attrLatestRevisionDescription"))
|
|
@@ -3581,7 +3659,8 @@ class CfnConfiguration(
|
|
|
3581
3659
|
@builtins.property
|
|
3582
3660
|
@jsii.member(jsii_name="attrLatestRevisionRevision")
|
|
3583
3661
|
def attr_latest_revision_revision(self) -> jsii.Number:
|
|
3584
|
-
'''
|
|
3662
|
+
'''The revision number.
|
|
3663
|
+
|
|
3585
3664
|
:cloudformationAttribute: LatestRevision.Revision
|
|
3586
3665
|
'''
|
|
3587
3666
|
return typing.cast(jsii.Number, jsii.get(self, "attrLatestRevisionRevision"))
|
|
@@ -3594,6 +3673,7 @@ class CfnConfiguration(
|
|
|
3594
3673
|
@builtins.property
|
|
3595
3674
|
@jsii.member(jsii_name="name")
|
|
3596
3675
|
def name(self) -> builtins.str:
|
|
3676
|
+
'''The name of the configuration.'''
|
|
3597
3677
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
3598
3678
|
|
|
3599
3679
|
@name.setter
|
|
@@ -3606,6 +3686,7 @@ class CfnConfiguration(
|
|
|
3606
3686
|
@builtins.property
|
|
3607
3687
|
@jsii.member(jsii_name="serverProperties")
|
|
3608
3688
|
def server_properties(self) -> builtins.str:
|
|
3689
|
+
'''Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.'''
|
|
3609
3690
|
return typing.cast(builtins.str, jsii.get(self, "serverProperties"))
|
|
3610
3691
|
|
|
3611
3692
|
@server_properties.setter
|
|
@@ -3618,6 +3699,7 @@ class CfnConfiguration(
|
|
|
3618
3699
|
@builtins.property
|
|
3619
3700
|
@jsii.member(jsii_name="description")
|
|
3620
3701
|
def description(self) -> typing.Optional[builtins.str]:
|
|
3702
|
+
'''The description of the configuration.'''
|
|
3621
3703
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
3622
3704
|
|
|
3623
3705
|
@description.setter
|
|
@@ -3630,6 +3712,7 @@ class CfnConfiguration(
|
|
|
3630
3712
|
@builtins.property
|
|
3631
3713
|
@jsii.member(jsii_name="kafkaVersionsList")
|
|
3632
3714
|
def kafka_versions_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3715
|
+
'''The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.'''
|
|
3633
3716
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "kafkaVersionsList"))
|
|
3634
3717
|
|
|
3635
3718
|
@kafka_versions_list.setter
|
|
@@ -3647,6 +3730,7 @@ class CfnConfiguration(
|
|
|
3647
3730
|
def latest_revision(
|
|
3648
3731
|
self,
|
|
3649
3732
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConfiguration.LatestRevisionProperty"]]:
|
|
3733
|
+
'''Latest revision of the MSK configuration.'''
|
|
3650
3734
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConfiguration.LatestRevisionProperty"]], jsii.get(self, "latestRevision"))
|
|
3651
3735
|
|
|
3652
3736
|
@latest_revision.setter
|
|
@@ -3676,10 +3760,11 @@ class CfnConfiguration(
|
|
|
3676
3760
|
description: typing.Optional[builtins.str] = None,
|
|
3677
3761
|
revision: typing.Optional[jsii.Number] = None,
|
|
3678
3762
|
) -> None:
|
|
3679
|
-
'''
|
|
3680
|
-
|
|
3681
|
-
:param
|
|
3682
|
-
:param
|
|
3763
|
+
'''Describes a configuration revision.
|
|
3764
|
+
|
|
3765
|
+
:param creation_time: The time when the configuration revision was created.
|
|
3766
|
+
:param description: The description of the configuration revision.
|
|
3767
|
+
:param revision: The revision number.
|
|
3683
3768
|
|
|
3684
3769
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-configuration-latestrevision.html
|
|
3685
3770
|
:exampleMetadata: fixture=_generated
|
|
@@ -3711,7 +3796,8 @@ class CfnConfiguration(
|
|
|
3711
3796
|
|
|
3712
3797
|
@builtins.property
|
|
3713
3798
|
def creation_time(self) -> typing.Optional[builtins.str]:
|
|
3714
|
-
'''
|
|
3799
|
+
'''The time when the configuration revision was created.
|
|
3800
|
+
|
|
3715
3801
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-configuration-latestrevision.html#cfn-msk-configuration-latestrevision-creationtime
|
|
3716
3802
|
'''
|
|
3717
3803
|
result = self._values.get("creation_time")
|
|
@@ -3719,7 +3805,8 @@ class CfnConfiguration(
|
|
|
3719
3805
|
|
|
3720
3806
|
@builtins.property
|
|
3721
3807
|
def description(self) -> typing.Optional[builtins.str]:
|
|
3722
|
-
'''
|
|
3808
|
+
'''The description of the configuration revision.
|
|
3809
|
+
|
|
3723
3810
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-configuration-latestrevision.html#cfn-msk-configuration-latestrevision-description
|
|
3724
3811
|
'''
|
|
3725
3812
|
result = self._values.get("description")
|
|
@@ -3727,7 +3814,8 @@ class CfnConfiguration(
|
|
|
3727
3814
|
|
|
3728
3815
|
@builtins.property
|
|
3729
3816
|
def revision(self) -> typing.Optional[jsii.Number]:
|
|
3730
|
-
'''
|
|
3817
|
+
'''The revision number.
|
|
3818
|
+
|
|
3731
3819
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-configuration-latestrevision.html#cfn-msk-configuration-latestrevision-revision
|
|
3732
3820
|
'''
|
|
3733
3821
|
result = self._values.get("revision")
|
|
@@ -3768,11 +3856,11 @@ class CfnConfigurationProps:
|
|
|
3768
3856
|
) -> None:
|
|
3769
3857
|
'''Properties for defining a ``CfnConfiguration``.
|
|
3770
3858
|
|
|
3771
|
-
:param name:
|
|
3772
|
-
:param server_properties:
|
|
3773
|
-
:param description:
|
|
3774
|
-
:param kafka_versions_list:
|
|
3775
|
-
:param latest_revision:
|
|
3859
|
+
:param name: The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3860
|
+
:param server_properties: Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.
|
|
3861
|
+
:param description: The description of the configuration.
|
|
3862
|
+
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3863
|
+
:param latest_revision: Latest revision of the MSK configuration.
|
|
3776
3864
|
|
|
3777
3865
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
|
|
3778
3866
|
:exampleMetadata: fixture=_generated
|
|
@@ -3817,7 +3905,10 @@ class CfnConfigurationProps:
|
|
|
3817
3905
|
|
|
3818
3906
|
@builtins.property
|
|
3819
3907
|
def name(self) -> builtins.str:
|
|
3820
|
-
'''
|
|
3908
|
+
'''The name of the configuration.
|
|
3909
|
+
|
|
3910
|
+
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3911
|
+
|
|
3821
3912
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-name
|
|
3822
3913
|
'''
|
|
3823
3914
|
result = self._values.get("name")
|
|
@@ -3826,7 +3917,8 @@ class CfnConfigurationProps:
|
|
|
3826
3917
|
|
|
3827
3918
|
@builtins.property
|
|
3828
3919
|
def server_properties(self) -> builtins.str:
|
|
3829
|
-
'''
|
|
3920
|
+
'''Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.
|
|
3921
|
+
|
|
3830
3922
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-serverproperties
|
|
3831
3923
|
'''
|
|
3832
3924
|
result = self._values.get("server_properties")
|
|
@@ -3835,7 +3927,8 @@ class CfnConfigurationProps:
|
|
|
3835
3927
|
|
|
3836
3928
|
@builtins.property
|
|
3837
3929
|
def description(self) -> typing.Optional[builtins.str]:
|
|
3838
|
-
'''
|
|
3930
|
+
'''The description of the configuration.
|
|
3931
|
+
|
|
3839
3932
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-description
|
|
3840
3933
|
'''
|
|
3841
3934
|
result = self._values.get("description")
|
|
@@ -3843,7 +3936,8 @@ class CfnConfigurationProps:
|
|
|
3843
3936
|
|
|
3844
3937
|
@builtins.property
|
|
3845
3938
|
def kafka_versions_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3846
|
-
'''
|
|
3939
|
+
'''The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3940
|
+
|
|
3847
3941
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-kafkaversionslist
|
|
3848
3942
|
'''
|
|
3849
3943
|
result = self._values.get("kafka_versions_list")
|
|
@@ -3853,7 +3947,8 @@ class CfnConfigurationProps:
|
|
|
3853
3947
|
def latest_revision(
|
|
3854
3948
|
self,
|
|
3855
3949
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConfiguration.LatestRevisionProperty]]:
|
|
3856
|
-
'''
|
|
3950
|
+
'''Latest revision of the MSK configuration.
|
|
3951
|
+
|
|
3857
3952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-latestrevision
|
|
3858
3953
|
'''
|
|
3859
3954
|
result = self._values.get("latest_revision")
|
|
@@ -5091,7 +5186,7 @@ class CfnServerlessCluster(
|
|
|
5091
5186
|
metaclass=jsii.JSIIMeta,
|
|
5092
5187
|
jsii_type="aws-cdk-lib.aws_msk.CfnServerlessCluster",
|
|
5093
5188
|
):
|
|
5094
|
-
'''
|
|
5189
|
+
'''Specifies the properties required for creating a serverless cluster.
|
|
5095
5190
|
|
|
5096
5191
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html
|
|
5097
5192
|
:cloudformationResource: AWS::MSK::ServerlessCluster
|
|
@@ -5139,10 +5234,10 @@ class CfnServerlessCluster(
|
|
|
5139
5234
|
'''
|
|
5140
5235
|
:param scope: Scope in which this resource is defined.
|
|
5141
5236
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5142
|
-
:param client_authentication:
|
|
5143
|
-
:param cluster_name:
|
|
5144
|
-
:param vpc_configs:
|
|
5145
|
-
:param tags:
|
|
5237
|
+
:param client_authentication: Includes all client authentication related information.
|
|
5238
|
+
:param cluster_name: The name of the cluster.
|
|
5239
|
+
:param vpc_configs: VPC configuration information for the serverless cluster.
|
|
5240
|
+
:param tags: An arbitrary set of tags (key-value pairs) for the cluster.
|
|
5146
5241
|
'''
|
|
5147
5242
|
if __debug__:
|
|
5148
5243
|
type_hints = typing.get_type_hints(_typecheckingstub__aef99cf7cce653b94ea5543af8d6966cab3ba1c8ff81b50f8736048fff8227ff)
|
|
@@ -5190,7 +5285,8 @@ class CfnServerlessCluster(
|
|
|
5190
5285
|
@builtins.property
|
|
5191
5286
|
@jsii.member(jsii_name="attrArn")
|
|
5192
5287
|
def attr_arn(self) -> builtins.str:
|
|
5193
|
-
'''
|
|
5288
|
+
'''The Amazon Resource Name (ARN) of the MSK cluster.
|
|
5289
|
+
|
|
5194
5290
|
:cloudformationAttribute: Arn
|
|
5195
5291
|
'''
|
|
5196
5292
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
@@ -5211,6 +5307,7 @@ class CfnServerlessCluster(
|
|
|
5211
5307
|
def client_authentication(
|
|
5212
5308
|
self,
|
|
5213
5309
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.ClientAuthenticationProperty"]:
|
|
5310
|
+
'''Includes all client authentication related information.'''
|
|
5214
5311
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.ClientAuthenticationProperty"], jsii.get(self, "clientAuthentication"))
|
|
5215
5312
|
|
|
5216
5313
|
@client_authentication.setter
|
|
@@ -5226,6 +5323,7 @@ class CfnServerlessCluster(
|
|
|
5226
5323
|
@builtins.property
|
|
5227
5324
|
@jsii.member(jsii_name="clusterName")
|
|
5228
5325
|
def cluster_name(self) -> builtins.str:
|
|
5326
|
+
'''The name of the cluster.'''
|
|
5229
5327
|
return typing.cast(builtins.str, jsii.get(self, "clusterName"))
|
|
5230
5328
|
|
|
5231
5329
|
@cluster_name.setter
|
|
@@ -5240,6 +5338,7 @@ class CfnServerlessCluster(
|
|
|
5240
5338
|
def vpc_configs(
|
|
5241
5339
|
self,
|
|
5242
5340
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.VpcConfigProperty"]]]:
|
|
5341
|
+
'''VPC configuration information for the serverless cluster.'''
|
|
5243
5342
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.VpcConfigProperty"]]], jsii.get(self, "vpcConfigs"))
|
|
5244
5343
|
|
|
5245
5344
|
@vpc_configs.setter
|
|
@@ -5255,7 +5354,7 @@ class CfnServerlessCluster(
|
|
|
5255
5354
|
@builtins.property
|
|
5256
5355
|
@jsii.member(jsii_name="tagsRaw")
|
|
5257
5356
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5258
|
-
'''
|
|
5357
|
+
'''An arbitrary set of tags (key-value pairs) for the cluster.'''
|
|
5259
5358
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
5260
5359
|
|
|
5261
5360
|
@tags_raw.setter
|
|
@@ -5532,10 +5631,10 @@ class CfnServerlessClusterProps:
|
|
|
5532
5631
|
) -> None:
|
|
5533
5632
|
'''Properties for defining a ``CfnServerlessCluster``.
|
|
5534
5633
|
|
|
5535
|
-
:param client_authentication:
|
|
5536
|
-
:param cluster_name:
|
|
5537
|
-
:param vpc_configs:
|
|
5538
|
-
:param tags:
|
|
5634
|
+
:param client_authentication: Includes all client authentication related information.
|
|
5635
|
+
:param cluster_name: The name of the cluster.
|
|
5636
|
+
:param vpc_configs: VPC configuration information for the serverless cluster.
|
|
5637
|
+
:param tags: An arbitrary set of tags (key-value pairs) for the cluster.
|
|
5539
5638
|
|
|
5540
5639
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html
|
|
5541
5640
|
:exampleMetadata: fixture=_generated
|
|
@@ -5586,7 +5685,8 @@ class CfnServerlessClusterProps:
|
|
|
5586
5685
|
def client_authentication(
|
|
5587
5686
|
self,
|
|
5588
5687
|
) -> typing.Union[_IResolvable_da3f097b, CfnServerlessCluster.ClientAuthenticationProperty]:
|
|
5589
|
-
'''
|
|
5688
|
+
'''Includes all client authentication related information.
|
|
5689
|
+
|
|
5590
5690
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-clientauthentication
|
|
5591
5691
|
'''
|
|
5592
5692
|
result = self._values.get("client_authentication")
|
|
@@ -5595,7 +5695,8 @@ class CfnServerlessClusterProps:
|
|
|
5595
5695
|
|
|
5596
5696
|
@builtins.property
|
|
5597
5697
|
def cluster_name(self) -> builtins.str:
|
|
5598
|
-
'''
|
|
5698
|
+
'''The name of the cluster.
|
|
5699
|
+
|
|
5599
5700
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-clustername
|
|
5600
5701
|
'''
|
|
5601
5702
|
result = self._values.get("cluster_name")
|
|
@@ -5606,7 +5707,8 @@ class CfnServerlessClusterProps:
|
|
|
5606
5707
|
def vpc_configs(
|
|
5607
5708
|
self,
|
|
5608
5709
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnServerlessCluster.VpcConfigProperty]]]:
|
|
5609
|
-
'''
|
|
5710
|
+
'''VPC configuration information for the serverless cluster.
|
|
5711
|
+
|
|
5610
5712
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-vpcconfigs
|
|
5611
5713
|
'''
|
|
5612
5714
|
result = self._values.get("vpc_configs")
|
|
@@ -5615,7 +5717,7 @@ class CfnServerlessClusterProps:
|
|
|
5615
5717
|
|
|
5616
5718
|
@builtins.property
|
|
5617
5719
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5618
|
-
'''
|
|
5720
|
+
'''An arbitrary set of tags (key-value pairs) for the cluster.
|
|
5619
5721
|
|
|
5620
5722
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-tags
|
|
5621
5723
|
'''
|
|
@@ -5640,7 +5742,7 @@ class CfnVpcConnection(
|
|
|
5640
5742
|
metaclass=jsii.JSIIMeta,
|
|
5641
5743
|
jsii_type="aws-cdk-lib.aws_msk.CfnVpcConnection",
|
|
5642
5744
|
):
|
|
5643
|
-
'''
|
|
5745
|
+
'''Create remote VPC connection.
|
|
5644
5746
|
|
|
5645
5747
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html
|
|
5646
5748
|
:cloudformationResource: AWS::MSK::VpcConnection
|
|
@@ -5682,11 +5784,11 @@ class CfnVpcConnection(
|
|
|
5682
5784
|
:param scope: Scope in which this resource is defined.
|
|
5683
5785
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5684
5786
|
:param authentication: The type of private link authentication.
|
|
5685
|
-
:param client_subnets:
|
|
5686
|
-
:param security_groups:
|
|
5687
|
-
:param target_cluster_arn: The Amazon Resource Name (ARN) of the
|
|
5688
|
-
:param vpc_id:
|
|
5689
|
-
:param tags:
|
|
5787
|
+
:param client_subnets: The list of subnets in the client VPC to connect to.
|
|
5788
|
+
:param security_groups: The security groups to attach to the ENIs for the broker nodes.
|
|
5789
|
+
:param target_cluster_arn: The Amazon Resource Name (ARN) of the cluster.
|
|
5790
|
+
:param vpc_id: The VPC ID of the remote client.
|
|
5791
|
+
:param tags: An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.
|
|
5690
5792
|
'''
|
|
5691
5793
|
if __debug__:
|
|
5692
5794
|
type_hints = typing.get_type_hints(_typecheckingstub__910be42f1d726644d84801975cd038e26103e9dbcfb02007fe4ebdbeb62c3af8)
|
|
@@ -5769,6 +5871,7 @@ class CfnVpcConnection(
|
|
|
5769
5871
|
@builtins.property
|
|
5770
5872
|
@jsii.member(jsii_name="clientSubnets")
|
|
5771
5873
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
5874
|
+
'''The list of subnets in the client VPC to connect to.'''
|
|
5772
5875
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "clientSubnets"))
|
|
5773
5876
|
|
|
5774
5877
|
@client_subnets.setter
|
|
@@ -5781,6 +5884,7 @@ class CfnVpcConnection(
|
|
|
5781
5884
|
@builtins.property
|
|
5782
5885
|
@jsii.member(jsii_name="securityGroups")
|
|
5783
5886
|
def security_groups(self) -> typing.List[builtins.str]:
|
|
5887
|
+
'''The security groups to attach to the ENIs for the broker nodes.'''
|
|
5784
5888
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "securityGroups"))
|
|
5785
5889
|
|
|
5786
5890
|
@security_groups.setter
|
|
@@ -5793,7 +5897,7 @@ class CfnVpcConnection(
|
|
|
5793
5897
|
@builtins.property
|
|
5794
5898
|
@jsii.member(jsii_name="targetClusterArn")
|
|
5795
5899
|
def target_cluster_arn(self) -> builtins.str:
|
|
5796
|
-
'''The Amazon Resource Name (ARN) of the
|
|
5900
|
+
'''The Amazon Resource Name (ARN) of the cluster.'''
|
|
5797
5901
|
return typing.cast(builtins.str, jsii.get(self, "targetClusterArn"))
|
|
5798
5902
|
|
|
5799
5903
|
@target_cluster_arn.setter
|
|
@@ -5806,6 +5910,7 @@ class CfnVpcConnection(
|
|
|
5806
5910
|
@builtins.property
|
|
5807
5911
|
@jsii.member(jsii_name="vpcId")
|
|
5808
5912
|
def vpc_id(self) -> builtins.str:
|
|
5913
|
+
'''The VPC ID of the remote client.'''
|
|
5809
5914
|
return typing.cast(builtins.str, jsii.get(self, "vpcId"))
|
|
5810
5915
|
|
|
5811
5916
|
@vpc_id.setter
|
|
@@ -5818,7 +5923,7 @@ class CfnVpcConnection(
|
|
|
5818
5923
|
@builtins.property
|
|
5819
5924
|
@jsii.member(jsii_name="tagsRaw")
|
|
5820
5925
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5821
|
-
'''
|
|
5926
|
+
'''An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.'''
|
|
5822
5927
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
5823
5928
|
|
|
5824
5929
|
@tags_raw.setter
|
|
@@ -5858,11 +5963,11 @@ class CfnVpcConnectionProps:
|
|
|
5858
5963
|
'''Properties for defining a ``CfnVpcConnection``.
|
|
5859
5964
|
|
|
5860
5965
|
:param authentication: The type of private link authentication.
|
|
5861
|
-
:param client_subnets:
|
|
5862
|
-
:param security_groups:
|
|
5863
|
-
:param target_cluster_arn: The Amazon Resource Name (ARN) of the
|
|
5864
|
-
:param vpc_id:
|
|
5865
|
-
:param tags:
|
|
5966
|
+
:param client_subnets: The list of subnets in the client VPC to connect to.
|
|
5967
|
+
:param security_groups: The security groups to attach to the ENIs for the broker nodes.
|
|
5968
|
+
:param target_cluster_arn: The Amazon Resource Name (ARN) of the cluster.
|
|
5969
|
+
:param vpc_id: The VPC ID of the remote client.
|
|
5970
|
+
:param tags: An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.
|
|
5866
5971
|
|
|
5867
5972
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html
|
|
5868
5973
|
:exampleMetadata: fixture=_generated
|
|
@@ -5916,7 +6021,8 @@ class CfnVpcConnectionProps:
|
|
|
5916
6021
|
|
|
5917
6022
|
@builtins.property
|
|
5918
6023
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
5919
|
-
'''
|
|
6024
|
+
'''The list of subnets in the client VPC to connect to.
|
|
6025
|
+
|
|
5920
6026
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-clientsubnets
|
|
5921
6027
|
'''
|
|
5922
6028
|
result = self._values.get("client_subnets")
|
|
@@ -5925,7 +6031,8 @@ class CfnVpcConnectionProps:
|
|
|
5925
6031
|
|
|
5926
6032
|
@builtins.property
|
|
5927
6033
|
def security_groups(self) -> typing.List[builtins.str]:
|
|
5928
|
-
'''
|
|
6034
|
+
'''The security groups to attach to the ENIs for the broker nodes.
|
|
6035
|
+
|
|
5929
6036
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-securitygroups
|
|
5930
6037
|
'''
|
|
5931
6038
|
result = self._values.get("security_groups")
|
|
@@ -5934,7 +6041,7 @@ class CfnVpcConnectionProps:
|
|
|
5934
6041
|
|
|
5935
6042
|
@builtins.property
|
|
5936
6043
|
def target_cluster_arn(self) -> builtins.str:
|
|
5937
|
-
'''The Amazon Resource Name (ARN) of the
|
|
6044
|
+
'''The Amazon Resource Name (ARN) of the cluster.
|
|
5938
6045
|
|
|
5939
6046
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-targetclusterarn
|
|
5940
6047
|
'''
|
|
@@ -5944,7 +6051,8 @@ class CfnVpcConnectionProps:
|
|
|
5944
6051
|
|
|
5945
6052
|
@builtins.property
|
|
5946
6053
|
def vpc_id(self) -> builtins.str:
|
|
5947
|
-
'''
|
|
6054
|
+
'''The VPC ID of the remote client.
|
|
6055
|
+
|
|
5948
6056
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-vpcid
|
|
5949
6057
|
'''
|
|
5950
6058
|
result = self._values.get("vpc_id")
|
|
@@ -5953,7 +6061,7 @@ class CfnVpcConnectionProps:
|
|
|
5953
6061
|
|
|
5954
6062
|
@builtins.property
|
|
5955
6063
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5956
|
-
'''
|
|
6064
|
+
'''An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.
|
|
5957
6065
|
|
|
5958
6066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-tags
|
|
5959
6067
|
'''
|