aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.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 +36 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +22 -8
- aws_cdk/aws_apigatewayv2/__init__.py +30 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationinsights/__init__.py +544 -4
- aws_cdk/aws_applicationsignals/__init__.py +170 -142
- aws_cdk/aws_athena/__init__.py +15 -15
- aws_cdk/aws_auditmanager/__init__.py +5 -5
- aws_cdk/aws_bedrock/__init__.py +7 -7
- aws_cdk/aws_codebuild/__init__.py +39 -18
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +390 -203
- aws_cdk/aws_connect/__init__.py +1679 -152
- aws_cdk/aws_datazone/__init__.py +665 -40
- aws_cdk/aws_docdb/__init__.py +6 -1
- aws_cdk/aws_dynamodb/__init__.py +5 -5
- aws_cdk/aws_ec2/__init__.py +121 -36
- aws_cdk/aws_ecr/__init__.py +14 -6
- aws_cdk/aws_ecs/__init__.py +20 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +19 -17
- aws_cdk/aws_events_targets/__init__.py +165 -85
- aws_cdk/aws_fms/__init__.py +59 -0
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +40 -52
- aws_cdk/aws_globalaccelerator/__init__.py +22 -29
- aws_cdk/aws_iam/__init__.py +22 -20
- aws_cdk/aws_iotfleetwise/__init__.py +419 -0
- aws_cdk/aws_iotsitewise/__init__.py +90 -1
- aws_cdk/aws_iotwireless/__init__.py +205 -0
- aws_cdk/aws_lambda/__init__.py +129 -16
- aws_cdk/aws_lex/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +111 -0
- aws_cdk/aws_medialive/__init__.py +7988 -3262
- aws_cdk/aws_msk/__init__.py +287 -479
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
- aws_cdk/aws_pipes/__init__.py +49 -0
- aws_cdk/aws_qbusiness/__init__.py +11 -14
- aws_cdk/aws_quicksight/__init__.py +638 -99
- aws_cdk/aws_rds/__init__.py +38 -27
- aws_cdk/aws_s3/__init__.py +215 -33
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +872 -58
- aws_cdk/aws_secretsmanager/__init__.py +22 -8
- aws_cdk/aws_securityhub/__init__.py +261 -19
- aws_cdk/aws_securitylake/__init__.py +327 -7
- aws_cdk/aws_servicediscovery/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +0 -8
- aws_cdk/aws_ssm/__init__.py +20 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_msk/__init__.py
CHANGED
|
@@ -266,12 +266,7 @@ class CfnCluster(
|
|
|
266
266
|
metaclass=jsii.JSIIMeta,
|
|
267
267
|
jsii_type="aws-cdk-lib.aws_msk.CfnCluster",
|
|
268
268
|
):
|
|
269
|
-
'''
|
|
270
|
-
|
|
271
|
-
The following Python 3.6 examples shows how you can create a cluster that's distributed over two Availability Zones. Before you run this Python script, replace the example subnet and security-group IDs with the IDs of your subnets and security group. When you create an MSK cluster, its brokers get evenly distributed over a number of Availability Zones that's equal to the number of subnets that you specify in the ``BrokerNodeGroupInfo`` parameter. In this example, you can add a third subnet to get a cluster that's distributed over three Availability Zones::
|
|
272
|
-
|
|
273
|
-
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
|
|
274
|
-
) print(response)
|
|
269
|
+
'''http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html.
|
|
275
270
|
|
|
276
271
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
277
272
|
:cloudformationResource: AWS::MSK::Cluster
|
|
@@ -420,19 +415,19 @@ class CfnCluster(
|
|
|
420
415
|
'''
|
|
421
416
|
:param scope: Scope in which this resource is defined.
|
|
422
417
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
423
|
-
:param broker_node_group_info:
|
|
424
|
-
:param cluster_name:
|
|
425
|
-
:param kafka_version:
|
|
426
|
-
:param number_of_broker_nodes:
|
|
427
|
-
:param client_authentication:
|
|
428
|
-
:param configuration_info:
|
|
429
|
-
:param current_version: The version of the cluster
|
|
430
|
-
:param encryption_info:
|
|
431
|
-
:param enhanced_monitoring:
|
|
432
|
-
:param logging_info:
|
|
433
|
-
:param open_monitoring:
|
|
434
|
-
:param storage_mode:
|
|
435
|
-
:param tags:
|
|
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 current version of the MSK cluster.
|
|
425
|
+
:param encryption_info:
|
|
426
|
+
:param enhanced_monitoring:
|
|
427
|
+
:param logging_info:
|
|
428
|
+
:param open_monitoring:
|
|
429
|
+
:param storage_mode:
|
|
430
|
+
:param tags: A key-value pair to associate with a resource.
|
|
436
431
|
'''
|
|
437
432
|
if __debug__:
|
|
438
433
|
type_hints = typing.get_type_hints(_typecheckingstub__d267b4b2dcfdda539084655e7a1234ffaf8e77376f37d4914abbcef6c64e9f1c)
|
|
@@ -510,7 +505,6 @@ class CfnCluster(
|
|
|
510
505
|
def broker_node_group_info(
|
|
511
506
|
self,
|
|
512
507
|
) -> typing.Union[_IResolvable_da3f097b, "CfnCluster.BrokerNodeGroupInfoProperty"]:
|
|
513
|
-
'''Information about the broker nodes in the cluster.'''
|
|
514
508
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCluster.BrokerNodeGroupInfoProperty"], jsii.get(self, "brokerNodeGroupInfo"))
|
|
515
509
|
|
|
516
510
|
@broker_node_group_info.setter
|
|
@@ -526,7 +520,6 @@ class CfnCluster(
|
|
|
526
520
|
@builtins.property
|
|
527
521
|
@jsii.member(jsii_name="clusterName")
|
|
528
522
|
def cluster_name(self) -> builtins.str:
|
|
529
|
-
'''The name of the cluster.'''
|
|
530
523
|
return typing.cast(builtins.str, jsii.get(self, "clusterName"))
|
|
531
524
|
|
|
532
525
|
@cluster_name.setter
|
|
@@ -539,7 +532,6 @@ class CfnCluster(
|
|
|
539
532
|
@builtins.property
|
|
540
533
|
@jsii.member(jsii_name="kafkaVersion")
|
|
541
534
|
def kafka_version(self) -> builtins.str:
|
|
542
|
-
'''The version of Apache Kafka.'''
|
|
543
535
|
return typing.cast(builtins.str, jsii.get(self, "kafkaVersion"))
|
|
544
536
|
|
|
545
537
|
@kafka_version.setter
|
|
@@ -552,7 +544,6 @@ class CfnCluster(
|
|
|
552
544
|
@builtins.property
|
|
553
545
|
@jsii.member(jsii_name="numberOfBrokerNodes")
|
|
554
546
|
def number_of_broker_nodes(self) -> jsii.Number:
|
|
555
|
-
'''The number of broker nodes in the cluster.'''
|
|
556
547
|
return typing.cast(jsii.Number, jsii.get(self, "numberOfBrokerNodes"))
|
|
557
548
|
|
|
558
549
|
@number_of_broker_nodes.setter
|
|
@@ -567,7 +558,6 @@ class CfnCluster(
|
|
|
567
558
|
def client_authentication(
|
|
568
559
|
self,
|
|
569
560
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClientAuthenticationProperty"]]:
|
|
570
|
-
'''Includes all client authentication related information.'''
|
|
571
561
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClientAuthenticationProperty"]], jsii.get(self, "clientAuthentication"))
|
|
572
562
|
|
|
573
563
|
@client_authentication.setter
|
|
@@ -585,7 +575,6 @@ class CfnCluster(
|
|
|
585
575
|
def configuration_info(
|
|
586
576
|
self,
|
|
587
577
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConfigurationInfoProperty"]]:
|
|
588
|
-
'''Represents the configuration that you want MSK to use for the cluster.'''
|
|
589
578
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConfigurationInfoProperty"]], jsii.get(self, "configurationInfo"))
|
|
590
579
|
|
|
591
580
|
@configuration_info.setter
|
|
@@ -601,7 +590,7 @@ class CfnCluster(
|
|
|
601
590
|
@builtins.property
|
|
602
591
|
@jsii.member(jsii_name="currentVersion")
|
|
603
592
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
604
|
-
'''The version of the cluster
|
|
593
|
+
'''The current version of the MSK cluster.'''
|
|
605
594
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "currentVersion"))
|
|
606
595
|
|
|
607
596
|
@current_version.setter
|
|
@@ -616,7 +605,6 @@ class CfnCluster(
|
|
|
616
605
|
def encryption_info(
|
|
617
606
|
self,
|
|
618
607
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInfoProperty"]]:
|
|
619
|
-
'''Includes all encryption-related information.'''
|
|
620
608
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInfoProperty"]], jsii.get(self, "encryptionInfo"))
|
|
621
609
|
|
|
622
610
|
@encryption_info.setter
|
|
@@ -632,7 +620,6 @@ class CfnCluster(
|
|
|
632
620
|
@builtins.property
|
|
633
621
|
@jsii.member(jsii_name="enhancedMonitoring")
|
|
634
622
|
def enhanced_monitoring(self) -> typing.Optional[builtins.str]:
|
|
635
|
-
'''Specifies the level of monitoring for the MSK cluster.'''
|
|
636
623
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "enhancedMonitoring"))
|
|
637
624
|
|
|
638
625
|
@enhanced_monitoring.setter
|
|
@@ -647,7 +634,6 @@ class CfnCluster(
|
|
|
647
634
|
def logging_info(
|
|
648
635
|
self,
|
|
649
636
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.LoggingInfoProperty"]]:
|
|
650
|
-
'''Logging Info details.'''
|
|
651
637
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.LoggingInfoProperty"]], jsii.get(self, "loggingInfo"))
|
|
652
638
|
|
|
653
639
|
@logging_info.setter
|
|
@@ -665,7 +651,6 @@ class CfnCluster(
|
|
|
665
651
|
def open_monitoring(
|
|
666
652
|
self,
|
|
667
653
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OpenMonitoringProperty"]]:
|
|
668
|
-
'''The settings for open monitoring.'''
|
|
669
654
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OpenMonitoringProperty"]], jsii.get(self, "openMonitoring"))
|
|
670
655
|
|
|
671
656
|
@open_monitoring.setter
|
|
@@ -681,7 +666,6 @@ class CfnCluster(
|
|
|
681
666
|
@builtins.property
|
|
682
667
|
@jsii.member(jsii_name="storageMode")
|
|
683
668
|
def storage_mode(self) -> typing.Optional[builtins.str]:
|
|
684
|
-
'''This controls storage mode for supported storage tiers.'''
|
|
685
669
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "storageMode"))
|
|
686
670
|
|
|
687
671
|
@storage_mode.setter
|
|
@@ -694,7 +678,7 @@ class CfnCluster(
|
|
|
694
678
|
@builtins.property
|
|
695
679
|
@jsii.member(jsii_name="tagsRaw")
|
|
696
680
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
697
|
-
'''
|
|
681
|
+
'''A key-value pair to associate with a resource.'''
|
|
698
682
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
699
683
|
|
|
700
684
|
@tags_raw.setter
|
|
@@ -724,11 +708,10 @@ class CfnCluster(
|
|
|
724
708
|
firehose: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.FirehoseProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
725
709
|
s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.S3Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
726
710
|
) -> None:
|
|
727
|
-
'''
|
|
728
|
-
|
|
729
|
-
:param
|
|
730
|
-
:param
|
|
731
|
-
:param s3: Details of the Amazon S3 destination for broker logs.
|
|
711
|
+
'''
|
|
712
|
+
:param cloud_watch_logs:
|
|
713
|
+
:param firehose:
|
|
714
|
+
:param s3:
|
|
732
715
|
|
|
733
716
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html
|
|
734
717
|
:exampleMetadata: fixture=_generated
|
|
@@ -778,8 +761,7 @@ class CfnCluster(
|
|
|
778
761
|
def cloud_watch_logs(
|
|
779
762
|
self,
|
|
780
763
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.CloudWatchLogsProperty"]]:
|
|
781
|
-
'''
|
|
782
|
-
|
|
764
|
+
'''
|
|
783
765
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-cloudwatchlogs
|
|
784
766
|
'''
|
|
785
767
|
result = self._values.get("cloud_watch_logs")
|
|
@@ -789,8 +771,7 @@ class CfnCluster(
|
|
|
789
771
|
def firehose(
|
|
790
772
|
self,
|
|
791
773
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.FirehoseProperty"]]:
|
|
792
|
-
'''
|
|
793
|
-
|
|
774
|
+
'''
|
|
794
775
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-firehose
|
|
795
776
|
'''
|
|
796
777
|
result = self._values.get("firehose")
|
|
@@ -800,8 +781,7 @@ class CfnCluster(
|
|
|
800
781
|
def s3(
|
|
801
782
|
self,
|
|
802
783
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.S3Property"]]:
|
|
803
|
-
'''
|
|
804
|
-
|
|
784
|
+
'''
|
|
805
785
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-s3
|
|
806
786
|
'''
|
|
807
787
|
result = self._values.get("s3")
|
|
@@ -841,14 +821,13 @@ class CfnCluster(
|
|
|
841
821
|
security_groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
842
822
|
storage_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.StorageInfoProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
843
823
|
) -> None:
|
|
844
|
-
'''
|
|
845
|
-
|
|
846
|
-
:param client_subnets: The list of subnets to connect to in the client virtual private cloud (VPC). Amazon creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces 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`` .
|
|
824
|
+
'''
|
|
825
|
+
:param client_subnets:
|
|
847
826
|
: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.
|
|
848
|
-
:param broker_az_distribution:
|
|
849
|
-
:param connectivity_info:
|
|
850
|
-
:param security_groups:
|
|
851
|
-
:param storage_info:
|
|
827
|
+
:param broker_az_distribution:
|
|
828
|
+
:param connectivity_info:
|
|
829
|
+
:param security_groups:
|
|
830
|
+
:param storage_info:
|
|
852
831
|
|
|
853
832
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html
|
|
854
833
|
:exampleMetadata: fixture=_generated
|
|
@@ -920,14 +899,7 @@ class CfnCluster(
|
|
|
920
899
|
|
|
921
900
|
@builtins.property
|
|
922
901
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
923
|
-
'''
|
|
924
|
-
|
|
925
|
-
Amazon creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data.
|
|
926
|
-
|
|
927
|
-
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.
|
|
928
|
-
|
|
929
|
-
Client subnets can't occupy the Availability Zone with ID ``use1-az3`` .
|
|
930
|
-
|
|
902
|
+
'''
|
|
931
903
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-clientsubnets
|
|
932
904
|
'''
|
|
933
905
|
result = self._values.get("client_subnets")
|
|
@@ -948,8 +920,7 @@ class CfnCluster(
|
|
|
948
920
|
|
|
949
921
|
@builtins.property
|
|
950
922
|
def broker_az_distribution(self) -> typing.Optional[builtins.str]:
|
|
951
|
-
'''
|
|
952
|
-
|
|
923
|
+
'''
|
|
953
924
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-brokerazdistribution
|
|
954
925
|
'''
|
|
955
926
|
result = self._values.get("broker_az_distribution")
|
|
@@ -959,8 +930,7 @@ class CfnCluster(
|
|
|
959
930
|
def connectivity_info(
|
|
960
931
|
self,
|
|
961
932
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ConnectivityInfoProperty"]]:
|
|
962
|
-
'''
|
|
963
|
-
|
|
933
|
+
'''
|
|
964
934
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-connectivityinfo
|
|
965
935
|
'''
|
|
966
936
|
result = self._values.get("connectivity_info")
|
|
@@ -968,10 +938,7 @@ class CfnCluster(
|
|
|
968
938
|
|
|
969
939
|
@builtins.property
|
|
970
940
|
def security_groups(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
971
|
-
'''
|
|
972
|
-
|
|
973
|
-
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.
|
|
974
|
-
|
|
941
|
+
'''
|
|
975
942
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-securitygroups
|
|
976
943
|
'''
|
|
977
944
|
result = self._values.get("security_groups")
|
|
@@ -981,8 +948,7 @@ class CfnCluster(
|
|
|
981
948
|
def storage_info(
|
|
982
949
|
self,
|
|
983
950
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.StorageInfoProperty"]]:
|
|
984
|
-
'''
|
|
985
|
-
|
|
951
|
+
'''
|
|
986
952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-storageinfo
|
|
987
953
|
'''
|
|
988
954
|
result = self._values.get("storage_info")
|
|
@@ -1016,11 +982,10 @@ class CfnCluster(
|
|
|
1016
982
|
tls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.TlsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1017
983
|
unauthenticated: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.UnauthenticatedProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1018
984
|
) -> None:
|
|
1019
|
-
'''
|
|
1020
|
-
|
|
1021
|
-
:param
|
|
1022
|
-
:param
|
|
1023
|
-
:param unauthenticated: Details for ClientAuthentication using no authentication.
|
|
985
|
+
'''
|
|
986
|
+
:param sasl:
|
|
987
|
+
:param tls:
|
|
988
|
+
:param unauthenticated:
|
|
1024
989
|
|
|
1025
990
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html
|
|
1026
991
|
:exampleMetadata: fixture=_generated
|
|
@@ -1066,10 +1031,7 @@ class CfnCluster(
|
|
|
1066
1031
|
def sasl(
|
|
1067
1032
|
self,
|
|
1068
1033
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.SaslProperty"]]:
|
|
1069
|
-
'''
|
|
1070
|
-
|
|
1071
|
-
To turn on SASL, you must also turn on ``EncryptionInTransit`` by setting ``inCluster`` to true. You must set ``clientBroker`` to either ``TLS`` or ``TLS_PLAINTEXT`` . If you choose ``TLS_PLAINTEXT`` , then you must also set ``unauthenticated`` to true.
|
|
1072
|
-
|
|
1034
|
+
'''
|
|
1073
1035
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-sasl
|
|
1074
1036
|
'''
|
|
1075
1037
|
result = self._values.get("sasl")
|
|
@@ -1079,10 +1041,7 @@ class CfnCluster(
|
|
|
1079
1041
|
def tls(
|
|
1080
1042
|
self,
|
|
1081
1043
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.TlsProperty"]]:
|
|
1082
|
-
'''
|
|
1083
|
-
|
|
1084
|
-
To turn on TLS access control, you must also turn on ``EncryptionInTransit`` by setting ``inCluster`` to true and ``clientBroker`` to ``TLS`` .
|
|
1085
|
-
|
|
1044
|
+
'''
|
|
1086
1045
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-tls
|
|
1087
1046
|
'''
|
|
1088
1047
|
result = self._values.get("tls")
|
|
@@ -1092,8 +1051,7 @@ class CfnCluster(
|
|
|
1092
1051
|
def unauthenticated(
|
|
1093
1052
|
self,
|
|
1094
1053
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.UnauthenticatedProperty"]]:
|
|
1095
|
-
'''
|
|
1096
|
-
|
|
1054
|
+
'''
|
|
1097
1055
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-unauthenticated
|
|
1098
1056
|
'''
|
|
1099
1057
|
result = self._values.get("unauthenticated")
|
|
@@ -1122,10 +1080,9 @@ class CfnCluster(
|
|
|
1122
1080
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1123
1081
|
log_group: typing.Optional[builtins.str] = None,
|
|
1124
1082
|
) -> None:
|
|
1125
|
-
'''
|
|
1126
|
-
|
|
1127
|
-
:param
|
|
1128
|
-
:param log_group: The CloudWatch log group that is the destination for broker logs.
|
|
1083
|
+
'''
|
|
1084
|
+
:param enabled:
|
|
1085
|
+
:param log_group:
|
|
1129
1086
|
|
|
1130
1087
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html
|
|
1131
1088
|
:exampleMetadata: fixture=_generated
|
|
@@ -1155,8 +1112,7 @@ class CfnCluster(
|
|
|
1155
1112
|
|
|
1156
1113
|
@builtins.property
|
|
1157
1114
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1158
|
-
'''
|
|
1159
|
-
|
|
1115
|
+
'''
|
|
1160
1116
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html#cfn-msk-cluster-cloudwatchlogs-enabled
|
|
1161
1117
|
'''
|
|
1162
1118
|
result = self._values.get("enabled")
|
|
@@ -1165,8 +1121,7 @@ class CfnCluster(
|
|
|
1165
1121
|
|
|
1166
1122
|
@builtins.property
|
|
1167
1123
|
def log_group(self) -> typing.Optional[builtins.str]:
|
|
1168
|
-
'''
|
|
1169
|
-
|
|
1124
|
+
'''
|
|
1170
1125
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html#cfn-msk-cluster-cloudwatchlogs-loggroup
|
|
1171
1126
|
'''
|
|
1172
1127
|
result = self._values.get("log_group")
|
|
@@ -1190,10 +1145,9 @@ class CfnCluster(
|
|
|
1190
1145
|
)
|
|
1191
1146
|
class ConfigurationInfoProperty:
|
|
1192
1147
|
def __init__(self, *, arn: builtins.str, revision: jsii.Number) -> None:
|
|
1193
|
-
'''
|
|
1194
|
-
|
|
1195
|
-
:param
|
|
1196
|
-
:param revision: The revision of the configuration to use.
|
|
1148
|
+
'''
|
|
1149
|
+
:param arn:
|
|
1150
|
+
:param revision:
|
|
1197
1151
|
|
|
1198
1152
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html
|
|
1199
1153
|
:exampleMetadata: fixture=_generated
|
|
@@ -1220,8 +1174,7 @@ class CfnCluster(
|
|
|
1220
1174
|
|
|
1221
1175
|
@builtins.property
|
|
1222
1176
|
def arn(self) -> builtins.str:
|
|
1223
|
-
'''
|
|
1224
|
-
|
|
1177
|
+
'''
|
|
1225
1178
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html#cfn-msk-cluster-configurationinfo-arn
|
|
1226
1179
|
'''
|
|
1227
1180
|
result = self._values.get("arn")
|
|
@@ -1230,8 +1183,7 @@ class CfnCluster(
|
|
|
1230
1183
|
|
|
1231
1184
|
@builtins.property
|
|
1232
1185
|
def revision(self) -> jsii.Number:
|
|
1233
|
-
'''
|
|
1234
|
-
|
|
1186
|
+
'''
|
|
1235
1187
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html#cfn-msk-cluster-configurationinfo-revision
|
|
1236
1188
|
'''
|
|
1237
1189
|
result = self._values.get("revision")
|
|
@@ -1264,10 +1216,9 @@ class CfnCluster(
|
|
|
1264
1216
|
public_access: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.PublicAccessProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1265
1217
|
vpc_connectivity: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivityProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1266
1218
|
) -> None:
|
|
1267
|
-
'''
|
|
1268
|
-
|
|
1269
|
-
:param
|
|
1270
|
-
:param vpc_connectivity: VPC connection control settings for brokers.
|
|
1219
|
+
'''
|
|
1220
|
+
:param public_access:
|
|
1221
|
+
:param vpc_connectivity:
|
|
1271
1222
|
|
|
1272
1223
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-connectivityinfo.html
|
|
1273
1224
|
:exampleMetadata: fixture=_generated
|
|
@@ -1313,8 +1264,7 @@ class CfnCluster(
|
|
|
1313
1264
|
def public_access(
|
|
1314
1265
|
self,
|
|
1315
1266
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.PublicAccessProperty"]]:
|
|
1316
|
-
'''
|
|
1317
|
-
|
|
1267
|
+
'''
|
|
1318
1268
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-connectivityinfo.html#cfn-msk-cluster-connectivityinfo-publicaccess
|
|
1319
1269
|
'''
|
|
1320
1270
|
result = self._values.get("public_access")
|
|
@@ -1324,8 +1274,7 @@ class CfnCluster(
|
|
|
1324
1274
|
def vpc_connectivity(
|
|
1325
1275
|
self,
|
|
1326
1276
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivityProperty"]]:
|
|
1327
|
-
'''
|
|
1328
|
-
|
|
1277
|
+
'''
|
|
1329
1278
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-connectivityinfo.html#cfn-msk-cluster-connectivityinfo-vpcconnectivity
|
|
1330
1279
|
'''
|
|
1331
1280
|
result = self._values.get("vpc_connectivity")
|
|
@@ -1357,10 +1306,9 @@ class CfnCluster(
|
|
|
1357
1306
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ProvisionedThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1358
1307
|
volume_size: typing.Optional[jsii.Number] = None,
|
|
1359
1308
|
) -> None:
|
|
1360
|
-
'''
|
|
1361
|
-
|
|
1362
|
-
:param
|
|
1363
|
-
:param volume_size: The size in GiB of the EBS volume for the data drive on each broker node.
|
|
1309
|
+
'''
|
|
1310
|
+
:param provisioned_throughput:
|
|
1311
|
+
:param volume_size:
|
|
1364
1312
|
|
|
1365
1313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-ebsstorageinfo.html
|
|
1366
1314
|
:exampleMetadata: fixture=_generated
|
|
@@ -1393,8 +1341,7 @@ class CfnCluster(
|
|
|
1393
1341
|
def provisioned_throughput(
|
|
1394
1342
|
self,
|
|
1395
1343
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ProvisionedThroughputProperty"]]:
|
|
1396
|
-
'''
|
|
1397
|
-
|
|
1344
|
+
'''
|
|
1398
1345
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-ebsstorageinfo.html#cfn-msk-cluster-ebsstorageinfo-provisionedthroughput
|
|
1399
1346
|
'''
|
|
1400
1347
|
result = self._values.get("provisioned_throughput")
|
|
@@ -1402,8 +1349,7 @@ class CfnCluster(
|
|
|
1402
1349
|
|
|
1403
1350
|
@builtins.property
|
|
1404
1351
|
def volume_size(self) -> typing.Optional[jsii.Number]:
|
|
1405
|
-
'''
|
|
1406
|
-
|
|
1352
|
+
'''
|
|
1407
1353
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-ebsstorageinfo.html#cfn-msk-cluster-ebsstorageinfo-volumesize
|
|
1408
1354
|
'''
|
|
1409
1355
|
result = self._values.get("volume_size")
|
|
@@ -1427,11 +1373,8 @@ class CfnCluster(
|
|
|
1427
1373
|
)
|
|
1428
1374
|
class EncryptionAtRestProperty:
|
|
1429
1375
|
def __init__(self, *, data_volume_kms_key_id: builtins.str) -> None:
|
|
1430
|
-
'''
|
|
1431
|
-
|
|
1432
|
-
You can't update encryption at rest settings for existing clusters.
|
|
1433
|
-
|
|
1434
|
-
:param data_volume_kms_key_id: The Amazon Resource Name (ARN) of the Amazon KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
|
|
1376
|
+
'''
|
|
1377
|
+
:param data_volume_kms_key_id:
|
|
1435
1378
|
|
|
1436
1379
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionatrest.html
|
|
1437
1380
|
:exampleMetadata: fixture=_generated
|
|
@@ -1455,10 +1398,7 @@ class CfnCluster(
|
|
|
1455
1398
|
|
|
1456
1399
|
@builtins.property
|
|
1457
1400
|
def data_volume_kms_key_id(self) -> builtins.str:
|
|
1458
|
-
'''
|
|
1459
|
-
|
|
1460
|
-
If you don't specify a KMS key, MSK creates one for you and uses it.
|
|
1461
|
-
|
|
1401
|
+
'''
|
|
1462
1402
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionatrest.html#cfn-msk-cluster-encryptionatrest-datavolumekmskeyid
|
|
1463
1403
|
'''
|
|
1464
1404
|
result = self._values.get("data_volume_kms_key_id")
|
|
@@ -1488,10 +1428,9 @@ class CfnCluster(
|
|
|
1488
1428
|
client_broker: typing.Optional[builtins.str] = None,
|
|
1489
1429
|
in_cluster: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1490
1430
|
) -> None:
|
|
1491
|
-
'''
|
|
1492
|
-
|
|
1493
|
-
:param
|
|
1494
|
-
: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.
|
|
1431
|
+
'''
|
|
1432
|
+
:param client_broker:
|
|
1433
|
+
:param in_cluster:
|
|
1495
1434
|
|
|
1496
1435
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html
|
|
1497
1436
|
:exampleMetadata: fixture=_generated
|
|
@@ -1519,18 +1458,7 @@ class CfnCluster(
|
|
|
1519
1458
|
|
|
1520
1459
|
@builtins.property
|
|
1521
1460
|
def client_broker(self) -> typing.Optional[builtins.str]:
|
|
1522
|
-
'''
|
|
1523
|
-
|
|
1524
|
-
You must set it to one of the following values.
|
|
1525
|
-
|
|
1526
|
-
``TLS`` means that client-broker communication is enabled with TLS only.
|
|
1527
|
-
|
|
1528
|
-
``TLS_PLAINTEXT`` means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
|
|
1529
|
-
|
|
1530
|
-
``PLAINTEXT`` means that client-broker communication is enabled in plaintext only.
|
|
1531
|
-
|
|
1532
|
-
The default value is ``TLS`` .
|
|
1533
|
-
|
|
1461
|
+
'''
|
|
1534
1462
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-clientbroker
|
|
1535
1463
|
'''
|
|
1536
1464
|
result = self._values.get("client_broker")
|
|
@@ -1540,12 +1468,7 @@ class CfnCluster(
|
|
|
1540
1468
|
def in_cluster(
|
|
1541
1469
|
self,
|
|
1542
1470
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1543
|
-
'''
|
|
1544
|
-
|
|
1545
|
-
When set to false, the communication happens in plaintext.
|
|
1546
|
-
|
|
1547
|
-
The default value is true.
|
|
1548
|
-
|
|
1471
|
+
'''
|
|
1549
1472
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-incluster
|
|
1550
1473
|
'''
|
|
1551
1474
|
result = self._values.get("in_cluster")
|
|
@@ -1577,10 +1500,9 @@ class CfnCluster(
|
|
|
1577
1500
|
encryption_at_rest: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.EncryptionAtRestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1578
1501
|
encryption_in_transit: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.EncryptionInTransitProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1579
1502
|
) -> None:
|
|
1580
|
-
'''
|
|
1581
|
-
|
|
1582
|
-
:param
|
|
1583
|
-
:param encryption_in_transit: The details for encryption in transit.
|
|
1503
|
+
'''
|
|
1504
|
+
:param encryption_at_rest:
|
|
1505
|
+
:param encryption_in_transit:
|
|
1584
1506
|
|
|
1585
1507
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html
|
|
1586
1508
|
:exampleMetadata: fixture=_generated
|
|
@@ -1615,8 +1537,7 @@ class CfnCluster(
|
|
|
1615
1537
|
def encryption_at_rest(
|
|
1616
1538
|
self,
|
|
1617
1539
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionAtRestProperty"]]:
|
|
1618
|
-
'''
|
|
1619
|
-
|
|
1540
|
+
'''
|
|
1620
1541
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html#cfn-msk-cluster-encryptioninfo-encryptionatrest
|
|
1621
1542
|
'''
|
|
1622
1543
|
result = self._values.get("encryption_at_rest")
|
|
@@ -1626,8 +1547,7 @@ class CfnCluster(
|
|
|
1626
1547
|
def encryption_in_transit(
|
|
1627
1548
|
self,
|
|
1628
1549
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EncryptionInTransitProperty"]]:
|
|
1629
|
-
'''
|
|
1630
|
-
|
|
1550
|
+
'''
|
|
1631
1551
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html#cfn-msk-cluster-encryptioninfo-encryptionintransit
|
|
1632
1552
|
'''
|
|
1633
1553
|
result = self._values.get("encryption_in_transit")
|
|
@@ -1656,10 +1576,9 @@ class CfnCluster(
|
|
|
1656
1576
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1657
1577
|
delivery_stream: typing.Optional[builtins.str] = None,
|
|
1658
1578
|
) -> None:
|
|
1659
|
-
'''
|
|
1660
|
-
|
|
1661
|
-
:param
|
|
1662
|
-
:param delivery_stream: The Kinesis Data Firehose delivery stream that is the destination for broker logs.
|
|
1579
|
+
'''
|
|
1580
|
+
:param enabled:
|
|
1581
|
+
:param delivery_stream:
|
|
1663
1582
|
|
|
1664
1583
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html
|
|
1665
1584
|
:exampleMetadata: fixture=_generated
|
|
@@ -1689,8 +1608,7 @@ class CfnCluster(
|
|
|
1689
1608
|
|
|
1690
1609
|
@builtins.property
|
|
1691
1610
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1692
|
-
'''
|
|
1693
|
-
|
|
1611
|
+
'''
|
|
1694
1612
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled
|
|
1695
1613
|
'''
|
|
1696
1614
|
result = self._values.get("enabled")
|
|
@@ -1699,8 +1617,7 @@ class CfnCluster(
|
|
|
1699
1617
|
|
|
1700
1618
|
@builtins.property
|
|
1701
1619
|
def delivery_stream(self) -> typing.Optional[builtins.str]:
|
|
1702
|
-
'''
|
|
1703
|
-
|
|
1620
|
+
'''
|
|
1704
1621
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream
|
|
1705
1622
|
'''
|
|
1706
1623
|
result = self._values.get("delivery_stream")
|
|
@@ -1728,9 +1645,8 @@ class CfnCluster(
|
|
|
1728
1645
|
*,
|
|
1729
1646
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1730
1647
|
) -> None:
|
|
1731
|
-
'''
|
|
1732
|
-
|
|
1733
|
-
:param enabled: SASL/IAM authentication is enabled or not.
|
|
1648
|
+
'''
|
|
1649
|
+
:param enabled:
|
|
1734
1650
|
|
|
1735
1651
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-iam.html
|
|
1736
1652
|
:exampleMetadata: fixture=_generated
|
|
@@ -1754,8 +1670,7 @@ class CfnCluster(
|
|
|
1754
1670
|
|
|
1755
1671
|
@builtins.property
|
|
1756
1672
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1757
|
-
'''
|
|
1758
|
-
|
|
1673
|
+
'''
|
|
1759
1674
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-iam.html#cfn-msk-cluster-iam-enabled
|
|
1760
1675
|
'''
|
|
1761
1676
|
result = self._values.get("enabled")
|
|
@@ -1784,9 +1699,8 @@ class CfnCluster(
|
|
|
1784
1699
|
*,
|
|
1785
1700
|
enabled_in_broker: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1786
1701
|
) -> None:
|
|
1787
|
-
'''
|
|
1788
|
-
|
|
1789
|
-
:param enabled_in_broker: Indicates whether you want to enable or disable the JMX Exporter.
|
|
1702
|
+
'''
|
|
1703
|
+
:param enabled_in_broker:
|
|
1790
1704
|
|
|
1791
1705
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-jmxexporter.html
|
|
1792
1706
|
:exampleMetadata: fixture=_generated
|
|
@@ -1812,8 +1726,7 @@ class CfnCluster(
|
|
|
1812
1726
|
def enabled_in_broker(
|
|
1813
1727
|
self,
|
|
1814
1728
|
) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1815
|
-
'''
|
|
1816
|
-
|
|
1729
|
+
'''
|
|
1817
1730
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-jmxexporter.html#cfn-msk-cluster-jmxexporter-enabledinbroker
|
|
1818
1731
|
'''
|
|
1819
1732
|
result = self._values.get("enabled_in_broker")
|
|
@@ -1842,11 +1755,8 @@ class CfnCluster(
|
|
|
1842
1755
|
*,
|
|
1843
1756
|
broker_logs: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.BrokerLogsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1844
1757
|
) -> None:
|
|
1845
|
-
'''
|
|
1846
|
-
|
|
1847
|
-
This is a container for the configuration details related to broker logs.
|
|
1848
|
-
|
|
1849
|
-
:param broker_logs: You can configure your MSK cluster to send broker logs to different destination types. This configuration specifies the details of these destinations.
|
|
1758
|
+
'''
|
|
1759
|
+
:param broker_logs:
|
|
1850
1760
|
|
|
1851
1761
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-logginginfo.html
|
|
1852
1762
|
:exampleMetadata: fixture=_generated
|
|
@@ -1892,10 +1802,7 @@ class CfnCluster(
|
|
|
1892
1802
|
def broker_logs(
|
|
1893
1803
|
self,
|
|
1894
1804
|
) -> typing.Union[_IResolvable_da3f097b, "CfnCluster.BrokerLogsProperty"]:
|
|
1895
|
-
'''
|
|
1896
|
-
|
|
1897
|
-
This configuration specifies the details of these destinations.
|
|
1898
|
-
|
|
1805
|
+
'''
|
|
1899
1806
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-logginginfo.html#cfn-msk-cluster-logginginfo-brokerlogs
|
|
1900
1807
|
'''
|
|
1901
1808
|
result = self._values.get("broker_logs")
|
|
@@ -1924,9 +1831,8 @@ class CfnCluster(
|
|
|
1924
1831
|
*,
|
|
1925
1832
|
enabled_in_broker: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1926
1833
|
) -> None:
|
|
1927
|
-
'''
|
|
1928
|
-
|
|
1929
|
-
:param enabled_in_broker: Indicates whether you want to enable or disable the Node Exporter.
|
|
1834
|
+
'''
|
|
1835
|
+
:param enabled_in_broker:
|
|
1930
1836
|
|
|
1931
1837
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-nodeexporter.html
|
|
1932
1838
|
:exampleMetadata: fixture=_generated
|
|
@@ -1952,8 +1858,7 @@ class CfnCluster(
|
|
|
1952
1858
|
def enabled_in_broker(
|
|
1953
1859
|
self,
|
|
1954
1860
|
) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1955
|
-
'''
|
|
1956
|
-
|
|
1861
|
+
'''
|
|
1957
1862
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-nodeexporter.html#cfn-msk-cluster-nodeexporter-enabledinbroker
|
|
1958
1863
|
'''
|
|
1959
1864
|
result = self._values.get("enabled_in_broker")
|
|
@@ -1982,9 +1887,8 @@ class CfnCluster(
|
|
|
1982
1887
|
*,
|
|
1983
1888
|
prometheus: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.PrometheusProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1984
1889
|
) -> None:
|
|
1985
|
-
'''
|
|
1986
|
-
|
|
1987
|
-
:param prometheus: Prometheus exporter settings.
|
|
1890
|
+
'''
|
|
1891
|
+
:param prometheus:
|
|
1988
1892
|
|
|
1989
1893
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-openmonitoring.html
|
|
1990
1894
|
:exampleMetadata: fixture=_generated
|
|
@@ -2017,8 +1921,7 @@ class CfnCluster(
|
|
|
2017
1921
|
def prometheus(
|
|
2018
1922
|
self,
|
|
2019
1923
|
) -> typing.Union[_IResolvable_da3f097b, "CfnCluster.PrometheusProperty"]:
|
|
2020
|
-
'''
|
|
2021
|
-
|
|
1924
|
+
'''
|
|
2022
1925
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-openmonitoring.html#cfn-msk-cluster-openmonitoring-prometheus
|
|
2023
1926
|
'''
|
|
2024
1927
|
result = self._values.get("prometheus")
|
|
@@ -2048,10 +1951,9 @@ class CfnCluster(
|
|
|
2048
1951
|
jmx_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.JmxExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2049
1952
|
node_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.NodeExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2050
1953
|
) -> None:
|
|
2051
|
-
'''
|
|
2052
|
-
|
|
2053
|
-
:param
|
|
2054
|
-
:param node_exporter: Indicates whether you want to enable or disable the Node Exporter.
|
|
1954
|
+
'''
|
|
1955
|
+
:param jmx_exporter:
|
|
1956
|
+
:param node_exporter:
|
|
2055
1957
|
|
|
2056
1958
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html
|
|
2057
1959
|
:exampleMetadata: fixture=_generated
|
|
@@ -2085,8 +1987,7 @@ class CfnCluster(
|
|
|
2085
1987
|
def jmx_exporter(
|
|
2086
1988
|
self,
|
|
2087
1989
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.JmxExporterProperty"]]:
|
|
2088
|
-
'''
|
|
2089
|
-
|
|
1990
|
+
'''
|
|
2090
1991
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html#cfn-msk-cluster-prometheus-jmxexporter
|
|
2091
1992
|
'''
|
|
2092
1993
|
result = self._values.get("jmx_exporter")
|
|
@@ -2096,8 +1997,7 @@ class CfnCluster(
|
|
|
2096
1997
|
def node_exporter(
|
|
2097
1998
|
self,
|
|
2098
1999
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.NodeExporterProperty"]]:
|
|
2099
|
-
'''
|
|
2100
|
-
|
|
2000
|
+
'''
|
|
2101
2001
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html#cfn-msk-cluster-prometheus-nodeexporter
|
|
2102
2002
|
'''
|
|
2103
2003
|
result = self._values.get("node_exporter")
|
|
@@ -2126,10 +2026,9 @@ class CfnCluster(
|
|
|
2126
2026
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2127
2027
|
volume_throughput: typing.Optional[jsii.Number] = None,
|
|
2128
2028
|
) -> None:
|
|
2129
|
-
'''
|
|
2130
|
-
|
|
2131
|
-
:param
|
|
2132
|
-
:param volume_throughput: Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
|
|
2029
|
+
'''
|
|
2030
|
+
:param enabled:
|
|
2031
|
+
:param volume_throughput:
|
|
2133
2032
|
|
|
2134
2033
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-provisionedthroughput.html
|
|
2135
2034
|
:exampleMetadata: fixture=_generated
|
|
@@ -2159,8 +2058,7 @@ class CfnCluster(
|
|
|
2159
2058
|
def enabled(
|
|
2160
2059
|
self,
|
|
2161
2060
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2162
|
-
'''
|
|
2163
|
-
|
|
2061
|
+
'''
|
|
2164
2062
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-provisionedthroughput.html#cfn-msk-cluster-provisionedthroughput-enabled
|
|
2165
2063
|
'''
|
|
2166
2064
|
result = self._values.get("enabled")
|
|
@@ -2168,8 +2066,7 @@ class CfnCluster(
|
|
|
2168
2066
|
|
|
2169
2067
|
@builtins.property
|
|
2170
2068
|
def volume_throughput(self) -> typing.Optional[jsii.Number]:
|
|
2171
|
-
'''
|
|
2172
|
-
|
|
2069
|
+
'''
|
|
2173
2070
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-provisionedthroughput.html#cfn-msk-cluster-provisionedthroughput-volumethroughput
|
|
2174
2071
|
'''
|
|
2175
2072
|
result = self._values.get("volume_throughput")
|
|
@@ -2193,9 +2090,8 @@ class CfnCluster(
|
|
|
2193
2090
|
)
|
|
2194
2091
|
class PublicAccessProperty:
|
|
2195
2092
|
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
2196
|
-
'''
|
|
2197
|
-
|
|
2198
|
-
:param type: DISABLED means that public access is turned off. SERVICE_PROVIDED_EIPS means that public access is turned on.
|
|
2093
|
+
'''
|
|
2094
|
+
:param type:
|
|
2199
2095
|
|
|
2200
2096
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-publicaccess.html
|
|
2201
2097
|
:exampleMetadata: fixture=_generated
|
|
@@ -2219,10 +2115,7 @@ class CfnCluster(
|
|
|
2219
2115
|
|
|
2220
2116
|
@builtins.property
|
|
2221
2117
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2222
|
-
'''
|
|
2223
|
-
|
|
2224
|
-
SERVICE_PROVIDED_EIPS means that public access is turned on.
|
|
2225
|
-
|
|
2118
|
+
'''
|
|
2226
2119
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-publicaccess.html#cfn-msk-cluster-publicaccess-type
|
|
2227
2120
|
'''
|
|
2228
2121
|
result = self._values.get("type")
|
|
@@ -2252,11 +2145,10 @@ class CfnCluster(
|
|
|
2252
2145
|
bucket: typing.Optional[builtins.str] = None,
|
|
2253
2146
|
prefix: typing.Optional[builtins.str] = None,
|
|
2254
2147
|
) -> None:
|
|
2255
|
-
'''
|
|
2256
|
-
|
|
2257
|
-
:param
|
|
2258
|
-
:param
|
|
2259
|
-
:param prefix: The S3 prefix that is the destination for broker logs.
|
|
2148
|
+
'''
|
|
2149
|
+
:param enabled:
|
|
2150
|
+
:param bucket:
|
|
2151
|
+
:param prefix:
|
|
2260
2152
|
|
|
2261
2153
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html
|
|
2262
2154
|
:exampleMetadata: fixture=_generated
|
|
@@ -2290,8 +2182,7 @@ class CfnCluster(
|
|
|
2290
2182
|
|
|
2291
2183
|
@builtins.property
|
|
2292
2184
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
2293
|
-
'''
|
|
2294
|
-
|
|
2185
|
+
'''
|
|
2295
2186
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-enabled
|
|
2296
2187
|
'''
|
|
2297
2188
|
result = self._values.get("enabled")
|
|
@@ -2300,8 +2191,7 @@ class CfnCluster(
|
|
|
2300
2191
|
|
|
2301
2192
|
@builtins.property
|
|
2302
2193
|
def bucket(self) -> typing.Optional[builtins.str]:
|
|
2303
|
-
'''
|
|
2304
|
-
|
|
2194
|
+
'''
|
|
2305
2195
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-bucket
|
|
2306
2196
|
'''
|
|
2307
2197
|
result = self._values.get("bucket")
|
|
@@ -2309,8 +2199,7 @@ class CfnCluster(
|
|
|
2309
2199
|
|
|
2310
2200
|
@builtins.property
|
|
2311
2201
|
def prefix(self) -> typing.Optional[builtins.str]:
|
|
2312
|
-
'''
|
|
2313
|
-
|
|
2202
|
+
'''
|
|
2314
2203
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-prefix
|
|
2315
2204
|
'''
|
|
2316
2205
|
result = self._values.get("prefix")
|
|
@@ -2339,12 +2228,9 @@ class CfnCluster(
|
|
|
2339
2228
|
iam: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.IamProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2340
2229
|
scram: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ScramProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2341
2230
|
) -> None:
|
|
2342
|
-
'''
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
:param iam: Details for ClientAuthentication using IAM.
|
|
2347
|
-
:param scram: Details for SASL/SCRAM client authentication.
|
|
2231
|
+
'''
|
|
2232
|
+
:param iam:
|
|
2233
|
+
:param scram:
|
|
2348
2234
|
|
|
2349
2235
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html
|
|
2350
2236
|
:exampleMetadata: fixture=_generated
|
|
@@ -2378,8 +2264,7 @@ class CfnCluster(
|
|
|
2378
2264
|
def iam(
|
|
2379
2265
|
self,
|
|
2380
2266
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.IamProperty"]]:
|
|
2381
|
-
'''
|
|
2382
|
-
|
|
2267
|
+
'''
|
|
2383
2268
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html#cfn-msk-cluster-sasl-iam
|
|
2384
2269
|
'''
|
|
2385
2270
|
result = self._values.get("iam")
|
|
@@ -2389,8 +2274,7 @@ class CfnCluster(
|
|
|
2389
2274
|
def scram(
|
|
2390
2275
|
self,
|
|
2391
2276
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ScramProperty"]]:
|
|
2392
|
-
'''
|
|
2393
|
-
|
|
2277
|
+
'''
|
|
2394
2278
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html#cfn-msk-cluster-sasl-scram
|
|
2395
2279
|
'''
|
|
2396
2280
|
result = self._values.get("scram")
|
|
@@ -2418,9 +2302,8 @@ class CfnCluster(
|
|
|
2418
2302
|
*,
|
|
2419
2303
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2420
2304
|
) -> None:
|
|
2421
|
-
'''
|
|
2422
|
-
|
|
2423
|
-
:param enabled: SASL/SCRAM authentication is enabled or not.
|
|
2305
|
+
'''
|
|
2306
|
+
:param enabled:
|
|
2424
2307
|
|
|
2425
2308
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-scram.html
|
|
2426
2309
|
:exampleMetadata: fixture=_generated
|
|
@@ -2444,8 +2327,7 @@ class CfnCluster(
|
|
|
2444
2327
|
|
|
2445
2328
|
@builtins.property
|
|
2446
2329
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
2447
|
-
'''
|
|
2448
|
-
|
|
2330
|
+
'''
|
|
2449
2331
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-scram.html#cfn-msk-cluster-scram-enabled
|
|
2450
2332
|
'''
|
|
2451
2333
|
result = self._values.get("enabled")
|
|
@@ -2474,9 +2356,8 @@ class CfnCluster(
|
|
|
2474
2356
|
*,
|
|
2475
2357
|
ebs_storage_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.EBSStorageInfoProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2476
2358
|
) -> None:
|
|
2477
|
-
'''
|
|
2478
|
-
|
|
2479
|
-
:param ebs_storage_info: EBS volume information.
|
|
2359
|
+
'''
|
|
2360
|
+
:param ebs_storage_info:
|
|
2480
2361
|
|
|
2481
2362
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-storageinfo.html
|
|
2482
2363
|
:exampleMetadata: fixture=_generated
|
|
@@ -2508,8 +2389,7 @@ class CfnCluster(
|
|
|
2508
2389
|
def ebs_storage_info(
|
|
2509
2390
|
self,
|
|
2510
2391
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.EBSStorageInfoProperty"]]:
|
|
2511
|
-
'''
|
|
2512
|
-
|
|
2392
|
+
'''
|
|
2513
2393
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-storageinfo.html#cfn-msk-cluster-storageinfo-ebsstorageinfo
|
|
2514
2394
|
'''
|
|
2515
2395
|
result = self._values.get("ebs_storage_info")
|
|
@@ -2541,10 +2421,9 @@ class CfnCluster(
|
|
|
2541
2421
|
certificate_authority_arn_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2542
2422
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2543
2423
|
) -> None:
|
|
2544
|
-
'''
|
|
2545
|
-
|
|
2546
|
-
:param
|
|
2547
|
-
:param enabled: TLS authentication is enabled or not.
|
|
2424
|
+
'''
|
|
2425
|
+
:param certificate_authority_arn_list:
|
|
2426
|
+
:param enabled:
|
|
2548
2427
|
|
|
2549
2428
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html
|
|
2550
2429
|
:exampleMetadata: fixture=_generated
|
|
@@ -2574,8 +2453,7 @@ class CfnCluster(
|
|
|
2574
2453
|
def certificate_authority_arn_list(
|
|
2575
2454
|
self,
|
|
2576
2455
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
2577
|
-
'''
|
|
2578
|
-
|
|
2456
|
+
'''
|
|
2579
2457
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html#cfn-msk-cluster-tls-certificateauthorityarnlist
|
|
2580
2458
|
'''
|
|
2581
2459
|
result = self._values.get("certificate_authority_arn_list")
|
|
@@ -2585,8 +2463,7 @@ class CfnCluster(
|
|
|
2585
2463
|
def enabled(
|
|
2586
2464
|
self,
|
|
2587
2465
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2588
|
-
'''
|
|
2589
|
-
|
|
2466
|
+
'''
|
|
2590
2467
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html#cfn-msk-cluster-tls-enabled
|
|
2591
2468
|
'''
|
|
2592
2469
|
result = self._values.get("enabled")
|
|
@@ -2614,9 +2491,8 @@ class CfnCluster(
|
|
|
2614
2491
|
*,
|
|
2615
2492
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2616
2493
|
) -> None:
|
|
2617
|
-
'''
|
|
2618
|
-
|
|
2619
|
-
:param enabled: Unauthenticated is enabled or not.
|
|
2494
|
+
'''
|
|
2495
|
+
:param enabled:
|
|
2620
2496
|
|
|
2621
2497
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-unauthenticated.html
|
|
2622
2498
|
:exampleMetadata: fixture=_generated
|
|
@@ -2640,8 +2516,7 @@ class CfnCluster(
|
|
|
2640
2516
|
|
|
2641
2517
|
@builtins.property
|
|
2642
2518
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
2643
|
-
'''
|
|
2644
|
-
|
|
2519
|
+
'''
|
|
2645
2520
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-unauthenticated.html#cfn-msk-cluster-unauthenticated-enabled
|
|
2646
2521
|
'''
|
|
2647
2522
|
result = self._values.get("enabled")
|
|
@@ -2671,10 +2546,9 @@ class CfnCluster(
|
|
|
2671
2546
|
sasl: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivitySaslProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2672
2547
|
tls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivityTlsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2673
2548
|
) -> None:
|
|
2674
|
-
'''
|
|
2675
|
-
|
|
2676
|
-
:param
|
|
2677
|
-
:param tls: Details for VpcConnectivity ClientAuthentication using TLS.
|
|
2549
|
+
'''
|
|
2550
|
+
:param sasl:
|
|
2551
|
+
:param tls:
|
|
2678
2552
|
|
|
2679
2553
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityclientauthentication.html
|
|
2680
2554
|
:exampleMetadata: fixture=_generated
|
|
@@ -2713,8 +2587,7 @@ class CfnCluster(
|
|
|
2713
2587
|
def sasl(
|
|
2714
2588
|
self,
|
|
2715
2589
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivitySaslProperty"]]:
|
|
2716
|
-
'''
|
|
2717
|
-
|
|
2590
|
+
'''
|
|
2718
2591
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityclientauthentication.html#cfn-msk-cluster-vpcconnectivityclientauthentication-sasl
|
|
2719
2592
|
'''
|
|
2720
2593
|
result = self._values.get("sasl")
|
|
@@ -2724,8 +2597,7 @@ class CfnCluster(
|
|
|
2724
2597
|
def tls(
|
|
2725
2598
|
self,
|
|
2726
2599
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivityTlsProperty"]]:
|
|
2727
|
-
'''
|
|
2728
|
-
|
|
2600
|
+
'''
|
|
2729
2601
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityclientauthentication.html#cfn-msk-cluster-vpcconnectivityclientauthentication-tls
|
|
2730
2602
|
'''
|
|
2731
2603
|
result = self._values.get("tls")
|
|
@@ -2753,9 +2625,8 @@ class CfnCluster(
|
|
|
2753
2625
|
*,
|
|
2754
2626
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2755
2627
|
) -> None:
|
|
2756
|
-
'''
|
|
2757
|
-
|
|
2758
|
-
:param enabled: SASL/IAM authentication is enabled or not.
|
|
2628
|
+
'''
|
|
2629
|
+
:param enabled:
|
|
2759
2630
|
|
|
2760
2631
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityiam.html
|
|
2761
2632
|
:exampleMetadata: fixture=_generated
|
|
@@ -2779,8 +2650,7 @@ class CfnCluster(
|
|
|
2779
2650
|
|
|
2780
2651
|
@builtins.property
|
|
2781
2652
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
2782
|
-
'''
|
|
2783
|
-
|
|
2653
|
+
'''
|
|
2784
2654
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityiam.html#cfn-msk-cluster-vpcconnectivityiam-enabled
|
|
2785
2655
|
'''
|
|
2786
2656
|
result = self._values.get("enabled")
|
|
@@ -2809,9 +2679,8 @@ class CfnCluster(
|
|
|
2809
2679
|
*,
|
|
2810
2680
|
client_authentication: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivityClientAuthenticationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2811
2681
|
) -> None:
|
|
2812
|
-
'''
|
|
2813
|
-
|
|
2814
|
-
:param client_authentication: VPC connection control settings for brokers.
|
|
2682
|
+
'''
|
|
2683
|
+
:param client_authentication:
|
|
2815
2684
|
|
|
2816
2685
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivity.html
|
|
2817
2686
|
:exampleMetadata: fixture=_generated
|
|
@@ -2849,8 +2718,7 @@ class CfnCluster(
|
|
|
2849
2718
|
def client_authentication(
|
|
2850
2719
|
self,
|
|
2851
2720
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivityClientAuthenticationProperty"]]:
|
|
2852
|
-
'''
|
|
2853
|
-
|
|
2721
|
+
'''
|
|
2854
2722
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivity.html#cfn-msk-cluster-vpcconnectivity-clientauthentication
|
|
2855
2723
|
'''
|
|
2856
2724
|
result = self._values.get("client_authentication")
|
|
@@ -2879,10 +2747,9 @@ class CfnCluster(
|
|
|
2879
2747
|
iam: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivityIamProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2880
2748
|
scram: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConnectivityScramProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2881
2749
|
) -> None:
|
|
2882
|
-
'''
|
|
2883
|
-
|
|
2884
|
-
:param
|
|
2885
|
-
:param scram: Details for SASL/SCRAM client authentication for VpcConnectivity.
|
|
2750
|
+
'''
|
|
2751
|
+
:param iam:
|
|
2752
|
+
:param scram:
|
|
2886
2753
|
|
|
2887
2754
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivitysasl.html
|
|
2888
2755
|
:exampleMetadata: fixture=_generated
|
|
@@ -2916,8 +2783,7 @@ class CfnCluster(
|
|
|
2916
2783
|
def iam(
|
|
2917
2784
|
self,
|
|
2918
2785
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivityIamProperty"]]:
|
|
2919
|
-
'''
|
|
2920
|
-
|
|
2786
|
+
'''
|
|
2921
2787
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivitysasl.html#cfn-msk-cluster-vpcconnectivitysasl-iam
|
|
2922
2788
|
'''
|
|
2923
2789
|
result = self._values.get("iam")
|
|
@@ -2927,8 +2793,7 @@ class CfnCluster(
|
|
|
2927
2793
|
def scram(
|
|
2928
2794
|
self,
|
|
2929
2795
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConnectivityScramProperty"]]:
|
|
2930
|
-
'''
|
|
2931
|
-
|
|
2796
|
+
'''
|
|
2932
2797
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivitysasl.html#cfn-msk-cluster-vpcconnectivitysasl-scram
|
|
2933
2798
|
'''
|
|
2934
2799
|
result = self._values.get("scram")
|
|
@@ -2956,9 +2821,8 @@ class CfnCluster(
|
|
|
2956
2821
|
*,
|
|
2957
2822
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2958
2823
|
) -> None:
|
|
2959
|
-
'''
|
|
2960
|
-
|
|
2961
|
-
:param enabled: SASL/SCRAM authentication is enabled or not.
|
|
2824
|
+
'''
|
|
2825
|
+
:param enabled:
|
|
2962
2826
|
|
|
2963
2827
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityscram.html
|
|
2964
2828
|
:exampleMetadata: fixture=_generated
|
|
@@ -2982,8 +2846,7 @@ class CfnCluster(
|
|
|
2982
2846
|
|
|
2983
2847
|
@builtins.property
|
|
2984
2848
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
2985
|
-
'''
|
|
2986
|
-
|
|
2849
|
+
'''
|
|
2987
2850
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivityscram.html#cfn-msk-cluster-vpcconnectivityscram-enabled
|
|
2988
2851
|
'''
|
|
2989
2852
|
result = self._values.get("enabled")
|
|
@@ -3012,9 +2875,8 @@ class CfnCluster(
|
|
|
3012
2875
|
*,
|
|
3013
2876
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3014
2877
|
) -> None:
|
|
3015
|
-
'''
|
|
3016
|
-
|
|
3017
|
-
:param enabled: TLS authentication is enabled or not.
|
|
2878
|
+
'''
|
|
2879
|
+
:param enabled:
|
|
3018
2880
|
|
|
3019
2881
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivitytls.html
|
|
3020
2882
|
:exampleMetadata: fixture=_generated
|
|
@@ -3038,8 +2900,7 @@ class CfnCluster(
|
|
|
3038
2900
|
|
|
3039
2901
|
@builtins.property
|
|
3040
2902
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
3041
|
-
'''
|
|
3042
|
-
|
|
2903
|
+
'''
|
|
3043
2904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-vpcconnectivitytls.html#cfn-msk-cluster-vpcconnectivitytls-enabled
|
|
3044
2905
|
'''
|
|
3045
2906
|
result = self._values.get("enabled")
|
|
@@ -3285,19 +3146,19 @@ class CfnClusterProps:
|
|
|
3285
3146
|
) -> None:
|
|
3286
3147
|
'''Properties for defining a ``CfnCluster``.
|
|
3287
3148
|
|
|
3288
|
-
:param broker_node_group_info:
|
|
3289
|
-
:param cluster_name:
|
|
3290
|
-
:param kafka_version:
|
|
3291
|
-
:param number_of_broker_nodes:
|
|
3292
|
-
:param client_authentication:
|
|
3293
|
-
:param configuration_info:
|
|
3294
|
-
:param current_version: The version of the cluster
|
|
3295
|
-
:param encryption_info:
|
|
3296
|
-
:param enhanced_monitoring:
|
|
3297
|
-
:param logging_info:
|
|
3298
|
-
:param open_monitoring:
|
|
3299
|
-
:param storage_mode:
|
|
3300
|
-
:param tags:
|
|
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 current version of the MSK cluster.
|
|
3156
|
+
:param encryption_info:
|
|
3157
|
+
:param enhanced_monitoring:
|
|
3158
|
+
:param logging_info:
|
|
3159
|
+
:param open_monitoring:
|
|
3160
|
+
:param storage_mode:
|
|
3161
|
+
:param tags: A key-value pair to associate with a resource.
|
|
3301
3162
|
|
|
3302
3163
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
3303
3164
|
:exampleMetadata: fixture=_generated
|
|
@@ -3466,8 +3327,7 @@ class CfnClusterProps:
|
|
|
3466
3327
|
def broker_node_group_info(
|
|
3467
3328
|
self,
|
|
3468
3329
|
) -> typing.Union[_IResolvable_da3f097b, CfnCluster.BrokerNodeGroupInfoProperty]:
|
|
3469
|
-
'''
|
|
3470
|
-
|
|
3330
|
+
'''
|
|
3471
3331
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-brokernodegroupinfo
|
|
3472
3332
|
'''
|
|
3473
3333
|
result = self._values.get("broker_node_group_info")
|
|
@@ -3476,8 +3336,7 @@ class CfnClusterProps:
|
|
|
3476
3336
|
|
|
3477
3337
|
@builtins.property
|
|
3478
3338
|
def cluster_name(self) -> builtins.str:
|
|
3479
|
-
'''
|
|
3480
|
-
|
|
3339
|
+
'''
|
|
3481
3340
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clustername
|
|
3482
3341
|
'''
|
|
3483
3342
|
result = self._values.get("cluster_name")
|
|
@@ -3486,10 +3345,7 @@ class CfnClusterProps:
|
|
|
3486
3345
|
|
|
3487
3346
|
@builtins.property
|
|
3488
3347
|
def kafka_version(self) -> builtins.str:
|
|
3489
|
-
'''
|
|
3490
|
-
|
|
3491
|
-
You can use Amazon MSK to create clusters that use Apache Kafka versions 1.1.1 and 2.2.1.
|
|
3492
|
-
|
|
3348
|
+
'''
|
|
3493
3349
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-kafkaversion
|
|
3494
3350
|
'''
|
|
3495
3351
|
result = self._values.get("kafka_version")
|
|
@@ -3498,8 +3354,7 @@ class CfnClusterProps:
|
|
|
3498
3354
|
|
|
3499
3355
|
@builtins.property
|
|
3500
3356
|
def number_of_broker_nodes(self) -> jsii.Number:
|
|
3501
|
-
'''
|
|
3502
|
-
|
|
3357
|
+
'''
|
|
3503
3358
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-numberofbrokernodes
|
|
3504
3359
|
'''
|
|
3505
3360
|
result = self._values.get("number_of_broker_nodes")
|
|
@@ -3510,8 +3365,7 @@ class CfnClusterProps:
|
|
|
3510
3365
|
def client_authentication(
|
|
3511
3366
|
self,
|
|
3512
3367
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ClientAuthenticationProperty]]:
|
|
3513
|
-
'''
|
|
3514
|
-
|
|
3368
|
+
'''
|
|
3515
3369
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clientauthentication
|
|
3516
3370
|
'''
|
|
3517
3371
|
result = self._values.get("client_authentication")
|
|
@@ -3521,8 +3375,7 @@ class CfnClusterProps:
|
|
|
3521
3375
|
def configuration_info(
|
|
3522
3376
|
self,
|
|
3523
3377
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ConfigurationInfoProperty]]:
|
|
3524
|
-
'''
|
|
3525
|
-
|
|
3378
|
+
'''
|
|
3526
3379
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-configurationinfo
|
|
3527
3380
|
'''
|
|
3528
3381
|
result = self._values.get("configuration_info")
|
|
@@ -3530,7 +3383,7 @@ class CfnClusterProps:
|
|
|
3530
3383
|
|
|
3531
3384
|
@builtins.property
|
|
3532
3385
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
3533
|
-
'''The version of the cluster
|
|
3386
|
+
'''The current version of the MSK cluster.
|
|
3534
3387
|
|
|
3535
3388
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-currentversion
|
|
3536
3389
|
'''
|
|
@@ -3541,8 +3394,7 @@ class CfnClusterProps:
|
|
|
3541
3394
|
def encryption_info(
|
|
3542
3395
|
self,
|
|
3543
3396
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.EncryptionInfoProperty]]:
|
|
3544
|
-
'''
|
|
3545
|
-
|
|
3397
|
+
'''
|
|
3546
3398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-encryptioninfo
|
|
3547
3399
|
'''
|
|
3548
3400
|
result = self._values.get("encryption_info")
|
|
@@ -3550,10 +3402,7 @@ class CfnClusterProps:
|
|
|
3550
3402
|
|
|
3551
3403
|
@builtins.property
|
|
3552
3404
|
def enhanced_monitoring(self) -> typing.Optional[builtins.str]:
|
|
3553
|
-
'''
|
|
3554
|
-
|
|
3555
|
-
The possible values are ``DEFAULT`` , ``PER_BROKER`` , and ``PER_TOPIC_PER_BROKER`` .
|
|
3556
|
-
|
|
3405
|
+
'''
|
|
3557
3406
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-enhancedmonitoring
|
|
3558
3407
|
'''
|
|
3559
3408
|
result = self._values.get("enhanced_monitoring")
|
|
@@ -3563,8 +3412,7 @@ class CfnClusterProps:
|
|
|
3563
3412
|
def logging_info(
|
|
3564
3413
|
self,
|
|
3565
3414
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.LoggingInfoProperty]]:
|
|
3566
|
-
'''
|
|
3567
|
-
|
|
3415
|
+
'''
|
|
3568
3416
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-logginginfo
|
|
3569
3417
|
'''
|
|
3570
3418
|
result = self._values.get("logging_info")
|
|
@@ -3574,8 +3422,7 @@ class CfnClusterProps:
|
|
|
3574
3422
|
def open_monitoring(
|
|
3575
3423
|
self,
|
|
3576
3424
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.OpenMonitoringProperty]]:
|
|
3577
|
-
'''
|
|
3578
|
-
|
|
3425
|
+
'''
|
|
3579
3426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-openmonitoring
|
|
3580
3427
|
'''
|
|
3581
3428
|
result = self._values.get("open_monitoring")
|
|
@@ -3583,8 +3430,7 @@ class CfnClusterProps:
|
|
|
3583
3430
|
|
|
3584
3431
|
@builtins.property
|
|
3585
3432
|
def storage_mode(self) -> typing.Optional[builtins.str]:
|
|
3586
|
-
'''
|
|
3587
|
-
|
|
3433
|
+
'''
|
|
3588
3434
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-storagemode
|
|
3589
3435
|
'''
|
|
3590
3436
|
result = self._values.get("storage_mode")
|
|
@@ -3592,7 +3438,7 @@ class CfnClusterProps:
|
|
|
3592
3438
|
|
|
3593
3439
|
@builtins.property
|
|
3594
3440
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
3595
|
-
'''
|
|
3441
|
+
'''A key-value pair to associate with a resource.
|
|
3596
3442
|
|
|
3597
3443
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-tags
|
|
3598
3444
|
'''
|
|
@@ -3617,16 +3463,7 @@ class CfnConfiguration(
|
|
|
3617
3463
|
metaclass=jsii.JSIIMeta,
|
|
3618
3464
|
jsii_type="aws-cdk-lib.aws_msk.CfnConfiguration",
|
|
3619
3465
|
):
|
|
3620
|
-
'''
|
|
3621
|
-
|
|
3622
|
-
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 .
|
|
3623
|
-
|
|
3624
|
-
``auto.create.topics.enable = true zookeeper.connection.timeout.ms = 1000 log.roll.ms = 604800000``
|
|
3625
|
-
|
|
3626
|
-
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::
|
|
3627
|
-
|
|
3628
|
-
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
|
|
3629
|
-
) print(response)
|
|
3466
|
+
'''http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html.
|
|
3630
3467
|
|
|
3631
3468
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
|
|
3632
3469
|
:cloudformationResource: AWS::MSK::Configuration
|
|
@@ -3667,11 +3504,11 @@ class CfnConfiguration(
|
|
|
3667
3504
|
'''
|
|
3668
3505
|
:param scope: Scope in which this resource is defined.
|
|
3669
3506
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3670
|
-
:param name:
|
|
3671
|
-
:param server_properties:
|
|
3672
|
-
:param description:
|
|
3507
|
+
:param name:
|
|
3508
|
+
:param server_properties:
|
|
3509
|
+
:param description:
|
|
3673
3510
|
:param kafka_versions_list:
|
|
3674
|
-
:param latest_revision:
|
|
3511
|
+
:param latest_revision:
|
|
3675
3512
|
'''
|
|
3676
3513
|
if __debug__:
|
|
3677
3514
|
type_hints = typing.get_type_hints(_typecheckingstub__4496d16ab1313e2d6e75f55fc7cdb170962f756c6dc1149245dde1aba3113278)
|
|
@@ -3728,8 +3565,7 @@ class CfnConfiguration(
|
|
|
3728
3565
|
@builtins.property
|
|
3729
3566
|
@jsii.member(jsii_name="attrLatestRevisionCreationTime")
|
|
3730
3567
|
def attr_latest_revision_creation_time(self) -> builtins.str:
|
|
3731
|
-
'''
|
|
3732
|
-
|
|
3568
|
+
'''
|
|
3733
3569
|
:cloudformationAttribute: LatestRevision.CreationTime
|
|
3734
3570
|
'''
|
|
3735
3571
|
return typing.cast(builtins.str, jsii.get(self, "attrLatestRevisionCreationTime"))
|
|
@@ -3737,8 +3573,7 @@ class CfnConfiguration(
|
|
|
3737
3573
|
@builtins.property
|
|
3738
3574
|
@jsii.member(jsii_name="attrLatestRevisionDescription")
|
|
3739
3575
|
def attr_latest_revision_description(self) -> builtins.str:
|
|
3740
|
-
'''
|
|
3741
|
-
|
|
3576
|
+
'''
|
|
3742
3577
|
:cloudformationAttribute: LatestRevision.Description
|
|
3743
3578
|
'''
|
|
3744
3579
|
return typing.cast(builtins.str, jsii.get(self, "attrLatestRevisionDescription"))
|
|
@@ -3746,8 +3581,7 @@ class CfnConfiguration(
|
|
|
3746
3581
|
@builtins.property
|
|
3747
3582
|
@jsii.member(jsii_name="attrLatestRevisionRevision")
|
|
3748
3583
|
def attr_latest_revision_revision(self) -> jsii.Number:
|
|
3749
|
-
'''
|
|
3750
|
-
|
|
3584
|
+
'''
|
|
3751
3585
|
:cloudformationAttribute: LatestRevision.Revision
|
|
3752
3586
|
'''
|
|
3753
3587
|
return typing.cast(jsii.Number, jsii.get(self, "attrLatestRevisionRevision"))
|
|
@@ -3760,7 +3594,6 @@ class CfnConfiguration(
|
|
|
3760
3594
|
@builtins.property
|
|
3761
3595
|
@jsii.member(jsii_name="name")
|
|
3762
3596
|
def name(self) -> builtins.str:
|
|
3763
|
-
'''The name of the configuration.'''
|
|
3764
3597
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
3765
3598
|
|
|
3766
3599
|
@name.setter
|
|
@@ -3773,7 +3606,6 @@ class CfnConfiguration(
|
|
|
3773
3606
|
@builtins.property
|
|
3774
3607
|
@jsii.member(jsii_name="serverProperties")
|
|
3775
3608
|
def server_properties(self) -> builtins.str:
|
|
3776
|
-
'''Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext.'''
|
|
3777
3609
|
return typing.cast(builtins.str, jsii.get(self, "serverProperties"))
|
|
3778
3610
|
|
|
3779
3611
|
@server_properties.setter
|
|
@@ -3786,7 +3618,6 @@ class CfnConfiguration(
|
|
|
3786
3618
|
@builtins.property
|
|
3787
3619
|
@jsii.member(jsii_name="description")
|
|
3788
3620
|
def description(self) -> typing.Optional[builtins.str]:
|
|
3789
|
-
'''The description of the configuration.'''
|
|
3790
3621
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
3791
3622
|
|
|
3792
3623
|
@description.setter
|
|
@@ -3816,7 +3647,6 @@ class CfnConfiguration(
|
|
|
3816
3647
|
def latest_revision(
|
|
3817
3648
|
self,
|
|
3818
3649
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConfiguration.LatestRevisionProperty"]]:
|
|
3819
|
-
'''Latest revision of the configuration.'''
|
|
3820
3650
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConfiguration.LatestRevisionProperty"]], jsii.get(self, "latestRevision"))
|
|
3821
3651
|
|
|
3822
3652
|
@latest_revision.setter
|
|
@@ -3938,11 +3768,11 @@ class CfnConfigurationProps:
|
|
|
3938
3768
|
) -> None:
|
|
3939
3769
|
'''Properties for defining a ``CfnConfiguration``.
|
|
3940
3770
|
|
|
3941
|
-
:param name:
|
|
3942
|
-
:param server_properties:
|
|
3943
|
-
:param description:
|
|
3771
|
+
:param name:
|
|
3772
|
+
:param server_properties:
|
|
3773
|
+
:param description:
|
|
3944
3774
|
:param kafka_versions_list:
|
|
3945
|
-
:param latest_revision:
|
|
3775
|
+
:param latest_revision:
|
|
3946
3776
|
|
|
3947
3777
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
|
|
3948
3778
|
:exampleMetadata: fixture=_generated
|
|
@@ -3987,10 +3817,7 @@ class CfnConfigurationProps:
|
|
|
3987
3817
|
|
|
3988
3818
|
@builtins.property
|
|
3989
3819
|
def name(self) -> builtins.str:
|
|
3990
|
-
'''
|
|
3991
|
-
|
|
3992
|
-
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3993
|
-
|
|
3820
|
+
'''
|
|
3994
3821
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-name
|
|
3995
3822
|
'''
|
|
3996
3823
|
result = self._values.get("name")
|
|
@@ -3999,8 +3826,7 @@ class CfnConfigurationProps:
|
|
|
3999
3826
|
|
|
4000
3827
|
@builtins.property
|
|
4001
3828
|
def server_properties(self) -> builtins.str:
|
|
4002
|
-
'''
|
|
4003
|
-
|
|
3829
|
+
'''
|
|
4004
3830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-serverproperties
|
|
4005
3831
|
'''
|
|
4006
3832
|
result = self._values.get("server_properties")
|
|
@@ -4009,8 +3835,7 @@ class CfnConfigurationProps:
|
|
|
4009
3835
|
|
|
4010
3836
|
@builtins.property
|
|
4011
3837
|
def description(self) -> typing.Optional[builtins.str]:
|
|
4012
|
-
'''
|
|
4013
|
-
|
|
3838
|
+
'''
|
|
4014
3839
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-description
|
|
4015
3840
|
'''
|
|
4016
3841
|
result = self._values.get("description")
|
|
@@ -4028,8 +3853,7 @@ class CfnConfigurationProps:
|
|
|
4028
3853
|
def latest_revision(
|
|
4029
3854
|
self,
|
|
4030
3855
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConfiguration.LatestRevisionProperty]]:
|
|
4031
|
-
'''
|
|
4032
|
-
|
|
3856
|
+
'''
|
|
4033
3857
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-latestrevision
|
|
4034
3858
|
'''
|
|
4035
3859
|
result = self._values.get("latest_revision")
|
|
@@ -4053,7 +3877,7 @@ class CfnReplicator(
|
|
|
4053
3877
|
metaclass=jsii.JSIIMeta,
|
|
4054
3878
|
jsii_type="aws-cdk-lib.aws_msk.CfnReplicator",
|
|
4055
3879
|
):
|
|
4056
|
-
'''
|
|
3880
|
+
'''Creates the replicator.
|
|
4057
3881
|
|
|
4058
3882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
|
|
4059
3883
|
:cloudformationResource: AWS::MSK::Replicator
|
|
@@ -4134,13 +3958,13 @@ class CfnReplicator(
|
|
|
4134
3958
|
'''
|
|
4135
3959
|
:param scope: Scope in which this resource is defined.
|
|
4136
3960
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4137
|
-
:param kafka_clusters:
|
|
3961
|
+
:param kafka_clusters: Kafka Clusters to use in setting up sources / targets for replication.
|
|
4138
3962
|
:param replication_info_list: A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
|
|
4139
|
-
:param replicator_name: The name of the replicator.
|
|
4140
|
-
:param service_execution_role_arn: The
|
|
4141
|
-
:param current_version: The current version of the
|
|
3963
|
+
:param replicator_name: The name of the replicator. Alpha-numeric characters with '-' are allowed.
|
|
3964
|
+
:param service_execution_role_arn: The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
|
|
3965
|
+
:param current_version: The current version number of the replicator.
|
|
4142
3966
|
:param description: A summary description of the replicator.
|
|
4143
|
-
:param tags:
|
|
3967
|
+
:param tags: List of tags to attach to created Replicator.
|
|
4144
3968
|
'''
|
|
4145
3969
|
if __debug__:
|
|
4146
3970
|
type_hints = typing.get_type_hints(_typecheckingstub__dfeb157957f65ee344afab32ca8fffe9eb07ec631c59935f85e890a85df3294b)
|
|
@@ -4213,7 +4037,7 @@ class CfnReplicator(
|
|
|
4213
4037
|
def kafka_clusters(
|
|
4214
4038
|
self,
|
|
4215
4039
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnReplicator.KafkaClusterProperty"]]]:
|
|
4216
|
-
'''
|
|
4040
|
+
'''Kafka Clusters to use in setting up sources / targets for replication.'''
|
|
4217
4041
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnReplicator.KafkaClusterProperty"]]], jsii.get(self, "kafkaClusters"))
|
|
4218
4042
|
|
|
4219
4043
|
@kafka_clusters.setter
|
|
@@ -4260,7 +4084,7 @@ class CfnReplicator(
|
|
|
4260
4084
|
@builtins.property
|
|
4261
4085
|
@jsii.member(jsii_name="serviceExecutionRoleArn")
|
|
4262
4086
|
def service_execution_role_arn(self) -> builtins.str:
|
|
4263
|
-
'''The
|
|
4087
|
+
'''The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).'''
|
|
4264
4088
|
return typing.cast(builtins.str, jsii.get(self, "serviceExecutionRoleArn"))
|
|
4265
4089
|
|
|
4266
4090
|
@service_execution_role_arn.setter
|
|
@@ -4273,7 +4097,7 @@ class CfnReplicator(
|
|
|
4273
4097
|
@builtins.property
|
|
4274
4098
|
@jsii.member(jsii_name="currentVersion")
|
|
4275
4099
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
4276
|
-
'''The current version of the
|
|
4100
|
+
'''The current version number of the replicator.'''
|
|
4277
4101
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "currentVersion"))
|
|
4278
4102
|
|
|
4279
4103
|
@current_version.setter
|
|
@@ -4299,7 +4123,7 @@ class CfnReplicator(
|
|
|
4299
4123
|
@builtins.property
|
|
4300
4124
|
@jsii.member(jsii_name="tags")
|
|
4301
4125
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4302
|
-
'''
|
|
4126
|
+
'''List of tags to attach to created Replicator.'''
|
|
4303
4127
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4304
4128
|
|
|
4305
4129
|
@tags.setter
|
|
@@ -4316,9 +4140,9 @@ class CfnReplicator(
|
|
|
4316
4140
|
)
|
|
4317
4141
|
class AmazonMskClusterProperty:
|
|
4318
4142
|
def __init__(self, *, msk_cluster_arn: builtins.str) -> None:
|
|
4319
|
-
'''Details of an Amazon MSK
|
|
4143
|
+
'''Details of an Amazon MSK Cluster.
|
|
4320
4144
|
|
|
4321
|
-
:param msk_cluster_arn: The ARN of an Amazon MSK cluster.
|
|
4145
|
+
:param msk_cluster_arn: The Amazon Resource Name (ARN) of an Amazon MSK cluster.
|
|
4322
4146
|
|
|
4323
4147
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-amazonmskcluster.html
|
|
4324
4148
|
:exampleMetadata: fixture=_generated
|
|
@@ -4342,7 +4166,7 @@ class CfnReplicator(
|
|
|
4342
4166
|
|
|
4343
4167
|
@builtins.property
|
|
4344
4168
|
def msk_cluster_arn(self) -> builtins.str:
|
|
4345
|
-
'''The ARN of an Amazon MSK cluster.
|
|
4169
|
+
'''The Amazon Resource Name (ARN) of an Amazon MSK cluster.
|
|
4346
4170
|
|
|
4347
4171
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-amazonmskcluster.html#cfn-msk-replicator-amazonmskcluster-mskclusterarn
|
|
4348
4172
|
'''
|
|
@@ -4380,12 +4204,12 @@ class CfnReplicator(
|
|
|
4380
4204
|
detect_and_copy_new_consumer_groups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4381
4205
|
synchronise_consumer_group_offsets: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4382
4206
|
) -> None:
|
|
4383
|
-
'''
|
|
4207
|
+
'''Details about consumer group replication.
|
|
4384
4208
|
|
|
4385
4209
|
:param consumer_groups_to_replicate: List of regular expression patterns indicating the consumer groups to copy.
|
|
4386
4210
|
:param consumer_groups_to_exclude: List of regular expression patterns indicating the consumer groups that should not be replicated.
|
|
4387
|
-
:param detect_and_copy_new_consumer_groups:
|
|
4388
|
-
:param synchronise_consumer_group_offsets:
|
|
4211
|
+
:param detect_and_copy_new_consumer_groups: Enables synchronization of consumer groups to target cluster.
|
|
4212
|
+
:param synchronise_consumer_group_offsets: Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
|
|
4389
4213
|
|
|
4390
4214
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-consumergroupreplication.html
|
|
4391
4215
|
:exampleMetadata: fixture=_generated
|
|
@@ -4446,7 +4270,7 @@ class CfnReplicator(
|
|
|
4446
4270
|
def detect_and_copy_new_consumer_groups(
|
|
4447
4271
|
self,
|
|
4448
4272
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4449
|
-
'''
|
|
4273
|
+
'''Enables synchronization of consumer groups to target cluster.
|
|
4450
4274
|
|
|
4451
4275
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-consumergroupreplication.html#cfn-msk-replicator-consumergroupreplication-detectandcopynewconsumergroups
|
|
4452
4276
|
'''
|
|
@@ -4457,7 +4281,9 @@ class CfnReplicator(
|
|
|
4457
4281
|
def synchronise_consumer_group_offsets(
|
|
4458
4282
|
self,
|
|
4459
4283
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4460
|
-
'''
|
|
4284
|
+
'''Enables synchronization of consumer group offsets to target cluster.
|
|
4285
|
+
|
|
4286
|
+
The translated offsets will be written to topic __consumer_offsets.
|
|
4461
4287
|
|
|
4462
4288
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-consumergroupreplication.html#cfn-msk-replicator-consumergroupreplication-synchroniseconsumergroupoffsets
|
|
4463
4289
|
'''
|
|
@@ -4490,10 +4316,10 @@ class CfnReplicator(
|
|
|
4490
4316
|
subnet_ids: typing.Sequence[builtins.str],
|
|
4491
4317
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4492
4318
|
) -> None:
|
|
4493
|
-
'''Details of an Amazon VPC which has network connectivity to the Kafka cluster.
|
|
4319
|
+
'''Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
|
|
4494
4320
|
|
|
4495
|
-
:param subnet_ids: The list of subnets
|
|
4496
|
-
:param security_group_ids: The
|
|
4321
|
+
:param subnet_ids: The list of subnets in the client VPC to connect to.
|
|
4322
|
+
:param security_group_ids: The security groups to attach to the ENIs for the broker nodes.
|
|
4497
4323
|
|
|
4498
4324
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkaclusterclientvpcconfig.html
|
|
4499
4325
|
:exampleMetadata: fixture=_generated
|
|
@@ -4523,9 +4349,7 @@ class CfnReplicator(
|
|
|
4523
4349
|
|
|
4524
4350
|
@builtins.property
|
|
4525
4351
|
def subnet_ids(self) -> typing.List[builtins.str]:
|
|
4526
|
-
'''The list of subnets
|
|
4527
|
-
|
|
4528
|
-
AWS creates elastic network interfaces inside these subnets.
|
|
4352
|
+
'''The list of subnets in the client VPC to connect to.
|
|
4529
4353
|
|
|
4530
4354
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkaclusterclientvpcconfig.html#cfn-msk-replicator-kafkaclusterclientvpcconfig-subnetids
|
|
4531
4355
|
'''
|
|
@@ -4535,9 +4359,7 @@ class CfnReplicator(
|
|
|
4535
4359
|
|
|
4536
4360
|
@builtins.property
|
|
4537
4361
|
def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4538
|
-
'''The
|
|
4539
|
-
|
|
4540
|
-
If a security group is not specified, the default security group associated with the VPC is used.
|
|
4362
|
+
'''The security groups to attach to the ENIs for the broker nodes.
|
|
4541
4363
|
|
|
4542
4364
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkaclusterclientvpcconfig.html#cfn-msk-replicator-kafkaclusterclientvpcconfig-securitygroupids
|
|
4543
4365
|
'''
|
|
@@ -4570,10 +4392,10 @@ class CfnReplicator(
|
|
|
4570
4392
|
amazon_msk_cluster: typing.Union[_IResolvable_da3f097b, typing.Union["CfnReplicator.AmazonMskClusterProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4571
4393
|
vpc_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnReplicator.KafkaClusterClientVpcConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4572
4394
|
) -> None:
|
|
4573
|
-
'''
|
|
4395
|
+
'''Information about Kafka Cluster to be used as source / target for replication.
|
|
4574
4396
|
|
|
4575
|
-
:param amazon_msk_cluster: Details of an Amazon MSK
|
|
4576
|
-
:param vpc_config: Details of an Amazon VPC which has network connectivity to the Kafka cluster.
|
|
4397
|
+
:param amazon_msk_cluster: Details of an Amazon MSK Cluster.
|
|
4398
|
+
:param vpc_config: Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
|
|
4577
4399
|
|
|
4578
4400
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkacluster.html
|
|
4579
4401
|
:exampleMetadata: fixture=_generated
|
|
@@ -4609,7 +4431,7 @@ class CfnReplicator(
|
|
|
4609
4431
|
def amazon_msk_cluster(
|
|
4610
4432
|
self,
|
|
4611
4433
|
) -> typing.Union[_IResolvable_da3f097b, "CfnReplicator.AmazonMskClusterProperty"]:
|
|
4612
|
-
'''Details of an Amazon MSK
|
|
4434
|
+
'''Details of an Amazon MSK Cluster.
|
|
4613
4435
|
|
|
4614
4436
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkacluster.html#cfn-msk-replicator-kafkacluster-amazonmskcluster
|
|
4615
4437
|
'''
|
|
@@ -4621,7 +4443,7 @@ class CfnReplicator(
|
|
|
4621
4443
|
def vpc_config(
|
|
4622
4444
|
self,
|
|
4623
4445
|
) -> typing.Union[_IResolvable_da3f097b, "CfnReplicator.KafkaClusterClientVpcConfigProperty"]:
|
|
4624
|
-
'''Details of an Amazon VPC which has network connectivity to the Kafka cluster.
|
|
4446
|
+
'''Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
|
|
4625
4447
|
|
|
4626
4448
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-kafkacluster.html#cfn-msk-replicator-kafkacluster-vpcconfig
|
|
4627
4449
|
'''
|
|
@@ -4664,10 +4486,10 @@ class CfnReplicator(
|
|
|
4664
4486
|
'''Specifies configuration for replication between a source and target Kafka cluster.
|
|
4665
4487
|
|
|
4666
4488
|
:param consumer_group_replication: Configuration relating to consumer group replication.
|
|
4667
|
-
:param source_kafka_cluster_arn:
|
|
4668
|
-
:param target_compression_type: The type
|
|
4669
|
-
:param target_kafka_cluster_arn:
|
|
4670
|
-
:param topic_replication:
|
|
4489
|
+
:param source_kafka_cluster_arn: The ARN of the source Kafka cluster.
|
|
4490
|
+
:param target_compression_type: The compression type to use when producing records to target cluster.
|
|
4491
|
+
:param target_kafka_cluster_arn: The ARN of the target Kafka cluster.
|
|
4492
|
+
:param topic_replication: Configuration relating to topic replication.
|
|
4671
4493
|
|
|
4672
4494
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationinfo.html
|
|
4673
4495
|
:exampleMetadata: fixture=_generated
|
|
@@ -4736,7 +4558,7 @@ class CfnReplicator(
|
|
|
4736
4558
|
|
|
4737
4559
|
@builtins.property
|
|
4738
4560
|
def source_kafka_cluster_arn(self) -> builtins.str:
|
|
4739
|
-
'''
|
|
4561
|
+
'''The ARN of the source Kafka cluster.
|
|
4740
4562
|
|
|
4741
4563
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationinfo.html#cfn-msk-replicator-replicationinfo-sourcekafkaclusterarn
|
|
4742
4564
|
'''
|
|
@@ -4746,7 +4568,7 @@ class CfnReplicator(
|
|
|
4746
4568
|
|
|
4747
4569
|
@builtins.property
|
|
4748
4570
|
def target_compression_type(self) -> builtins.str:
|
|
4749
|
-
'''The type
|
|
4571
|
+
'''The compression type to use when producing records to target cluster.
|
|
4750
4572
|
|
|
4751
4573
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationinfo.html#cfn-msk-replicator-replicationinfo-targetcompressiontype
|
|
4752
4574
|
'''
|
|
@@ -4756,7 +4578,7 @@ class CfnReplicator(
|
|
|
4756
4578
|
|
|
4757
4579
|
@builtins.property
|
|
4758
4580
|
def target_kafka_cluster_arn(self) -> builtins.str:
|
|
4759
|
-
'''
|
|
4581
|
+
'''The ARN of the target Kafka cluster.
|
|
4760
4582
|
|
|
4761
4583
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationinfo.html#cfn-msk-replicator-replicationinfo-targetkafkaclusterarn
|
|
4762
4584
|
'''
|
|
@@ -4768,7 +4590,8 @@ class CfnReplicator(
|
|
|
4768
4590
|
def topic_replication(
|
|
4769
4591
|
self,
|
|
4770
4592
|
) -> typing.Union[_IResolvable_da3f097b, "CfnReplicator.TopicReplicationProperty"]:
|
|
4771
|
-
'''
|
|
4593
|
+
'''Configuration relating to topic replication.
|
|
4594
|
+
|
|
4772
4595
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationinfo.html#cfn-msk-replicator-replicationinfo-topicreplication
|
|
4773
4596
|
'''
|
|
4774
4597
|
result = self._values.get("topic_replication")
|
|
@@ -4793,7 +4616,7 @@ class CfnReplicator(
|
|
|
4793
4616
|
)
|
|
4794
4617
|
class ReplicationStartingPositionProperty:
|
|
4795
4618
|
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
4796
|
-
'''
|
|
4619
|
+
'''Specifies the position in the topics to start replicating from.
|
|
4797
4620
|
|
|
4798
4621
|
:param type: The type of replication starting position.
|
|
4799
4622
|
|
|
@@ -4844,9 +4667,9 @@ class CfnReplicator(
|
|
|
4844
4667
|
)
|
|
4845
4668
|
class ReplicationTopicNameConfigurationProperty:
|
|
4846
4669
|
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
4847
|
-
'''Configuration for specifying replicated topic names
|
|
4670
|
+
'''Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
|
|
4848
4671
|
|
|
4849
|
-
:param type: The type of
|
|
4672
|
+
:param type: The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias.
|
|
4850
4673
|
|
|
4851
4674
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationtopicnameconfiguration.html
|
|
4852
4675
|
:exampleMetadata: fixture=_generated
|
|
@@ -4870,7 +4693,7 @@ class CfnReplicator(
|
|
|
4870
4693
|
|
|
4871
4694
|
@builtins.property
|
|
4872
4695
|
def type(self) -> typing.Optional[builtins.str]:
|
|
4873
|
-
'''The type of
|
|
4696
|
+
'''The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias.
|
|
4874
4697
|
|
|
4875
4698
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationtopicnameconfiguration.html#cfn-msk-replicator-replicationtopicnameconfiguration-type
|
|
4876
4699
|
'''
|
|
@@ -4913,13 +4736,14 @@ class CfnReplicator(
|
|
|
4913
4736
|
topic_name_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnReplicator.ReplicationTopicNameConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4914
4737
|
topics_to_exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4915
4738
|
) -> None:
|
|
4916
|
-
'''
|
|
4739
|
+
'''Details about topic replication.
|
|
4740
|
+
|
|
4917
4741
|
:param topics_to_replicate: List of regular expression patterns indicating the topics to copy.
|
|
4918
4742
|
:param copy_access_control_lists_for_topics: Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
|
4919
4743
|
:param copy_topic_configurations: Whether to periodically configure remote topics to match their corresponding upstream topics.
|
|
4920
4744
|
:param detect_and_copy_new_topics: Whether to periodically check for new topics and partitions.
|
|
4921
|
-
:param starting_position:
|
|
4922
|
-
:param topic_name_configuration: Configuration for specifying replicated topic names
|
|
4745
|
+
:param starting_position: Specifies the position in the topics to start replicating from.
|
|
4746
|
+
:param topic_name_configuration: Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
|
|
4923
4747
|
:param topics_to_exclude: List of regular expression patterns indicating the topics that should not be replicated.
|
|
4924
4748
|
|
|
4925
4749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-topicreplication.html
|
|
@@ -5019,7 +4843,7 @@ class CfnReplicator(
|
|
|
5019
4843
|
def starting_position(
|
|
5020
4844
|
self,
|
|
5021
4845
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnReplicator.ReplicationStartingPositionProperty"]]:
|
|
5022
|
-
'''
|
|
4846
|
+
'''Specifies the position in the topics to start replicating from.
|
|
5023
4847
|
|
|
5024
4848
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-topicreplication.html#cfn-msk-replicator-topicreplication-startingposition
|
|
5025
4849
|
'''
|
|
@@ -5030,7 +4854,7 @@ class CfnReplicator(
|
|
|
5030
4854
|
def topic_name_configuration(
|
|
5031
4855
|
self,
|
|
5032
4856
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnReplicator.ReplicationTopicNameConfigurationProperty"]]:
|
|
5033
|
-
'''Configuration for specifying replicated topic names
|
|
4857
|
+
'''Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
|
|
5034
4858
|
|
|
5035
4859
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-topicreplication.html#cfn-msk-replicator-topicreplication-topicnameconfiguration
|
|
5036
4860
|
'''
|
|
@@ -5085,13 +4909,13 @@ class CfnReplicatorProps:
|
|
|
5085
4909
|
) -> None:
|
|
5086
4910
|
'''Properties for defining a ``CfnReplicator``.
|
|
5087
4911
|
|
|
5088
|
-
:param kafka_clusters:
|
|
4912
|
+
:param kafka_clusters: Kafka Clusters to use in setting up sources / targets for replication.
|
|
5089
4913
|
:param replication_info_list: A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
|
|
5090
|
-
:param replicator_name: The name of the replicator.
|
|
5091
|
-
:param service_execution_role_arn: The
|
|
5092
|
-
:param current_version: The current version of the
|
|
4914
|
+
:param replicator_name: The name of the replicator. Alpha-numeric characters with '-' are allowed.
|
|
4915
|
+
:param service_execution_role_arn: The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
|
|
4916
|
+
:param current_version: The current version number of the replicator.
|
|
5093
4917
|
:param description: A summary description of the replicator.
|
|
5094
|
-
:param tags:
|
|
4918
|
+
:param tags: List of tags to attach to created Replicator.
|
|
5095
4919
|
|
|
5096
4920
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
|
|
5097
4921
|
:exampleMetadata: fixture=_generated
|
|
@@ -5180,7 +5004,7 @@ class CfnReplicatorProps:
|
|
|
5180
5004
|
def kafka_clusters(
|
|
5181
5005
|
self,
|
|
5182
5006
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnReplicator.KafkaClusterProperty]]]:
|
|
5183
|
-
'''
|
|
5007
|
+
'''Kafka Clusters to use in setting up sources / targets for replication.
|
|
5184
5008
|
|
|
5185
5009
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-kafkaclusters
|
|
5186
5010
|
'''
|
|
@@ -5204,6 +5028,8 @@ class CfnReplicatorProps:
|
|
|
5204
5028
|
def replicator_name(self) -> builtins.str:
|
|
5205
5029
|
'''The name of the replicator.
|
|
5206
5030
|
|
|
5031
|
+
Alpha-numeric characters with '-' are allowed.
|
|
5032
|
+
|
|
5207
5033
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-replicatorname
|
|
5208
5034
|
'''
|
|
5209
5035
|
result = self._values.get("replicator_name")
|
|
@@ -5212,7 +5038,7 @@ class CfnReplicatorProps:
|
|
|
5212
5038
|
|
|
5213
5039
|
@builtins.property
|
|
5214
5040
|
def service_execution_role_arn(self) -> builtins.str:
|
|
5215
|
-
'''The
|
|
5041
|
+
'''The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
|
|
5216
5042
|
|
|
5217
5043
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-serviceexecutionrolearn
|
|
5218
5044
|
'''
|
|
@@ -5222,7 +5048,7 @@ class CfnReplicatorProps:
|
|
|
5222
5048
|
|
|
5223
5049
|
@builtins.property
|
|
5224
5050
|
def current_version(self) -> typing.Optional[builtins.str]:
|
|
5225
|
-
'''The current version of the
|
|
5051
|
+
'''The current version number of the replicator.
|
|
5226
5052
|
|
|
5227
5053
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-currentversion
|
|
5228
5054
|
'''
|
|
@@ -5240,7 +5066,7 @@ class CfnReplicatorProps:
|
|
|
5240
5066
|
|
|
5241
5067
|
@builtins.property
|
|
5242
5068
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5243
|
-
'''
|
|
5069
|
+
'''List of tags to attach to created Replicator.
|
|
5244
5070
|
|
|
5245
5071
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html#cfn-msk-replicator-tags
|
|
5246
5072
|
'''
|
|
@@ -5313,7 +5139,7 @@ class CfnServerlessCluster(
|
|
|
5313
5139
|
'''
|
|
5314
5140
|
:param scope: Scope in which this resource is defined.
|
|
5315
5141
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5316
|
-
:param client_authentication:
|
|
5142
|
+
:param client_authentication:
|
|
5317
5143
|
:param cluster_name:
|
|
5318
5144
|
:param vpc_configs:
|
|
5319
5145
|
:param tags: A key-value pair to associate with a resource.
|
|
@@ -5385,7 +5211,6 @@ class CfnServerlessCluster(
|
|
|
5385
5211
|
def client_authentication(
|
|
5386
5212
|
self,
|
|
5387
5213
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.ClientAuthenticationProperty"]:
|
|
5388
|
-
'''Includes all client authentication information.'''
|
|
5389
5214
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.ClientAuthenticationProperty"], jsii.get(self, "clientAuthentication"))
|
|
5390
5215
|
|
|
5391
5216
|
@client_authentication.setter
|
|
@@ -5454,9 +5279,8 @@ class CfnServerlessCluster(
|
|
|
5454
5279
|
*,
|
|
5455
5280
|
sasl: typing.Union[_IResolvable_da3f097b, typing.Union["CfnServerlessCluster.SaslProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
5456
5281
|
) -> None:
|
|
5457
|
-
'''
|
|
5458
|
-
|
|
5459
|
-
:param sasl: Details for client authentication using SASL. To turn on SASL, you must also turn on ``EncryptionInTransit`` by setting ``inCluster`` to true. You must set ``clientBroker`` to either ``TLS`` or ``TLS_PLAINTEXT`` . If you choose ``TLS_PLAINTEXT`` , then you must also set ``unauthenticated`` to true.
|
|
5282
|
+
'''
|
|
5283
|
+
:param sasl:
|
|
5460
5284
|
|
|
5461
5285
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-clientauthentication.html
|
|
5462
5286
|
:exampleMetadata: fixture=_generated
|
|
@@ -5486,10 +5310,7 @@ class CfnServerlessCluster(
|
|
|
5486
5310
|
def sasl(
|
|
5487
5311
|
self,
|
|
5488
5312
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.SaslProperty"]:
|
|
5489
|
-
'''
|
|
5490
|
-
|
|
5491
|
-
To turn on SASL, you must also turn on ``EncryptionInTransit`` by setting ``inCluster`` to true. You must set ``clientBroker`` to either ``TLS`` or ``TLS_PLAINTEXT`` . If you choose ``TLS_PLAINTEXT`` , then you must also set ``unauthenticated`` to true.
|
|
5492
|
-
|
|
5313
|
+
'''
|
|
5493
5314
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-clientauthentication.html#cfn-msk-serverlesscluster-clientauthentication-sasl
|
|
5494
5315
|
'''
|
|
5495
5316
|
result = self._values.get("sasl")
|
|
@@ -5518,9 +5339,8 @@ class CfnServerlessCluster(
|
|
|
5518
5339
|
*,
|
|
5519
5340
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
5520
5341
|
) -> None:
|
|
5521
|
-
'''
|
|
5522
|
-
|
|
5523
|
-
:param enabled: SASL/IAM authentication is enabled or not.
|
|
5342
|
+
'''
|
|
5343
|
+
:param enabled:
|
|
5524
5344
|
|
|
5525
5345
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-iam.html
|
|
5526
5346
|
:exampleMetadata: fixture=_generated
|
|
@@ -5544,8 +5364,7 @@ class CfnServerlessCluster(
|
|
|
5544
5364
|
|
|
5545
5365
|
@builtins.property
|
|
5546
5366
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
5547
|
-
'''
|
|
5548
|
-
|
|
5367
|
+
'''
|
|
5549
5368
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-iam.html#cfn-msk-serverlesscluster-iam-enabled
|
|
5550
5369
|
'''
|
|
5551
5370
|
result = self._values.get("enabled")
|
|
@@ -5574,11 +5393,8 @@ class CfnServerlessCluster(
|
|
|
5574
5393
|
*,
|
|
5575
5394
|
iam: typing.Union[_IResolvable_da3f097b, typing.Union["CfnServerlessCluster.IamProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
5576
5395
|
) -> None:
|
|
5577
|
-
'''
|
|
5578
|
-
|
|
5579
|
-
To turn on SASL, you must also turn on ``EncryptionInTransit`` by setting ``inCluster`` to true. You must set ``clientBroker`` to either ``TLS`` or ``TLS_PLAINTEXT`` . If you choose ``TLS_PLAINTEXT`` , then you must also set ``unauthenticated`` to true.
|
|
5580
|
-
|
|
5581
|
-
:param iam: Details for ClientAuthentication using IAM.
|
|
5396
|
+
'''
|
|
5397
|
+
:param iam:
|
|
5582
5398
|
|
|
5583
5399
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-sasl.html
|
|
5584
5400
|
:exampleMetadata: fixture=_generated
|
|
@@ -5606,8 +5422,7 @@ class CfnServerlessCluster(
|
|
|
5606
5422
|
def iam(
|
|
5607
5423
|
self,
|
|
5608
5424
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServerlessCluster.IamProperty"]:
|
|
5609
|
-
'''
|
|
5610
|
-
|
|
5425
|
+
'''
|
|
5611
5426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-serverlesscluster-sasl.html#cfn-msk-serverlesscluster-sasl-iam
|
|
5612
5427
|
'''
|
|
5613
5428
|
result = self._values.get("iam")
|
|
@@ -5717,7 +5532,7 @@ class CfnServerlessClusterProps:
|
|
|
5717
5532
|
) -> None:
|
|
5718
5533
|
'''Properties for defining a ``CfnServerlessCluster``.
|
|
5719
5534
|
|
|
5720
|
-
:param client_authentication:
|
|
5535
|
+
:param client_authentication:
|
|
5721
5536
|
:param cluster_name:
|
|
5722
5537
|
:param vpc_configs:
|
|
5723
5538
|
:param tags: A key-value pair to associate with a resource.
|
|
@@ -5771,8 +5586,7 @@ class CfnServerlessClusterProps:
|
|
|
5771
5586
|
def client_authentication(
|
|
5772
5587
|
self,
|
|
5773
5588
|
) -> typing.Union[_IResolvable_da3f097b, CfnServerlessCluster.ClientAuthenticationProperty]:
|
|
5774
|
-
'''
|
|
5775
|
-
|
|
5589
|
+
'''
|
|
5776
5590
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-clientauthentication
|
|
5777
5591
|
'''
|
|
5778
5592
|
result = self._values.get("client_authentication")
|
|
@@ -5826,7 +5640,7 @@ class CfnVpcConnection(
|
|
|
5826
5640
|
metaclass=jsii.JSIIMeta,
|
|
5827
5641
|
jsii_type="aws-cdk-lib.aws_msk.CfnVpcConnection",
|
|
5828
5642
|
):
|
|
5829
|
-
'''
|
|
5643
|
+
'''http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html.
|
|
5830
5644
|
|
|
5831
5645
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html
|
|
5832
5646
|
:cloudformationResource: AWS::MSK::VpcConnection
|
|
@@ -5868,11 +5682,11 @@ class CfnVpcConnection(
|
|
|
5868
5682
|
:param scope: Scope in which this resource is defined.
|
|
5869
5683
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5870
5684
|
:param authentication: The type of private link authentication.
|
|
5871
|
-
:param client_subnets:
|
|
5872
|
-
:param security_groups:
|
|
5873
|
-
:param target_cluster_arn: The Amazon Resource Name (ARN) of the cluster.
|
|
5874
|
-
:param vpc_id:
|
|
5875
|
-
:param tags:
|
|
5685
|
+
:param client_subnets:
|
|
5686
|
+
:param security_groups:
|
|
5687
|
+
:param target_cluster_arn: The Amazon Resource Name (ARN) of the target cluster.
|
|
5688
|
+
:param vpc_id:
|
|
5689
|
+
:param tags: A key-value pair to associate with a resource.
|
|
5876
5690
|
'''
|
|
5877
5691
|
if __debug__:
|
|
5878
5692
|
type_hints = typing.get_type_hints(_typecheckingstub__910be42f1d726644d84801975cd038e26103e9dbcfb02007fe4ebdbeb62c3af8)
|
|
@@ -5955,7 +5769,6 @@ class CfnVpcConnection(
|
|
|
5955
5769
|
@builtins.property
|
|
5956
5770
|
@jsii.member(jsii_name="clientSubnets")
|
|
5957
5771
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
5958
|
-
'''The list of subnets in the client VPC to connect to.'''
|
|
5959
5772
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "clientSubnets"))
|
|
5960
5773
|
|
|
5961
5774
|
@client_subnets.setter
|
|
@@ -5968,7 +5781,6 @@ class CfnVpcConnection(
|
|
|
5968
5781
|
@builtins.property
|
|
5969
5782
|
@jsii.member(jsii_name="securityGroups")
|
|
5970
5783
|
def security_groups(self) -> typing.List[builtins.str]:
|
|
5971
|
-
'''The security groups to attach to the ENIs for the broker nodes.'''
|
|
5972
5784
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "securityGroups"))
|
|
5973
5785
|
|
|
5974
5786
|
@security_groups.setter
|
|
@@ -5981,7 +5793,7 @@ class CfnVpcConnection(
|
|
|
5981
5793
|
@builtins.property
|
|
5982
5794
|
@jsii.member(jsii_name="targetClusterArn")
|
|
5983
5795
|
def target_cluster_arn(self) -> builtins.str:
|
|
5984
|
-
'''The Amazon Resource Name (ARN) of the cluster.'''
|
|
5796
|
+
'''The Amazon Resource Name (ARN) of the target cluster.'''
|
|
5985
5797
|
return typing.cast(builtins.str, jsii.get(self, "targetClusterArn"))
|
|
5986
5798
|
|
|
5987
5799
|
@target_cluster_arn.setter
|
|
@@ -5994,7 +5806,6 @@ class CfnVpcConnection(
|
|
|
5994
5806
|
@builtins.property
|
|
5995
5807
|
@jsii.member(jsii_name="vpcId")
|
|
5996
5808
|
def vpc_id(self) -> builtins.str:
|
|
5997
|
-
'''The VPC id of the remote client.'''
|
|
5998
5809
|
return typing.cast(builtins.str, jsii.get(self, "vpcId"))
|
|
5999
5810
|
|
|
6000
5811
|
@vpc_id.setter
|
|
@@ -6007,7 +5818,7 @@ class CfnVpcConnection(
|
|
|
6007
5818
|
@builtins.property
|
|
6008
5819
|
@jsii.member(jsii_name="tagsRaw")
|
|
6009
5820
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
6010
|
-
'''
|
|
5821
|
+
'''A key-value pair to associate with a resource.'''
|
|
6011
5822
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tagsRaw"))
|
|
6012
5823
|
|
|
6013
5824
|
@tags_raw.setter
|
|
@@ -6047,11 +5858,11 @@ class CfnVpcConnectionProps:
|
|
|
6047
5858
|
'''Properties for defining a ``CfnVpcConnection``.
|
|
6048
5859
|
|
|
6049
5860
|
:param authentication: The type of private link authentication.
|
|
6050
|
-
:param client_subnets:
|
|
6051
|
-
:param security_groups:
|
|
6052
|
-
:param target_cluster_arn: The Amazon Resource Name (ARN) of the cluster.
|
|
6053
|
-
:param vpc_id:
|
|
6054
|
-
:param tags:
|
|
5861
|
+
:param client_subnets:
|
|
5862
|
+
:param security_groups:
|
|
5863
|
+
:param target_cluster_arn: The Amazon Resource Name (ARN) of the target cluster.
|
|
5864
|
+
:param vpc_id:
|
|
5865
|
+
:param tags: A key-value pair to associate with a resource.
|
|
6055
5866
|
|
|
6056
5867
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html
|
|
6057
5868
|
:exampleMetadata: fixture=_generated
|
|
@@ -6105,8 +5916,7 @@ class CfnVpcConnectionProps:
|
|
|
6105
5916
|
|
|
6106
5917
|
@builtins.property
|
|
6107
5918
|
def client_subnets(self) -> typing.List[builtins.str]:
|
|
6108
|
-
'''
|
|
6109
|
-
|
|
5919
|
+
'''
|
|
6110
5920
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-clientsubnets
|
|
6111
5921
|
'''
|
|
6112
5922
|
result = self._values.get("client_subnets")
|
|
@@ -6115,8 +5925,7 @@ class CfnVpcConnectionProps:
|
|
|
6115
5925
|
|
|
6116
5926
|
@builtins.property
|
|
6117
5927
|
def security_groups(self) -> typing.List[builtins.str]:
|
|
6118
|
-
'''
|
|
6119
|
-
|
|
5928
|
+
'''
|
|
6120
5929
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-securitygroups
|
|
6121
5930
|
'''
|
|
6122
5931
|
result = self._values.get("security_groups")
|
|
@@ -6125,7 +5934,7 @@ class CfnVpcConnectionProps:
|
|
|
6125
5934
|
|
|
6126
5935
|
@builtins.property
|
|
6127
5936
|
def target_cluster_arn(self) -> builtins.str:
|
|
6128
|
-
'''The Amazon Resource Name (ARN) of the cluster.
|
|
5937
|
+
'''The Amazon Resource Name (ARN) of the target cluster.
|
|
6129
5938
|
|
|
6130
5939
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-targetclusterarn
|
|
6131
5940
|
'''
|
|
@@ -6135,8 +5944,7 @@ class CfnVpcConnectionProps:
|
|
|
6135
5944
|
|
|
6136
5945
|
@builtins.property
|
|
6137
5946
|
def vpc_id(self) -> builtins.str:
|
|
6138
|
-
'''
|
|
6139
|
-
|
|
5947
|
+
'''
|
|
6140
5948
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-vpcid
|
|
6141
5949
|
'''
|
|
6142
5950
|
result = self._values.get("vpc_id")
|
|
@@ -6145,7 +5953,7 @@ class CfnVpcConnectionProps:
|
|
|
6145
5953
|
|
|
6146
5954
|
@builtins.property
|
|
6147
5955
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
6148
|
-
'''
|
|
5956
|
+
'''A key-value pair to associate with a resource.
|
|
6149
5957
|
|
|
6150
5958
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.html#cfn-msk-vpcconnection-tags
|
|
6151
5959
|
'''
|