aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.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.
- aws_cdk/__init__.py +14 -1
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +108 -3
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
- aws_cdk/aws_appconfig/__init__.py +189 -8
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +560 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +74 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +9 -4
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +26 -12
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +426 -73
- aws_cdk/aws_bedrock/__init__.py +200 -2
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +4 -1
- aws_cdk/aws_cloudfront/__init__.py +5 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +47 -14
- aws_cdk/aws_cloudwatch/__init__.py +21 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +815 -2
- aws_cdk/aws_codebuild/__init__.py +38 -16
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +27 -8
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +44 -40
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +277 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +396 -13
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +5 -2
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +419 -5
- aws_cdk/aws_ec2/__init__.py +3530 -504
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +12 -4
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +69 -47
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +96 -66
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +147 -3
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +12 -10
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +88 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +138 -55
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
- aws_cdk/aws_kendra/__init__.py +56 -39
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +91 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +26 -18
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +45 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +150 -27
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +6 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +77 -14
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +7 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +99 -46
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +20 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -42,13 +45,16 @@ from .._jsii import *
|
|
|
42
45
|
import constructs as _constructs_77d1e7e8
|
|
43
46
|
from .. import (
|
|
44
47
|
CfnResource as _CfnResource_9df397a6,
|
|
48
|
+
CfnTag as _CfnTag_f6864754,
|
|
45
49
|
IInspectable as _IInspectable_c2943556,
|
|
46
50
|
IResolvable as _IResolvable_da3f097b,
|
|
51
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
52
|
+
TagManager as _TagManager_0a598cb3,
|
|
47
53
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
48
54
|
)
|
|
49
55
|
|
|
50
56
|
|
|
51
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
57
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
52
58
|
class CfnConnector(
|
|
53
59
|
_CfnResource_9df397a6,
|
|
54
60
|
metaclass=jsii.JSIIMeta,
|
|
@@ -139,6 +145,10 @@ class CfnConnector(
|
|
|
139
145
|
)
|
|
140
146
|
)
|
|
141
147
|
),
|
|
148
|
+
tags=[CfnTag(
|
|
149
|
+
key="key",
|
|
150
|
+
value="value"
|
|
151
|
+
)],
|
|
142
152
|
worker_configuration=kafkaconnect.CfnConnector.WorkerConfigurationProperty(
|
|
143
153
|
revision=123,
|
|
144
154
|
worker_configuration_arn="workerConfigurationArn"
|
|
@@ -162,6 +172,7 @@ class CfnConnector(
|
|
|
162
172
|
service_execution_role_arn: builtins.str,
|
|
163
173
|
connector_description: typing.Optional[builtins.str] = None,
|
|
164
174
|
log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnector.LogDeliveryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
175
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
165
176
|
worker_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnector.WorkerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
166
177
|
) -> None:
|
|
167
178
|
'''
|
|
@@ -178,6 +189,7 @@ class CfnConnector(
|
|
|
178
189
|
:param service_execution_role_arn: The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
|
|
179
190
|
:param connector_description: The description of the connector.
|
|
180
191
|
:param log_delivery: The settings for delivering connector logs to Amazon CloudWatch Logs.
|
|
192
|
+
:param tags: A collection of tags associated with a resource.
|
|
181
193
|
:param worker_configuration: The worker configurations that are in use with the connector.
|
|
182
194
|
'''
|
|
183
195
|
if __debug__:
|
|
@@ -196,6 +208,7 @@ class CfnConnector(
|
|
|
196
208
|
service_execution_role_arn=service_execution_role_arn,
|
|
197
209
|
connector_description=connector_description,
|
|
198
210
|
log_delivery=log_delivery,
|
|
211
|
+
tags=tags,
|
|
199
212
|
worker_configuration=worker_configuration,
|
|
200
213
|
)
|
|
201
214
|
|
|
@@ -240,6 +253,12 @@ class CfnConnector(
|
|
|
240
253
|
'''
|
|
241
254
|
return typing.cast(builtins.str, jsii.get(self, "attrConnectorArn"))
|
|
242
255
|
|
|
256
|
+
@builtins.property
|
|
257
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
258
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
259
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
260
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
261
|
+
|
|
243
262
|
@builtins.property
|
|
244
263
|
@jsii.member(jsii_name="cfnProperties")
|
|
245
264
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -423,6 +442,19 @@ class CfnConnector(
|
|
|
423
442
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
424
443
|
jsii.set(self, "logDelivery", value)
|
|
425
444
|
|
|
445
|
+
@builtins.property
|
|
446
|
+
@jsii.member(jsii_name="tags")
|
|
447
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
448
|
+
'''A collection of tags associated with a resource.'''
|
|
449
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
450
|
+
|
|
451
|
+
@tags.setter
|
|
452
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
453
|
+
if __debug__:
|
|
454
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6afece2b4589a6c48de5a35d55d9159549277f37f560c619fd1daf8392fd3534)
|
|
455
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
456
|
+
jsii.set(self, "tags", value)
|
|
457
|
+
|
|
426
458
|
@builtins.property
|
|
427
459
|
@jsii.member(jsii_name="workerConfiguration")
|
|
428
460
|
def worker_configuration(
|
|
@@ -1810,6 +1842,7 @@ class CfnConnector(
|
|
|
1810
1842
|
"service_execution_role_arn": "serviceExecutionRoleArn",
|
|
1811
1843
|
"connector_description": "connectorDescription",
|
|
1812
1844
|
"log_delivery": "logDelivery",
|
|
1845
|
+
"tags": "tags",
|
|
1813
1846
|
"worker_configuration": "workerConfiguration",
|
|
1814
1847
|
},
|
|
1815
1848
|
)
|
|
@@ -1828,6 +1861,7 @@ class CfnConnectorProps:
|
|
|
1828
1861
|
service_execution_role_arn: builtins.str,
|
|
1829
1862
|
connector_description: typing.Optional[builtins.str] = None,
|
|
1830
1863
|
log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.LogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1864
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1831
1865
|
worker_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1832
1866
|
) -> None:
|
|
1833
1867
|
'''Properties for defining a ``CfnConnector``.
|
|
@@ -1843,6 +1877,7 @@ class CfnConnectorProps:
|
|
|
1843
1877
|
:param service_execution_role_arn: The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
|
|
1844
1878
|
:param connector_description: The description of the connector.
|
|
1845
1879
|
:param log_delivery: The settings for delivering connector logs to Amazon CloudWatch Logs.
|
|
1880
|
+
:param tags: A collection of tags associated with a resource.
|
|
1846
1881
|
:param worker_configuration: The worker configurations that are in use with the connector.
|
|
1847
1882
|
|
|
1848
1883
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html
|
|
@@ -1927,6 +1962,10 @@ class CfnConnectorProps:
|
|
|
1927
1962
|
)
|
|
1928
1963
|
)
|
|
1929
1964
|
),
|
|
1965
|
+
tags=[CfnTag(
|
|
1966
|
+
key="key",
|
|
1967
|
+
value="value"
|
|
1968
|
+
)],
|
|
1930
1969
|
worker_configuration=kafkaconnect.CfnConnector.WorkerConfigurationProperty(
|
|
1931
1970
|
revision=123,
|
|
1932
1971
|
worker_configuration_arn="workerConfigurationArn"
|
|
@@ -1946,6 +1985,7 @@ class CfnConnectorProps:
|
|
|
1946
1985
|
check_type(argname="argument service_execution_role_arn", value=service_execution_role_arn, expected_type=type_hints["service_execution_role_arn"])
|
|
1947
1986
|
check_type(argname="argument connector_description", value=connector_description, expected_type=type_hints["connector_description"])
|
|
1948
1987
|
check_type(argname="argument log_delivery", value=log_delivery, expected_type=type_hints["log_delivery"])
|
|
1988
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1949
1989
|
check_type(argname="argument worker_configuration", value=worker_configuration, expected_type=type_hints["worker_configuration"])
|
|
1950
1990
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1951
1991
|
"capacity": capacity,
|
|
@@ -1962,6 +2002,8 @@ class CfnConnectorProps:
|
|
|
1962
2002
|
self._values["connector_description"] = connector_description
|
|
1963
2003
|
if log_delivery is not None:
|
|
1964
2004
|
self._values["log_delivery"] = log_delivery
|
|
2005
|
+
if tags is not None:
|
|
2006
|
+
self._values["tags"] = tags
|
|
1965
2007
|
if worker_configuration is not None:
|
|
1966
2008
|
self._values["worker_configuration"] = worker_configuration
|
|
1967
2009
|
|
|
@@ -2093,6 +2135,15 @@ class CfnConnectorProps:
|
|
|
2093
2135
|
result = self._values.get("log_delivery")
|
|
2094
2136
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnector.LogDeliveryProperty]], result)
|
|
2095
2137
|
|
|
2138
|
+
@builtins.property
|
|
2139
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2140
|
+
'''A collection of tags associated with a resource.
|
|
2141
|
+
|
|
2142
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-tags
|
|
2143
|
+
'''
|
|
2144
|
+
result = self._values.get("tags")
|
|
2145
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2146
|
+
|
|
2096
2147
|
@builtins.property
|
|
2097
2148
|
def worker_configuration(
|
|
2098
2149
|
self,
|
|
@@ -2116,192 +2167,1070 @@ class CfnConnectorProps:
|
|
|
2116
2167
|
)
|
|
2117
2168
|
|
|
2118
2169
|
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2170
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2171
|
+
class CfnCustomPlugin(
|
|
2172
|
+
_CfnResource_9df397a6,
|
|
2173
|
+
metaclass=jsii.JSIIMeta,
|
|
2174
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnCustomPlugin",
|
|
2175
|
+
):
|
|
2176
|
+
'''Creates a custom plugin using the specified properties.
|
|
2123
2177
|
|
|
2124
|
-
|
|
2178
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html
|
|
2179
|
+
:cloudformationResource: AWS::KafkaConnect::CustomPlugin
|
|
2180
|
+
:exampleMetadata: fixture=_generated
|
|
2125
2181
|
|
|
2126
|
-
|
|
2127
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
2128
|
-
id: builtins.str,
|
|
2129
|
-
*,
|
|
2130
|
-
capacity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.CapacityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2131
|
-
connector_configuration: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
2132
|
-
connector_name: builtins.str,
|
|
2133
|
-
kafka_cluster: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2134
|
-
kafka_cluster_client_authentication: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterClientAuthenticationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2135
|
-
kafka_cluster_encryption_in_transit: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterEncryptionInTransitProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2136
|
-
kafka_connect_version: builtins.str,
|
|
2137
|
-
plugins: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.PluginProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2138
|
-
service_execution_role_arn: builtins.str,
|
|
2139
|
-
connector_description: typing.Optional[builtins.str] = None,
|
|
2140
|
-
log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.LogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2141
|
-
worker_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2142
|
-
) -> None:
|
|
2143
|
-
"""Type checking stubs"""
|
|
2144
|
-
pass
|
|
2182
|
+
Example::
|
|
2145
2183
|
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2184
|
+
# The code below shows an example of how to instantiate this type.
|
|
2185
|
+
# The values are placeholders you should change.
|
|
2186
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2187
|
+
|
|
2188
|
+
cfn_custom_plugin = kafkaconnect.CfnCustomPlugin(self, "MyCfnCustomPlugin",
|
|
2189
|
+
content_type="contentType",
|
|
2190
|
+
location=kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty(
|
|
2191
|
+
s3_location=kafkaconnect.CfnCustomPlugin.S3LocationProperty(
|
|
2192
|
+
bucket_arn="bucketArn",
|
|
2193
|
+
file_key="fileKey",
|
|
2194
|
+
|
|
2195
|
+
# the properties below are optional
|
|
2196
|
+
object_version="objectVersion"
|
|
2197
|
+
)
|
|
2198
|
+
),
|
|
2199
|
+
name="name",
|
|
2200
|
+
|
|
2201
|
+
# the properties below are optional
|
|
2202
|
+
description="description",
|
|
2203
|
+
tags=[CfnTag(
|
|
2204
|
+
key="key",
|
|
2205
|
+
value="value"
|
|
2206
|
+
)]
|
|
2207
|
+
)
|
|
2208
|
+
'''
|
|
2151
2209
|
|
|
2152
|
-
def
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2210
|
+
def __init__(
|
|
2211
|
+
self,
|
|
2212
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2213
|
+
id: builtins.str,
|
|
2214
|
+
*,
|
|
2215
|
+
content_type: builtins.str,
|
|
2216
|
+
location: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCustomPlugin.CustomPluginLocationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2217
|
+
name: builtins.str,
|
|
2218
|
+
description: typing.Optional[builtins.str] = None,
|
|
2219
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2220
|
+
) -> None:
|
|
2221
|
+
'''
|
|
2222
|
+
:param scope: Scope in which this resource is defined.
|
|
2223
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2224
|
+
:param content_type: The format of the plugin file.
|
|
2225
|
+
:param location: Information about the location of the custom plugin.
|
|
2226
|
+
:param name: The name of the custom plugin.
|
|
2227
|
+
:param description: The description of the custom plugin.
|
|
2228
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
2229
|
+
'''
|
|
2230
|
+
if __debug__:
|
|
2231
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6c82cbd22c9261a35dcdabc1becaf63f49b9257f7d5508ee8aa43d6a285cf574)
|
|
2232
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2233
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2234
|
+
props = CfnCustomPluginProps(
|
|
2235
|
+
content_type=content_type,
|
|
2236
|
+
location=location,
|
|
2237
|
+
name=name,
|
|
2238
|
+
description=description,
|
|
2239
|
+
tags=tags,
|
|
2240
|
+
)
|
|
2157
2241
|
|
|
2158
|
-
|
|
2159
|
-
value: typing.Union[_IResolvable_da3f097b, CfnConnector.CapacityProperty],
|
|
2160
|
-
) -> None:
|
|
2161
|
-
"""Type checking stubs"""
|
|
2162
|
-
pass
|
|
2242
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2163
2243
|
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
"""Type checking stubs"""
|
|
2168
|
-
pass
|
|
2244
|
+
@jsii.member(jsii_name="inspect")
|
|
2245
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2246
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2169
2247
|
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2248
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2249
|
+
'''
|
|
2250
|
+
if __debug__:
|
|
2251
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2de4a61cefe6c2d25a1cb343ddd4a22e10b259b61229c873a373b2fa9d057114)
|
|
2252
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2253
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2175
2254
|
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2255
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2256
|
+
def _render_properties(
|
|
2257
|
+
self,
|
|
2258
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2259
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2260
|
+
'''
|
|
2261
|
+
:param props: -
|
|
2262
|
+
'''
|
|
2263
|
+
if __debug__:
|
|
2264
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f576b3a446b38f6f20978c3517504ba7babed66f64bc5fb21b1c950bc4a6872a)
|
|
2265
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2266
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2181
2267
|
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
) ->
|
|
2185
|
-
|
|
2186
|
-
|
|
2268
|
+
@jsii.python.classproperty
|
|
2269
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2270
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2271
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2272
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2187
2273
|
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
) ->
|
|
2191
|
-
|
|
2192
|
-
pass
|
|
2274
|
+
@builtins.property
|
|
2275
|
+
@jsii.member(jsii_name="attrCustomPluginArn")
|
|
2276
|
+
def attr_custom_plugin_arn(self) -> builtins.str:
|
|
2277
|
+
'''The Amazon Resource Name (ARN) of the custom plugin.
|
|
2193
2278
|
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
"""Type checking stubs"""
|
|
2198
|
-
pass
|
|
2279
|
+
:cloudformationAttribute: CustomPluginArn
|
|
2280
|
+
'''
|
|
2281
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCustomPluginArn"))
|
|
2199
2282
|
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
) ->
|
|
2203
|
-
|
|
2204
|
-
pass
|
|
2283
|
+
@builtins.property
|
|
2284
|
+
@jsii.member(jsii_name="attrFileDescription")
|
|
2285
|
+
def attr_file_description(self) -> _IResolvable_da3f097b:
|
|
2286
|
+
'''Details about the custom plugin file.
|
|
2205
2287
|
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
"""Type checking stubs"""
|
|
2210
|
-
pass
|
|
2288
|
+
:cloudformationAttribute: FileDescription
|
|
2289
|
+
'''
|
|
2290
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrFileDescription"))
|
|
2211
2291
|
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
) ->
|
|
2215
|
-
|
|
2216
|
-
pass
|
|
2292
|
+
@builtins.property
|
|
2293
|
+
@jsii.member(jsii_name="attrRevision")
|
|
2294
|
+
def attr_revision(self) -> jsii.Number:
|
|
2295
|
+
'''The revision of the custom plugin.
|
|
2217
2296
|
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
"""Type checking stubs"""
|
|
2222
|
-
pass
|
|
2297
|
+
:cloudformationAttribute: Revision
|
|
2298
|
+
'''
|
|
2299
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrRevision"))
|
|
2223
2300
|
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
) ->
|
|
2227
|
-
|
|
2228
|
-
|
|
2301
|
+
@builtins.property
|
|
2302
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2303
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2304
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2305
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2229
2306
|
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
) -> None:
|
|
2235
|
-
"""Type checking stubs"""
|
|
2236
|
-
pass
|
|
2307
|
+
@builtins.property
|
|
2308
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2309
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2310
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2237
2311
|
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
scale_in_policy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ScaleInPolicyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2244
|
-
scale_out_policy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ScaleOutPolicyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2245
|
-
) -> None:
|
|
2246
|
-
"""Type checking stubs"""
|
|
2247
|
-
pass
|
|
2312
|
+
@builtins.property
|
|
2313
|
+
@jsii.member(jsii_name="contentType")
|
|
2314
|
+
def content_type(self) -> builtins.str:
|
|
2315
|
+
'''The format of the plugin file.'''
|
|
2316
|
+
return typing.cast(builtins.str, jsii.get(self, "contentType"))
|
|
2248
2317
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
pass
|
|
2318
|
+
@content_type.setter
|
|
2319
|
+
def content_type(self, value: builtins.str) -> None:
|
|
2320
|
+
if __debug__:
|
|
2321
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ba10e1ed6d2bc46a1ed1d1fe0ea02869794128cfcb6ebd5cadbefe02bc0a548f)
|
|
2322
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2323
|
+
jsii.set(self, "contentType", value)
|
|
2256
2324
|
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
) ->
|
|
2262
|
-
|
|
2263
|
-
|
|
2325
|
+
@builtins.property
|
|
2326
|
+
@jsii.member(jsii_name="location")
|
|
2327
|
+
def location(
|
|
2328
|
+
self,
|
|
2329
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCustomPlugin.CustomPluginLocationProperty"]:
|
|
2330
|
+
'''Information about the location of the custom plugin.'''
|
|
2331
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCustomPlugin.CustomPluginLocationProperty"], jsii.get(self, "location"))
|
|
2264
2332
|
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
) -> None:
|
|
2270
|
-
|
|
2271
|
-
|
|
2333
|
+
@location.setter
|
|
2334
|
+
def location(
|
|
2335
|
+
self,
|
|
2336
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnCustomPlugin.CustomPluginLocationProperty"],
|
|
2337
|
+
) -> None:
|
|
2338
|
+
if __debug__:
|
|
2339
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7dc28b9198145db094f79802e21f70587ba9ea39d8bf86eecd4baa600f164d5b)
|
|
2340
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2341
|
+
jsii.set(self, "location", value)
|
|
2272
2342
|
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
"""Type checking stubs"""
|
|
2279
|
-
pass
|
|
2343
|
+
@builtins.property
|
|
2344
|
+
@jsii.member(jsii_name="name")
|
|
2345
|
+
def name(self) -> builtins.str:
|
|
2346
|
+
'''The name of the custom plugin.'''
|
|
2347
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
2280
2348
|
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2349
|
+
@name.setter
|
|
2350
|
+
def name(self, value: builtins.str) -> None:
|
|
2351
|
+
if __debug__:
|
|
2352
|
+
type_hints = typing.get_type_hints(_typecheckingstub__22b7cdbcdbf1c6aca15574793b79bc5bcd1b238c5d20012e24075b2de3c3e1f5)
|
|
2353
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2354
|
+
jsii.set(self, "name", value)
|
|
2287
2355
|
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
pass
|
|
2356
|
+
@builtins.property
|
|
2357
|
+
@jsii.member(jsii_name="description")
|
|
2358
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2359
|
+
'''The description of the custom plugin.'''
|
|
2360
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
2294
2361
|
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2362
|
+
@description.setter
|
|
2363
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
2364
|
+
if __debug__:
|
|
2365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__48e19fd5c93da0b6a93cdfdf44392a652cad52a2c961aef8c3e0a76eff5052e0)
|
|
2366
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2367
|
+
jsii.set(self, "description", value)
|
|
2301
2368
|
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2369
|
+
@builtins.property
|
|
2370
|
+
@jsii.member(jsii_name="tags")
|
|
2371
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2372
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
2373
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
2374
|
+
|
|
2375
|
+
@tags.setter
|
|
2376
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
2377
|
+
if __debug__:
|
|
2378
|
+
type_hints = typing.get_type_hints(_typecheckingstub__11b359e6a300e42bfcb9aa594841d75ad92accb911de61cc64790b7fc061f9fd)
|
|
2379
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2380
|
+
jsii.set(self, "tags", value)
|
|
2381
|
+
|
|
2382
|
+
@jsii.data_type(
|
|
2383
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnCustomPlugin.CustomPluginFileDescriptionProperty",
|
|
2384
|
+
jsii_struct_bases=[],
|
|
2385
|
+
name_mapping={"file_md5": "fileMd5", "file_size": "fileSize"},
|
|
2386
|
+
)
|
|
2387
|
+
class CustomPluginFileDescriptionProperty:
|
|
2388
|
+
def __init__(
|
|
2389
|
+
self,
|
|
2390
|
+
*,
|
|
2391
|
+
file_md5: typing.Optional[builtins.str] = None,
|
|
2392
|
+
file_size: typing.Optional[jsii.Number] = None,
|
|
2393
|
+
) -> None:
|
|
2394
|
+
'''Details about a custom plugin file.
|
|
2395
|
+
|
|
2396
|
+
:param file_md5: The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.
|
|
2397
|
+
:param file_size: The size in bytes of the custom plugin file. You can use it to validate the file.
|
|
2398
|
+
|
|
2399
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html
|
|
2400
|
+
:exampleMetadata: fixture=_generated
|
|
2401
|
+
|
|
2402
|
+
Example::
|
|
2403
|
+
|
|
2404
|
+
# The code below shows an example of how to instantiate this type.
|
|
2405
|
+
# The values are placeholders you should change.
|
|
2406
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2407
|
+
|
|
2408
|
+
custom_plugin_file_description_property = kafkaconnect.CfnCustomPlugin.CustomPluginFileDescriptionProperty(
|
|
2409
|
+
file_md5="fileMd5",
|
|
2410
|
+
file_size=123
|
|
2411
|
+
)
|
|
2412
|
+
'''
|
|
2413
|
+
if __debug__:
|
|
2414
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e3f77f7d7b096911e70040b0039d61af28b26c9bc89fb1faf76b0717d7c9e18b)
|
|
2415
|
+
check_type(argname="argument file_md5", value=file_md5, expected_type=type_hints["file_md5"])
|
|
2416
|
+
check_type(argname="argument file_size", value=file_size, expected_type=type_hints["file_size"])
|
|
2417
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2418
|
+
if file_md5 is not None:
|
|
2419
|
+
self._values["file_md5"] = file_md5
|
|
2420
|
+
if file_size is not None:
|
|
2421
|
+
self._values["file_size"] = file_size
|
|
2422
|
+
|
|
2423
|
+
@builtins.property
|
|
2424
|
+
def file_md5(self) -> typing.Optional[builtins.str]:
|
|
2425
|
+
'''The hex-encoded MD5 checksum of the custom plugin file.
|
|
2426
|
+
|
|
2427
|
+
You can use it to validate the file.
|
|
2428
|
+
|
|
2429
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html#cfn-kafkaconnect-customplugin-custompluginfiledescription-filemd5
|
|
2430
|
+
'''
|
|
2431
|
+
result = self._values.get("file_md5")
|
|
2432
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2433
|
+
|
|
2434
|
+
@builtins.property
|
|
2435
|
+
def file_size(self) -> typing.Optional[jsii.Number]:
|
|
2436
|
+
'''The size in bytes of the custom plugin file.
|
|
2437
|
+
|
|
2438
|
+
You can use it to validate the file.
|
|
2439
|
+
|
|
2440
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html#cfn-kafkaconnect-customplugin-custompluginfiledescription-filesize
|
|
2441
|
+
'''
|
|
2442
|
+
result = self._values.get("file_size")
|
|
2443
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2444
|
+
|
|
2445
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2446
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2447
|
+
|
|
2448
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2449
|
+
return not (rhs == self)
|
|
2450
|
+
|
|
2451
|
+
def __repr__(self) -> str:
|
|
2452
|
+
return "CustomPluginFileDescriptionProperty(%s)" % ", ".join(
|
|
2453
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2454
|
+
)
|
|
2455
|
+
|
|
2456
|
+
@jsii.data_type(
|
|
2457
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty",
|
|
2458
|
+
jsii_struct_bases=[],
|
|
2459
|
+
name_mapping={"s3_location": "s3Location"},
|
|
2460
|
+
)
|
|
2461
|
+
class CustomPluginLocationProperty:
|
|
2462
|
+
def __init__(
|
|
2463
|
+
self,
|
|
2464
|
+
*,
|
|
2465
|
+
s3_location: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCustomPlugin.S3LocationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2466
|
+
) -> None:
|
|
2467
|
+
'''Information about the location of a custom plugin.
|
|
2468
|
+
|
|
2469
|
+
:param s3_location: The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.
|
|
2470
|
+
|
|
2471
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginlocation.html
|
|
2472
|
+
:exampleMetadata: fixture=_generated
|
|
2473
|
+
|
|
2474
|
+
Example::
|
|
2475
|
+
|
|
2476
|
+
# The code below shows an example of how to instantiate this type.
|
|
2477
|
+
# The values are placeholders you should change.
|
|
2478
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2479
|
+
|
|
2480
|
+
custom_plugin_location_property = kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty(
|
|
2481
|
+
s3_location=kafkaconnect.CfnCustomPlugin.S3LocationProperty(
|
|
2482
|
+
bucket_arn="bucketArn",
|
|
2483
|
+
file_key="fileKey",
|
|
2484
|
+
|
|
2485
|
+
# the properties below are optional
|
|
2486
|
+
object_version="objectVersion"
|
|
2487
|
+
)
|
|
2488
|
+
)
|
|
2489
|
+
'''
|
|
2490
|
+
if __debug__:
|
|
2491
|
+
type_hints = typing.get_type_hints(_typecheckingstub__63bbd79857b9bcc2770666f84b8116fcd6735c81fd0e1e465634b4002d175383)
|
|
2492
|
+
check_type(argname="argument s3_location", value=s3_location, expected_type=type_hints["s3_location"])
|
|
2493
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2494
|
+
"s3_location": s3_location,
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
@builtins.property
|
|
2498
|
+
def s3_location(
|
|
2499
|
+
self,
|
|
2500
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCustomPlugin.S3LocationProperty"]:
|
|
2501
|
+
'''The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.
|
|
2502
|
+
|
|
2503
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginlocation.html#cfn-kafkaconnect-customplugin-custompluginlocation-s3location
|
|
2504
|
+
'''
|
|
2505
|
+
result = self._values.get("s3_location")
|
|
2506
|
+
assert result is not None, "Required property 's3_location' is missing"
|
|
2507
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCustomPlugin.S3LocationProperty"], result)
|
|
2508
|
+
|
|
2509
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2510
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2511
|
+
|
|
2512
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2513
|
+
return not (rhs == self)
|
|
2514
|
+
|
|
2515
|
+
def __repr__(self) -> str:
|
|
2516
|
+
return "CustomPluginLocationProperty(%s)" % ", ".join(
|
|
2517
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2518
|
+
)
|
|
2519
|
+
|
|
2520
|
+
@jsii.data_type(
|
|
2521
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnCustomPlugin.S3LocationProperty",
|
|
2522
|
+
jsii_struct_bases=[],
|
|
2523
|
+
name_mapping={
|
|
2524
|
+
"bucket_arn": "bucketArn",
|
|
2525
|
+
"file_key": "fileKey",
|
|
2526
|
+
"object_version": "objectVersion",
|
|
2527
|
+
},
|
|
2528
|
+
)
|
|
2529
|
+
class S3LocationProperty:
|
|
2530
|
+
def __init__(
|
|
2531
|
+
self,
|
|
2532
|
+
*,
|
|
2533
|
+
bucket_arn: builtins.str,
|
|
2534
|
+
file_key: builtins.str,
|
|
2535
|
+
object_version: typing.Optional[builtins.str] = None,
|
|
2536
|
+
) -> None:
|
|
2537
|
+
'''The location of an object in Amazon S3.
|
|
2538
|
+
|
|
2539
|
+
:param bucket_arn: The Amazon Resource Name (ARN) of an S3 bucket.
|
|
2540
|
+
:param file_key: The file key for an object in an S3 bucket.
|
|
2541
|
+
:param object_version: The version of an object in an S3 bucket.
|
|
2542
|
+
|
|
2543
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html
|
|
2544
|
+
:exampleMetadata: fixture=_generated
|
|
2545
|
+
|
|
2546
|
+
Example::
|
|
2547
|
+
|
|
2548
|
+
# The code below shows an example of how to instantiate this type.
|
|
2549
|
+
# The values are placeholders you should change.
|
|
2550
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2551
|
+
|
|
2552
|
+
s3_location_property = kafkaconnect.CfnCustomPlugin.S3LocationProperty(
|
|
2553
|
+
bucket_arn="bucketArn",
|
|
2554
|
+
file_key="fileKey",
|
|
2555
|
+
|
|
2556
|
+
# the properties below are optional
|
|
2557
|
+
object_version="objectVersion"
|
|
2558
|
+
)
|
|
2559
|
+
'''
|
|
2560
|
+
if __debug__:
|
|
2561
|
+
type_hints = typing.get_type_hints(_typecheckingstub__781a268ba9bfa781e533379ca4a5047660328871695af7ae3feb962865170db2)
|
|
2562
|
+
check_type(argname="argument bucket_arn", value=bucket_arn, expected_type=type_hints["bucket_arn"])
|
|
2563
|
+
check_type(argname="argument file_key", value=file_key, expected_type=type_hints["file_key"])
|
|
2564
|
+
check_type(argname="argument object_version", value=object_version, expected_type=type_hints["object_version"])
|
|
2565
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2566
|
+
"bucket_arn": bucket_arn,
|
|
2567
|
+
"file_key": file_key,
|
|
2568
|
+
}
|
|
2569
|
+
if object_version is not None:
|
|
2570
|
+
self._values["object_version"] = object_version
|
|
2571
|
+
|
|
2572
|
+
@builtins.property
|
|
2573
|
+
def bucket_arn(self) -> builtins.str:
|
|
2574
|
+
'''The Amazon Resource Name (ARN) of an S3 bucket.
|
|
2575
|
+
|
|
2576
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-bucketarn
|
|
2577
|
+
'''
|
|
2578
|
+
result = self._values.get("bucket_arn")
|
|
2579
|
+
assert result is not None, "Required property 'bucket_arn' is missing"
|
|
2580
|
+
return typing.cast(builtins.str, result)
|
|
2581
|
+
|
|
2582
|
+
@builtins.property
|
|
2583
|
+
def file_key(self) -> builtins.str:
|
|
2584
|
+
'''The file key for an object in an S3 bucket.
|
|
2585
|
+
|
|
2586
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-filekey
|
|
2587
|
+
'''
|
|
2588
|
+
result = self._values.get("file_key")
|
|
2589
|
+
assert result is not None, "Required property 'file_key' is missing"
|
|
2590
|
+
return typing.cast(builtins.str, result)
|
|
2591
|
+
|
|
2592
|
+
@builtins.property
|
|
2593
|
+
def object_version(self) -> typing.Optional[builtins.str]:
|
|
2594
|
+
'''The version of an object in an S3 bucket.
|
|
2595
|
+
|
|
2596
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html#cfn-kafkaconnect-customplugin-s3location-objectversion
|
|
2597
|
+
'''
|
|
2598
|
+
result = self._values.get("object_version")
|
|
2599
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2600
|
+
|
|
2601
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2602
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2603
|
+
|
|
2604
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2605
|
+
return not (rhs == self)
|
|
2606
|
+
|
|
2607
|
+
def __repr__(self) -> str:
|
|
2608
|
+
return "S3LocationProperty(%s)" % ", ".join(
|
|
2609
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2610
|
+
)
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
@jsii.data_type(
|
|
2614
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnCustomPluginProps",
|
|
2615
|
+
jsii_struct_bases=[],
|
|
2616
|
+
name_mapping={
|
|
2617
|
+
"content_type": "contentType",
|
|
2618
|
+
"location": "location",
|
|
2619
|
+
"name": "name",
|
|
2620
|
+
"description": "description",
|
|
2621
|
+
"tags": "tags",
|
|
2622
|
+
},
|
|
2623
|
+
)
|
|
2624
|
+
class CfnCustomPluginProps:
|
|
2625
|
+
def __init__(
|
|
2626
|
+
self,
|
|
2627
|
+
*,
|
|
2628
|
+
content_type: builtins.str,
|
|
2629
|
+
location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomPlugin.CustomPluginLocationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2630
|
+
name: builtins.str,
|
|
2631
|
+
description: typing.Optional[builtins.str] = None,
|
|
2632
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2633
|
+
) -> None:
|
|
2634
|
+
'''Properties for defining a ``CfnCustomPlugin``.
|
|
2635
|
+
|
|
2636
|
+
:param content_type: The format of the plugin file.
|
|
2637
|
+
:param location: Information about the location of the custom plugin.
|
|
2638
|
+
:param name: The name of the custom plugin.
|
|
2639
|
+
:param description: The description of the custom plugin.
|
|
2640
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
2641
|
+
|
|
2642
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html
|
|
2643
|
+
:exampleMetadata: fixture=_generated
|
|
2644
|
+
|
|
2645
|
+
Example::
|
|
2646
|
+
|
|
2647
|
+
# The code below shows an example of how to instantiate this type.
|
|
2648
|
+
# The values are placeholders you should change.
|
|
2649
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2650
|
+
|
|
2651
|
+
cfn_custom_plugin_props = kafkaconnect.CfnCustomPluginProps(
|
|
2652
|
+
content_type="contentType",
|
|
2653
|
+
location=kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty(
|
|
2654
|
+
s3_location=kafkaconnect.CfnCustomPlugin.S3LocationProperty(
|
|
2655
|
+
bucket_arn="bucketArn",
|
|
2656
|
+
file_key="fileKey",
|
|
2657
|
+
|
|
2658
|
+
# the properties below are optional
|
|
2659
|
+
object_version="objectVersion"
|
|
2660
|
+
)
|
|
2661
|
+
),
|
|
2662
|
+
name="name",
|
|
2663
|
+
|
|
2664
|
+
# the properties below are optional
|
|
2665
|
+
description="description",
|
|
2666
|
+
tags=[CfnTag(
|
|
2667
|
+
key="key",
|
|
2668
|
+
value="value"
|
|
2669
|
+
)]
|
|
2670
|
+
)
|
|
2671
|
+
'''
|
|
2672
|
+
if __debug__:
|
|
2673
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ff983745d275d6d3a1389c6b1984a735ff1815dde7d1308c56b56268157c0bac)
|
|
2674
|
+
check_type(argname="argument content_type", value=content_type, expected_type=type_hints["content_type"])
|
|
2675
|
+
check_type(argname="argument location", value=location, expected_type=type_hints["location"])
|
|
2676
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2677
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2678
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2679
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2680
|
+
"content_type": content_type,
|
|
2681
|
+
"location": location,
|
|
2682
|
+
"name": name,
|
|
2683
|
+
}
|
|
2684
|
+
if description is not None:
|
|
2685
|
+
self._values["description"] = description
|
|
2686
|
+
if tags is not None:
|
|
2687
|
+
self._values["tags"] = tags
|
|
2688
|
+
|
|
2689
|
+
@builtins.property
|
|
2690
|
+
def content_type(self) -> builtins.str:
|
|
2691
|
+
'''The format of the plugin file.
|
|
2692
|
+
|
|
2693
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-contenttype
|
|
2694
|
+
'''
|
|
2695
|
+
result = self._values.get("content_type")
|
|
2696
|
+
assert result is not None, "Required property 'content_type' is missing"
|
|
2697
|
+
return typing.cast(builtins.str, result)
|
|
2698
|
+
|
|
2699
|
+
@builtins.property
|
|
2700
|
+
def location(
|
|
2701
|
+
self,
|
|
2702
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnCustomPlugin.CustomPluginLocationProperty]:
|
|
2703
|
+
'''Information about the location of the custom plugin.
|
|
2704
|
+
|
|
2705
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-location
|
|
2706
|
+
'''
|
|
2707
|
+
result = self._values.get("location")
|
|
2708
|
+
assert result is not None, "Required property 'location' is missing"
|
|
2709
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnCustomPlugin.CustomPluginLocationProperty], result)
|
|
2710
|
+
|
|
2711
|
+
@builtins.property
|
|
2712
|
+
def name(self) -> builtins.str:
|
|
2713
|
+
'''The name of the custom plugin.
|
|
2714
|
+
|
|
2715
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-name
|
|
2716
|
+
'''
|
|
2717
|
+
result = self._values.get("name")
|
|
2718
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2719
|
+
return typing.cast(builtins.str, result)
|
|
2720
|
+
|
|
2721
|
+
@builtins.property
|
|
2722
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2723
|
+
'''The description of the custom plugin.
|
|
2724
|
+
|
|
2725
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-description
|
|
2726
|
+
'''
|
|
2727
|
+
result = self._values.get("description")
|
|
2728
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2729
|
+
|
|
2730
|
+
@builtins.property
|
|
2731
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2732
|
+
'''An array of key-value pairs to apply to this resource.
|
|
2733
|
+
|
|
2734
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#cfn-kafkaconnect-customplugin-tags
|
|
2735
|
+
'''
|
|
2736
|
+
result = self._values.get("tags")
|
|
2737
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2738
|
+
|
|
2739
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2740
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2741
|
+
|
|
2742
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2743
|
+
return not (rhs == self)
|
|
2744
|
+
|
|
2745
|
+
def __repr__(self) -> str:
|
|
2746
|
+
return "CfnCustomPluginProps(%s)" % ", ".join(
|
|
2747
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2748
|
+
)
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2752
|
+
class CfnWorkerConfiguration(
|
|
2753
|
+
_CfnResource_9df397a6,
|
|
2754
|
+
metaclass=jsii.JSIIMeta,
|
|
2755
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnWorkerConfiguration",
|
|
2756
|
+
):
|
|
2757
|
+
'''Creates a worker configuration using the specified properties.
|
|
2758
|
+
|
|
2759
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html
|
|
2760
|
+
:cloudformationResource: AWS::KafkaConnect::WorkerConfiguration
|
|
2761
|
+
:exampleMetadata: fixture=_generated
|
|
2762
|
+
|
|
2763
|
+
Example::
|
|
2764
|
+
|
|
2765
|
+
# The code below shows an example of how to instantiate this type.
|
|
2766
|
+
# The values are placeholders you should change.
|
|
2767
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2768
|
+
|
|
2769
|
+
cfn_worker_configuration = kafkaconnect.CfnWorkerConfiguration(self, "MyCfnWorkerConfiguration",
|
|
2770
|
+
name="name",
|
|
2771
|
+
properties_file_content="propertiesFileContent",
|
|
2772
|
+
|
|
2773
|
+
# the properties below are optional
|
|
2774
|
+
description="description",
|
|
2775
|
+
tags=[CfnTag(
|
|
2776
|
+
key="key",
|
|
2777
|
+
value="value"
|
|
2778
|
+
)]
|
|
2779
|
+
)
|
|
2780
|
+
'''
|
|
2781
|
+
|
|
2782
|
+
def __init__(
|
|
2783
|
+
self,
|
|
2784
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2785
|
+
id: builtins.str,
|
|
2786
|
+
*,
|
|
2787
|
+
name: builtins.str,
|
|
2788
|
+
properties_file_content: builtins.str,
|
|
2789
|
+
description: typing.Optional[builtins.str] = None,
|
|
2790
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2791
|
+
) -> None:
|
|
2792
|
+
'''
|
|
2793
|
+
:param scope: Scope in which this resource is defined.
|
|
2794
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2795
|
+
:param name: The name of the worker configuration.
|
|
2796
|
+
:param properties_file_content: Base64 encoded contents of the connect-distributed.properties file.
|
|
2797
|
+
:param description: The description of a worker configuration.
|
|
2798
|
+
:param tags: A collection of tags associated with a resource.
|
|
2799
|
+
'''
|
|
2800
|
+
if __debug__:
|
|
2801
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b9b69a356034dd45c5e800dbc80d6a39a12c1880a5d436867eade4d8465fab4)
|
|
2802
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2803
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2804
|
+
props = CfnWorkerConfigurationProps(
|
|
2805
|
+
name=name,
|
|
2806
|
+
properties_file_content=properties_file_content,
|
|
2807
|
+
description=description,
|
|
2808
|
+
tags=tags,
|
|
2809
|
+
)
|
|
2810
|
+
|
|
2811
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2812
|
+
|
|
2813
|
+
@jsii.member(jsii_name="inspect")
|
|
2814
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2815
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2816
|
+
|
|
2817
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2818
|
+
'''
|
|
2819
|
+
if __debug__:
|
|
2820
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0e9312db5b66d689fcbfe5175a48113463e0ed07e92a59d8aa13bf6e7cc2e5ba)
|
|
2821
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2822
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2823
|
+
|
|
2824
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2825
|
+
def _render_properties(
|
|
2826
|
+
self,
|
|
2827
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2828
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2829
|
+
'''
|
|
2830
|
+
:param props: -
|
|
2831
|
+
'''
|
|
2832
|
+
if __debug__:
|
|
2833
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8a145561100ff01cc7ff59a55ef33e73905f7091cbb20b0211c8b6706473d8db)
|
|
2834
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2835
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2836
|
+
|
|
2837
|
+
@jsii.python.classproperty
|
|
2838
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2839
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2840
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2841
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2842
|
+
|
|
2843
|
+
@builtins.property
|
|
2844
|
+
@jsii.member(jsii_name="attrRevision")
|
|
2845
|
+
def attr_revision(self) -> jsii.Number:
|
|
2846
|
+
'''The revision of the worker configuration.
|
|
2847
|
+
|
|
2848
|
+
:cloudformationAttribute: Revision
|
|
2849
|
+
'''
|
|
2850
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrRevision"))
|
|
2851
|
+
|
|
2852
|
+
@builtins.property
|
|
2853
|
+
@jsii.member(jsii_name="attrWorkerConfigurationArn")
|
|
2854
|
+
def attr_worker_configuration_arn(self) -> builtins.str:
|
|
2855
|
+
'''The Amazon Resource Name (ARN) of the worker configuration.
|
|
2856
|
+
|
|
2857
|
+
:cloudformationAttribute: WorkerConfigurationArn
|
|
2858
|
+
'''
|
|
2859
|
+
return typing.cast(builtins.str, jsii.get(self, "attrWorkerConfigurationArn"))
|
|
2860
|
+
|
|
2861
|
+
@builtins.property
|
|
2862
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2863
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2864
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2865
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2866
|
+
|
|
2867
|
+
@builtins.property
|
|
2868
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2869
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2870
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2871
|
+
|
|
2872
|
+
@builtins.property
|
|
2873
|
+
@jsii.member(jsii_name="name")
|
|
2874
|
+
def name(self) -> builtins.str:
|
|
2875
|
+
'''The name of the worker configuration.'''
|
|
2876
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
2877
|
+
|
|
2878
|
+
@name.setter
|
|
2879
|
+
def name(self, value: builtins.str) -> None:
|
|
2880
|
+
if __debug__:
|
|
2881
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc71d30a2d2b5a6b21933eb20d227cc7424b5194fb7804fa4cb3d77dd657dbb8)
|
|
2882
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2883
|
+
jsii.set(self, "name", value)
|
|
2884
|
+
|
|
2885
|
+
@builtins.property
|
|
2886
|
+
@jsii.member(jsii_name="propertiesFileContent")
|
|
2887
|
+
def properties_file_content(self) -> builtins.str:
|
|
2888
|
+
'''Base64 encoded contents of the connect-distributed.properties file.'''
|
|
2889
|
+
return typing.cast(builtins.str, jsii.get(self, "propertiesFileContent"))
|
|
2890
|
+
|
|
2891
|
+
@properties_file_content.setter
|
|
2892
|
+
def properties_file_content(self, value: builtins.str) -> None:
|
|
2893
|
+
if __debug__:
|
|
2894
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cdac93459bf92083dd5049beb4d514f22fddfa0bd9d388dc1ef3385ce63b1af0)
|
|
2895
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2896
|
+
jsii.set(self, "propertiesFileContent", value)
|
|
2897
|
+
|
|
2898
|
+
@builtins.property
|
|
2899
|
+
@jsii.member(jsii_name="description")
|
|
2900
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2901
|
+
'''The description of a worker configuration.'''
|
|
2902
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
2903
|
+
|
|
2904
|
+
@description.setter
|
|
2905
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
2906
|
+
if __debug__:
|
|
2907
|
+
type_hints = typing.get_type_hints(_typecheckingstub__30511563247fe50c21e1853ef081844489c75d4646bdd82b0b64165734629e02)
|
|
2908
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2909
|
+
jsii.set(self, "description", value)
|
|
2910
|
+
|
|
2911
|
+
@builtins.property
|
|
2912
|
+
@jsii.member(jsii_name="tags")
|
|
2913
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2914
|
+
'''A collection of tags associated with a resource.'''
|
|
2915
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
2916
|
+
|
|
2917
|
+
@tags.setter
|
|
2918
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
2919
|
+
if __debug__:
|
|
2920
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9a36569b41baa16c75dbfb344c8382fd94b5dc82a3a87fd538c07957efff63b2)
|
|
2921
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2922
|
+
jsii.set(self, "tags", value)
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
@jsii.data_type(
|
|
2926
|
+
jsii_type="aws-cdk-lib.aws_kafkaconnect.CfnWorkerConfigurationProps",
|
|
2927
|
+
jsii_struct_bases=[],
|
|
2928
|
+
name_mapping={
|
|
2929
|
+
"name": "name",
|
|
2930
|
+
"properties_file_content": "propertiesFileContent",
|
|
2931
|
+
"description": "description",
|
|
2932
|
+
"tags": "tags",
|
|
2933
|
+
},
|
|
2934
|
+
)
|
|
2935
|
+
class CfnWorkerConfigurationProps:
|
|
2936
|
+
def __init__(
|
|
2937
|
+
self,
|
|
2938
|
+
*,
|
|
2939
|
+
name: builtins.str,
|
|
2940
|
+
properties_file_content: builtins.str,
|
|
2941
|
+
description: typing.Optional[builtins.str] = None,
|
|
2942
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2943
|
+
) -> None:
|
|
2944
|
+
'''Properties for defining a ``CfnWorkerConfiguration``.
|
|
2945
|
+
|
|
2946
|
+
:param name: The name of the worker configuration.
|
|
2947
|
+
:param properties_file_content: Base64 encoded contents of the connect-distributed.properties file.
|
|
2948
|
+
:param description: The description of a worker configuration.
|
|
2949
|
+
:param tags: A collection of tags associated with a resource.
|
|
2950
|
+
|
|
2951
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html
|
|
2952
|
+
:exampleMetadata: fixture=_generated
|
|
2953
|
+
|
|
2954
|
+
Example::
|
|
2955
|
+
|
|
2956
|
+
# The code below shows an example of how to instantiate this type.
|
|
2957
|
+
# The values are placeholders you should change.
|
|
2958
|
+
from aws_cdk import aws_kafkaconnect as kafkaconnect
|
|
2959
|
+
|
|
2960
|
+
cfn_worker_configuration_props = kafkaconnect.CfnWorkerConfigurationProps(
|
|
2961
|
+
name="name",
|
|
2962
|
+
properties_file_content="propertiesFileContent",
|
|
2963
|
+
|
|
2964
|
+
# the properties below are optional
|
|
2965
|
+
description="description",
|
|
2966
|
+
tags=[CfnTag(
|
|
2967
|
+
key="key",
|
|
2968
|
+
value="value"
|
|
2969
|
+
)]
|
|
2970
|
+
)
|
|
2971
|
+
'''
|
|
2972
|
+
if __debug__:
|
|
2973
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b5e8a900e9ebee6da2f64fb77eb98c44d23ed30e4b800a7e67486fadb71f6ae)
|
|
2974
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2975
|
+
check_type(argname="argument properties_file_content", value=properties_file_content, expected_type=type_hints["properties_file_content"])
|
|
2976
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2977
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2978
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2979
|
+
"name": name,
|
|
2980
|
+
"properties_file_content": properties_file_content,
|
|
2981
|
+
}
|
|
2982
|
+
if description is not None:
|
|
2983
|
+
self._values["description"] = description
|
|
2984
|
+
if tags is not None:
|
|
2985
|
+
self._values["tags"] = tags
|
|
2986
|
+
|
|
2987
|
+
@builtins.property
|
|
2988
|
+
def name(self) -> builtins.str:
|
|
2989
|
+
'''The name of the worker configuration.
|
|
2990
|
+
|
|
2991
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-name
|
|
2992
|
+
'''
|
|
2993
|
+
result = self._values.get("name")
|
|
2994
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2995
|
+
return typing.cast(builtins.str, result)
|
|
2996
|
+
|
|
2997
|
+
@builtins.property
|
|
2998
|
+
def properties_file_content(self) -> builtins.str:
|
|
2999
|
+
'''Base64 encoded contents of the connect-distributed.properties file.
|
|
3000
|
+
|
|
3001
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-propertiesfilecontent
|
|
3002
|
+
'''
|
|
3003
|
+
result = self._values.get("properties_file_content")
|
|
3004
|
+
assert result is not None, "Required property 'properties_file_content' is missing"
|
|
3005
|
+
return typing.cast(builtins.str, result)
|
|
3006
|
+
|
|
3007
|
+
@builtins.property
|
|
3008
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
3009
|
+
'''The description of a worker configuration.
|
|
3010
|
+
|
|
3011
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-description
|
|
3012
|
+
'''
|
|
3013
|
+
result = self._values.get("description")
|
|
3014
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3015
|
+
|
|
3016
|
+
@builtins.property
|
|
3017
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
3018
|
+
'''A collection of tags associated with a resource.
|
|
3019
|
+
|
|
3020
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-tags
|
|
3021
|
+
'''
|
|
3022
|
+
result = self._values.get("tags")
|
|
3023
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
3024
|
+
|
|
3025
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3026
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3027
|
+
|
|
3028
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3029
|
+
return not (rhs == self)
|
|
3030
|
+
|
|
3031
|
+
def __repr__(self) -> str:
|
|
3032
|
+
return "CfnWorkerConfigurationProps(%s)" % ", ".join(
|
|
3033
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3034
|
+
)
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
__all__ = [
|
|
3038
|
+
"CfnConnector",
|
|
3039
|
+
"CfnConnectorProps",
|
|
3040
|
+
"CfnCustomPlugin",
|
|
3041
|
+
"CfnCustomPluginProps",
|
|
3042
|
+
"CfnWorkerConfiguration",
|
|
3043
|
+
"CfnWorkerConfigurationProps",
|
|
3044
|
+
]
|
|
3045
|
+
|
|
3046
|
+
publication.publish()
|
|
3047
|
+
|
|
3048
|
+
def _typecheckingstub__300d015169800cb7d305cead5c1382d5e67bfb30617c5f51d4668a050b2ea78d(
|
|
3049
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3050
|
+
id: builtins.str,
|
|
3051
|
+
*,
|
|
3052
|
+
capacity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.CapacityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3053
|
+
connector_configuration: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
3054
|
+
connector_name: builtins.str,
|
|
3055
|
+
kafka_cluster: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3056
|
+
kafka_cluster_client_authentication: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterClientAuthenticationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3057
|
+
kafka_cluster_encryption_in_transit: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.KafkaClusterEncryptionInTransitProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3058
|
+
kafka_connect_version: builtins.str,
|
|
3059
|
+
plugins: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.PluginProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3060
|
+
service_execution_role_arn: builtins.str,
|
|
3061
|
+
connector_description: typing.Optional[builtins.str] = None,
|
|
3062
|
+
log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.LogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3063
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3064
|
+
worker_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3065
|
+
) -> None:
|
|
3066
|
+
"""Type checking stubs"""
|
|
3067
|
+
pass
|
|
3068
|
+
|
|
3069
|
+
def _typecheckingstub__0eb0c1ffc0dc04852e83fc99bfa9b4c62b202fe4532ee5ffc6e7aa8228f636a2(
|
|
3070
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3071
|
+
) -> None:
|
|
3072
|
+
"""Type checking stubs"""
|
|
3073
|
+
pass
|
|
3074
|
+
|
|
3075
|
+
def _typecheckingstub__bb09bf3c15238ce83b49323b5b92307ae56d22b52e1f4faa4a9efecdf68eab79(
|
|
3076
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3077
|
+
) -> None:
|
|
3078
|
+
"""Type checking stubs"""
|
|
3079
|
+
pass
|
|
3080
|
+
|
|
3081
|
+
def _typecheckingstub__93190e39585ede0b426e62964acf4d1946b2270b8cdf90fd760fca16bb13e558(
|
|
3082
|
+
value: typing.Union[_IResolvable_da3f097b, CfnConnector.CapacityProperty],
|
|
3083
|
+
) -> None:
|
|
3084
|
+
"""Type checking stubs"""
|
|
3085
|
+
pass
|
|
3086
|
+
|
|
3087
|
+
def _typecheckingstub__405d7e0ae6f7748331d41486bdc7f8856109d58d35c557e79a28b1b86a730e8d(
|
|
3088
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
3089
|
+
) -> None:
|
|
3090
|
+
"""Type checking stubs"""
|
|
3091
|
+
pass
|
|
3092
|
+
|
|
3093
|
+
def _typecheckingstub__5542c73b8c63853663f0c9121c83145b07f4ffbb01dcb93d19e627c8684748f4(
|
|
3094
|
+
value: builtins.str,
|
|
3095
|
+
) -> None:
|
|
3096
|
+
"""Type checking stubs"""
|
|
3097
|
+
pass
|
|
3098
|
+
|
|
3099
|
+
def _typecheckingstub__3fb859f7d210b463ce7d87e19c928b68134af5a207e21f3d0b913b811695dfad(
|
|
3100
|
+
value: typing.Union[_IResolvable_da3f097b, CfnConnector.KafkaClusterProperty],
|
|
3101
|
+
) -> None:
|
|
3102
|
+
"""Type checking stubs"""
|
|
3103
|
+
pass
|
|
3104
|
+
|
|
3105
|
+
def _typecheckingstub__c7859bcdf95e20025063609459542a94ce1364b2b031ffa476d5bbd530daa22c(
|
|
3106
|
+
value: typing.Union[_IResolvable_da3f097b, CfnConnector.KafkaClusterClientAuthenticationProperty],
|
|
3107
|
+
) -> None:
|
|
3108
|
+
"""Type checking stubs"""
|
|
3109
|
+
pass
|
|
3110
|
+
|
|
3111
|
+
def _typecheckingstub__431b322bcb07c1c51a8b9a735113100e17fffb620cca37b220e3b3aec73425d2(
|
|
3112
|
+
value: typing.Union[_IResolvable_da3f097b, CfnConnector.KafkaClusterEncryptionInTransitProperty],
|
|
3113
|
+
) -> None:
|
|
3114
|
+
"""Type checking stubs"""
|
|
3115
|
+
pass
|
|
3116
|
+
|
|
3117
|
+
def _typecheckingstub__84a647a1aefe3d2975c3f4cbdccb1be43429421c71bd6f2c868cdb7b3aa7dc46(
|
|
3118
|
+
value: builtins.str,
|
|
3119
|
+
) -> None:
|
|
3120
|
+
"""Type checking stubs"""
|
|
3121
|
+
pass
|
|
3122
|
+
|
|
3123
|
+
def _typecheckingstub__ccf2fe35d5eab3697adb8d50736b2ecb8b794ef8d48f98745b61d6534ad954b6(
|
|
3124
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnConnector.PluginProperty]]],
|
|
3125
|
+
) -> None:
|
|
3126
|
+
"""Type checking stubs"""
|
|
3127
|
+
pass
|
|
3128
|
+
|
|
3129
|
+
def _typecheckingstub__440f19fcd0ca16de4301284405228f6ff797ea28c72dd5e6fd26e3f04b170b1f(
|
|
3130
|
+
value: builtins.str,
|
|
3131
|
+
) -> None:
|
|
3132
|
+
"""Type checking stubs"""
|
|
3133
|
+
pass
|
|
3134
|
+
|
|
3135
|
+
def _typecheckingstub__729e3b6e3d1046550d05c40ab52749c149a4f3f01ce2c03e0daa86cc3ac03d1e(
|
|
3136
|
+
value: typing.Optional[builtins.str],
|
|
3137
|
+
) -> None:
|
|
3138
|
+
"""Type checking stubs"""
|
|
3139
|
+
pass
|
|
3140
|
+
|
|
3141
|
+
def _typecheckingstub__49a29da785c6c8f30f5fc4ffcb9320d7a0377e8c1032eb5ff26ba046ae554772(
|
|
3142
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnector.LogDeliveryProperty]],
|
|
3143
|
+
) -> None:
|
|
3144
|
+
"""Type checking stubs"""
|
|
3145
|
+
pass
|
|
3146
|
+
|
|
3147
|
+
def _typecheckingstub__6afece2b4589a6c48de5a35d55d9159549277f37f560c619fd1daf8392fd3534(
|
|
3148
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3149
|
+
) -> None:
|
|
3150
|
+
"""Type checking stubs"""
|
|
3151
|
+
pass
|
|
3152
|
+
|
|
3153
|
+
def _typecheckingstub__17aecc33a40fa4008d52fdd6c617a4bffcf013ba695a96ef9a4694b70b03b576(
|
|
3154
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnector.WorkerConfigurationProperty]],
|
|
3155
|
+
) -> None:
|
|
3156
|
+
"""Type checking stubs"""
|
|
3157
|
+
pass
|
|
3158
|
+
|
|
3159
|
+
def _typecheckingstub__444403cd6207a1a5de68bc9f8e594e52824efdb9ff844ec369a71f064a2d1dcc(
|
|
3160
|
+
*,
|
|
3161
|
+
bootstrap_servers: builtins.str,
|
|
3162
|
+
vpc: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.VpcProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3163
|
+
) -> None:
|
|
3164
|
+
"""Type checking stubs"""
|
|
3165
|
+
pass
|
|
3166
|
+
|
|
3167
|
+
def _typecheckingstub__a7fa0788a72b5a8759557a835e00eec9afbe34fb926c3c0b410cccf6e8c51c7b(
|
|
3168
|
+
*,
|
|
3169
|
+
max_worker_count: jsii.Number,
|
|
3170
|
+
mcu_count: jsii.Number,
|
|
3171
|
+
min_worker_count: jsii.Number,
|
|
3172
|
+
scale_in_policy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ScaleInPolicyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3173
|
+
scale_out_policy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ScaleOutPolicyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3174
|
+
) -> None:
|
|
3175
|
+
"""Type checking stubs"""
|
|
3176
|
+
pass
|
|
3177
|
+
|
|
3178
|
+
def _typecheckingstub__5b215f78afaf806b39553a8a9676f96dddcb2b0c3c6a8d0b8fde6902bf4f381e(
|
|
3179
|
+
*,
|
|
3180
|
+
auto_scaling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.AutoScalingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3181
|
+
provisioned_capacity: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ProvisionedCapacityProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3182
|
+
) -> None:
|
|
3183
|
+
"""Type checking stubs"""
|
|
3184
|
+
pass
|
|
3185
|
+
|
|
3186
|
+
def _typecheckingstub__ce12248bee2c36568fe0e7c8306e19879a8018f4d2f68bc94d16564982c8c14f(
|
|
3187
|
+
*,
|
|
3188
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3189
|
+
log_group: typing.Optional[builtins.str] = None,
|
|
3190
|
+
) -> None:
|
|
3191
|
+
"""Type checking stubs"""
|
|
3192
|
+
pass
|
|
3193
|
+
|
|
3194
|
+
def _typecheckingstub__939037365c43c9a72b3c37dadef4cee49c45d340b13988d36aec42da17639cb6(
|
|
3195
|
+
*,
|
|
3196
|
+
custom_plugin_arn: builtins.str,
|
|
3197
|
+
revision: jsii.Number,
|
|
3198
|
+
) -> None:
|
|
3199
|
+
"""Type checking stubs"""
|
|
3200
|
+
pass
|
|
3201
|
+
|
|
3202
|
+
def _typecheckingstub__d5d7349fb5eb5a9a9ec0860e8dad23b287cb3cd62e184b233fee93c0a26a0d51(
|
|
3203
|
+
*,
|
|
3204
|
+
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3205
|
+
delivery_stream: typing.Optional[builtins.str] = None,
|
|
3206
|
+
) -> None:
|
|
3207
|
+
"""Type checking stubs"""
|
|
3208
|
+
pass
|
|
3209
|
+
|
|
3210
|
+
def _typecheckingstub__7108764262b68e3cecbc01f6bb39c0838e2f09c63cf4785609dc2eb2db70f1b2(
|
|
3211
|
+
*,
|
|
3212
|
+
authentication_type: builtins.str,
|
|
3213
|
+
) -> None:
|
|
3214
|
+
"""Type checking stubs"""
|
|
3215
|
+
pass
|
|
3216
|
+
|
|
3217
|
+
def _typecheckingstub__0cecc14be0c2fb246e15a4608e4bdd7b9eac2e2126f98c4fff5625c81b616bf9(
|
|
3218
|
+
*,
|
|
3219
|
+
encryption_type: builtins.str,
|
|
3220
|
+
) -> None:
|
|
3221
|
+
"""Type checking stubs"""
|
|
3222
|
+
pass
|
|
3223
|
+
|
|
3224
|
+
def _typecheckingstub__e45630a977bbe5bbdad20f00c55a2b6d7b863f0ebdd96b83af5d59aeeac6fda2(
|
|
3225
|
+
*,
|
|
3226
|
+
apache_kafka_cluster: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.ApacheKafkaClusterProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3227
|
+
) -> None:
|
|
3228
|
+
"""Type checking stubs"""
|
|
3229
|
+
pass
|
|
3230
|
+
|
|
3231
|
+
def _typecheckingstub__24fd0806b35f57962768914d0194bea1b40b93b71c0c3dd6d6a8aad5d85e5b3d(
|
|
3232
|
+
*,
|
|
3233
|
+
worker_log_delivery: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.WorkerLogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2305
3234
|
) -> None:
|
|
2306
3235
|
"""Type checking stubs"""
|
|
2307
3236
|
pass
|
|
@@ -2382,7 +3311,156 @@ def _typecheckingstub__12463a17cb9c37949b260894212e085ba134c7ff0644cf3913b56f022
|
|
|
2382
3311
|
service_execution_role_arn: builtins.str,
|
|
2383
3312
|
connector_description: typing.Optional[builtins.str] = None,
|
|
2384
3313
|
log_delivery: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.LogDeliveryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3314
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2385
3315
|
worker_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2386
3316
|
) -> None:
|
|
2387
3317
|
"""Type checking stubs"""
|
|
2388
3318
|
pass
|
|
3319
|
+
|
|
3320
|
+
def _typecheckingstub__6c82cbd22c9261a35dcdabc1becaf63f49b9257f7d5508ee8aa43d6a285cf574(
|
|
3321
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3322
|
+
id: builtins.str,
|
|
3323
|
+
*,
|
|
3324
|
+
content_type: builtins.str,
|
|
3325
|
+
location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomPlugin.CustomPluginLocationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3326
|
+
name: builtins.str,
|
|
3327
|
+
description: typing.Optional[builtins.str] = None,
|
|
3328
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3329
|
+
) -> None:
|
|
3330
|
+
"""Type checking stubs"""
|
|
3331
|
+
pass
|
|
3332
|
+
|
|
3333
|
+
def _typecheckingstub__2de4a61cefe6c2d25a1cb343ddd4a22e10b259b61229c873a373b2fa9d057114(
|
|
3334
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3335
|
+
) -> None:
|
|
3336
|
+
"""Type checking stubs"""
|
|
3337
|
+
pass
|
|
3338
|
+
|
|
3339
|
+
def _typecheckingstub__f576b3a446b38f6f20978c3517504ba7babed66f64bc5fb21b1c950bc4a6872a(
|
|
3340
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3341
|
+
) -> None:
|
|
3342
|
+
"""Type checking stubs"""
|
|
3343
|
+
pass
|
|
3344
|
+
|
|
3345
|
+
def _typecheckingstub__ba10e1ed6d2bc46a1ed1d1fe0ea02869794128cfcb6ebd5cadbefe02bc0a548f(
|
|
3346
|
+
value: builtins.str,
|
|
3347
|
+
) -> None:
|
|
3348
|
+
"""Type checking stubs"""
|
|
3349
|
+
pass
|
|
3350
|
+
|
|
3351
|
+
def _typecheckingstub__7dc28b9198145db094f79802e21f70587ba9ea39d8bf86eecd4baa600f164d5b(
|
|
3352
|
+
value: typing.Union[_IResolvable_da3f097b, CfnCustomPlugin.CustomPluginLocationProperty],
|
|
3353
|
+
) -> None:
|
|
3354
|
+
"""Type checking stubs"""
|
|
3355
|
+
pass
|
|
3356
|
+
|
|
3357
|
+
def _typecheckingstub__22b7cdbcdbf1c6aca15574793b79bc5bcd1b238c5d20012e24075b2de3c3e1f5(
|
|
3358
|
+
value: builtins.str,
|
|
3359
|
+
) -> None:
|
|
3360
|
+
"""Type checking stubs"""
|
|
3361
|
+
pass
|
|
3362
|
+
|
|
3363
|
+
def _typecheckingstub__48e19fd5c93da0b6a93cdfdf44392a652cad52a2c961aef8c3e0a76eff5052e0(
|
|
3364
|
+
value: typing.Optional[builtins.str],
|
|
3365
|
+
) -> None:
|
|
3366
|
+
"""Type checking stubs"""
|
|
3367
|
+
pass
|
|
3368
|
+
|
|
3369
|
+
def _typecheckingstub__11b359e6a300e42bfcb9aa594841d75ad92accb911de61cc64790b7fc061f9fd(
|
|
3370
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3371
|
+
) -> None:
|
|
3372
|
+
"""Type checking stubs"""
|
|
3373
|
+
pass
|
|
3374
|
+
|
|
3375
|
+
def _typecheckingstub__e3f77f7d7b096911e70040b0039d61af28b26c9bc89fb1faf76b0717d7c9e18b(
|
|
3376
|
+
*,
|
|
3377
|
+
file_md5: typing.Optional[builtins.str] = None,
|
|
3378
|
+
file_size: typing.Optional[jsii.Number] = None,
|
|
3379
|
+
) -> None:
|
|
3380
|
+
"""Type checking stubs"""
|
|
3381
|
+
pass
|
|
3382
|
+
|
|
3383
|
+
def _typecheckingstub__63bbd79857b9bcc2770666f84b8116fcd6735c81fd0e1e465634b4002d175383(
|
|
3384
|
+
*,
|
|
3385
|
+
s3_location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomPlugin.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3386
|
+
) -> None:
|
|
3387
|
+
"""Type checking stubs"""
|
|
3388
|
+
pass
|
|
3389
|
+
|
|
3390
|
+
def _typecheckingstub__781a268ba9bfa781e533379ca4a5047660328871695af7ae3feb962865170db2(
|
|
3391
|
+
*,
|
|
3392
|
+
bucket_arn: builtins.str,
|
|
3393
|
+
file_key: builtins.str,
|
|
3394
|
+
object_version: typing.Optional[builtins.str] = None,
|
|
3395
|
+
) -> None:
|
|
3396
|
+
"""Type checking stubs"""
|
|
3397
|
+
pass
|
|
3398
|
+
|
|
3399
|
+
def _typecheckingstub__ff983745d275d6d3a1389c6b1984a735ff1815dde7d1308c56b56268157c0bac(
|
|
3400
|
+
*,
|
|
3401
|
+
content_type: builtins.str,
|
|
3402
|
+
location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCustomPlugin.CustomPluginLocationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3403
|
+
name: builtins.str,
|
|
3404
|
+
description: typing.Optional[builtins.str] = None,
|
|
3405
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3406
|
+
) -> None:
|
|
3407
|
+
"""Type checking stubs"""
|
|
3408
|
+
pass
|
|
3409
|
+
|
|
3410
|
+
def _typecheckingstub__5b9b69a356034dd45c5e800dbc80d6a39a12c1880a5d436867eade4d8465fab4(
|
|
3411
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3412
|
+
id: builtins.str,
|
|
3413
|
+
*,
|
|
3414
|
+
name: builtins.str,
|
|
3415
|
+
properties_file_content: builtins.str,
|
|
3416
|
+
description: typing.Optional[builtins.str] = None,
|
|
3417
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3418
|
+
) -> None:
|
|
3419
|
+
"""Type checking stubs"""
|
|
3420
|
+
pass
|
|
3421
|
+
|
|
3422
|
+
def _typecheckingstub__0e9312db5b66d689fcbfe5175a48113463e0ed07e92a59d8aa13bf6e7cc2e5ba(
|
|
3423
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3424
|
+
) -> None:
|
|
3425
|
+
"""Type checking stubs"""
|
|
3426
|
+
pass
|
|
3427
|
+
|
|
3428
|
+
def _typecheckingstub__8a145561100ff01cc7ff59a55ef33e73905f7091cbb20b0211c8b6706473d8db(
|
|
3429
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3430
|
+
) -> None:
|
|
3431
|
+
"""Type checking stubs"""
|
|
3432
|
+
pass
|
|
3433
|
+
|
|
3434
|
+
def _typecheckingstub__dc71d30a2d2b5a6b21933eb20d227cc7424b5194fb7804fa4cb3d77dd657dbb8(
|
|
3435
|
+
value: builtins.str,
|
|
3436
|
+
) -> None:
|
|
3437
|
+
"""Type checking stubs"""
|
|
3438
|
+
pass
|
|
3439
|
+
|
|
3440
|
+
def _typecheckingstub__cdac93459bf92083dd5049beb4d514f22fddfa0bd9d388dc1ef3385ce63b1af0(
|
|
3441
|
+
value: builtins.str,
|
|
3442
|
+
) -> None:
|
|
3443
|
+
"""Type checking stubs"""
|
|
3444
|
+
pass
|
|
3445
|
+
|
|
3446
|
+
def _typecheckingstub__30511563247fe50c21e1853ef081844489c75d4646bdd82b0b64165734629e02(
|
|
3447
|
+
value: typing.Optional[builtins.str],
|
|
3448
|
+
) -> None:
|
|
3449
|
+
"""Type checking stubs"""
|
|
3450
|
+
pass
|
|
3451
|
+
|
|
3452
|
+
def _typecheckingstub__9a36569b41baa16c75dbfb344c8382fd94b5dc82a3a87fd538c07957efff63b2(
|
|
3453
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3454
|
+
) -> None:
|
|
3455
|
+
"""Type checking stubs"""
|
|
3456
|
+
pass
|
|
3457
|
+
|
|
3458
|
+
def _typecheckingstub__2b5e8a900e9ebee6da2f64fb77eb98c44d23ed30e4b800a7e67486fadb71f6ae(
|
|
3459
|
+
*,
|
|
3460
|
+
name: builtins.str,
|
|
3461
|
+
properties_file_content: builtins.str,
|
|
3462
|
+
description: typing.Optional[builtins.str] = None,
|
|
3463
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3464
|
+
) -> None:
|
|
3465
|
+
"""Type checking stubs"""
|
|
3466
|
+
pass
|