aws-cdk-lib 2.200.2__py3-none-any.whl → 2.201.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 +105 -13
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.201.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -3
- aws_cdk/aws_amplify/__init__.py +3 -3
- aws_cdk/aws_apigateway/__init__.py +21 -17
- aws_cdk/aws_apigatewayv2/__init__.py +87 -45
- aws_cdk/aws_appconfig/__init__.py +38 -1
- aws_cdk/aws_appsync/__init__.py +10 -10
- aws_cdk/aws_athena/__init__.py +226 -0
- aws_cdk/aws_autoscaling/__init__.py +38 -37
- aws_cdk/aws_bedrock/__init__.py +5108 -1571
- aws_cdk/aws_cloudfront/__init__.py +8 -0
- aws_cdk/aws_cloudtrail/__init__.py +178 -0
- aws_cdk/aws_cloudwatch/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +746 -0
- aws_cdk/aws_connect/__init__.py +5 -5
- aws_cdk/aws_customerprofiles/__init__.py +377 -8
- aws_cdk/aws_datasync/__init__.py +189 -160
- aws_cdk/aws_datazone/__init__.py +512 -170
- aws_cdk/aws_deadline/__init__.py +32 -4
- aws_cdk/aws_dsql/__init__.py +150 -10
- aws_cdk/aws_ec2/__init__.py +793 -56
- aws_cdk/aws_ecs/__init__.py +94 -11
- aws_cdk/aws_efs/__init__.py +92 -12
- aws_cdk/aws_eks/__init__.py +166 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +10 -4
- aws_cdk/aws_entityresolution/__init__.py +25 -10
- aws_cdk/aws_evs/__init__.py +2204 -0
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_lambda/__init__.py +409 -32
- aws_cdk/aws_lightsail/__init__.py +17 -13
- aws_cdk/aws_logs/__init__.py +1 -0
- aws_cdk/aws_networkfirewall/__init__.py +562 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -3
- aws_cdk/aws_opsworkscm/__init__.py +9 -43
- aws_cdk/aws_rds/__init__.py +284 -87
- aws_cdk/aws_s3/__init__.py +23 -15
- aws_cdk/aws_sagemaker/__init__.py +223 -3
- aws_cdk/aws_securityhub/__init__.py +18 -34
- aws_cdk/aws_ssm/__init__.py +83 -1
- aws_cdk/aws_stepfunctions/__init__.py +235 -45
- aws_cdk/aws_synthetics/__init__.py +74 -0
- aws_cdk/aws_transfer/__init__.py +3 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +17 -6
- aws_cdk/aws_wafv2/__init__.py +39 -2
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/RECORD +53 -52
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -4495,6 +4495,8 @@ class CfnEventInvokeConfig(
|
|
|
4495
4495
|
def __init__(self, *, destination: builtins.str) -> None:
|
|
4496
4496
|
'''A destination for events that failed processing.
|
|
4497
4497
|
|
|
4498
|
+
See `Capturing records of Lambda asynchronous invocations <https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html>`_ for more information.
|
|
4499
|
+
|
|
4498
4500
|
:param destination: The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful `asynchronous invocations <https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations>`_ , you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from `Kinesis <https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html>`_ , `DynamoDB <https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html>`_ , `self-managed Kafka <https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination>`_ or `Amazon MSK <https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination>`_ , you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
|
|
4499
4501
|
|
|
4500
4502
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-onfailure.html
|
|
@@ -4787,7 +4789,18 @@ class CfnEventSourceMapping(
|
|
|
4787
4789
|
|
|
4788
4790
|
# the properties below are optional
|
|
4789
4791
|
amazon_managed_kafka_event_source_config=lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty(
|
|
4790
|
-
consumer_group_id="consumerGroupId"
|
|
4792
|
+
consumer_group_id="consumerGroupId",
|
|
4793
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
4794
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
4795
|
+
type="type",
|
|
4796
|
+
uri="uri"
|
|
4797
|
+
)],
|
|
4798
|
+
event_record_format="eventRecordFormat",
|
|
4799
|
+
schema_registry_uri="schemaRegistryUri",
|
|
4800
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
4801
|
+
attribute="attribute"
|
|
4802
|
+
)]
|
|
4803
|
+
)
|
|
4791
4804
|
),
|
|
4792
4805
|
batch_size=123,
|
|
4793
4806
|
bisect_batch_on_function_error=False,
|
|
@@ -4831,7 +4844,18 @@ class CfnEventSourceMapping(
|
|
|
4831
4844
|
)
|
|
4832
4845
|
),
|
|
4833
4846
|
self_managed_kafka_event_source_config=lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty(
|
|
4834
|
-
consumer_group_id="consumerGroupId"
|
|
4847
|
+
consumer_group_id="consumerGroupId",
|
|
4848
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
4849
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
4850
|
+
type="type",
|
|
4851
|
+
uri="uri"
|
|
4852
|
+
)],
|
|
4853
|
+
event_record_format="eventRecordFormat",
|
|
4854
|
+
schema_registry_uri="schemaRegistryUri",
|
|
4855
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
4856
|
+
attribute="attribute"
|
|
4857
|
+
)]
|
|
4858
|
+
)
|
|
4835
4859
|
),
|
|
4836
4860
|
source_access_configurations=[lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty(
|
|
4837
4861
|
type="type",
|
|
@@ -5436,17 +5460,22 @@ class CfnEventSourceMapping(
|
|
|
5436
5460
|
@jsii.data_type(
|
|
5437
5461
|
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty",
|
|
5438
5462
|
jsii_struct_bases=[],
|
|
5439
|
-
name_mapping={
|
|
5463
|
+
name_mapping={
|
|
5464
|
+
"consumer_group_id": "consumerGroupId",
|
|
5465
|
+
"schema_registry_config": "schemaRegistryConfig",
|
|
5466
|
+
},
|
|
5440
5467
|
)
|
|
5441
5468
|
class AmazonManagedKafkaEventSourceConfigProperty:
|
|
5442
5469
|
def __init__(
|
|
5443
5470
|
self,
|
|
5444
5471
|
*,
|
|
5445
5472
|
consumer_group_id: typing.Optional[builtins.str] = None,
|
|
5473
|
+
schema_registry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SchemaRegistryConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5446
5474
|
) -> None:
|
|
5447
5475
|
'''Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
|
5448
5476
|
|
|
5449
5477
|
:param consumer_group_id: The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id>`_ .
|
|
5478
|
+
:param schema_registry_config:
|
|
5450
5479
|
|
|
5451
5480
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html
|
|
5452
5481
|
:exampleMetadata: fixture=_generated
|
|
@@ -5458,15 +5487,29 @@ class CfnEventSourceMapping(
|
|
|
5458
5487
|
from aws_cdk import aws_lambda as lambda_
|
|
5459
5488
|
|
|
5460
5489
|
amazon_managed_kafka_event_source_config_property = lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty(
|
|
5461
|
-
consumer_group_id="consumerGroupId"
|
|
5490
|
+
consumer_group_id="consumerGroupId",
|
|
5491
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
5492
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
5493
|
+
type="type",
|
|
5494
|
+
uri="uri"
|
|
5495
|
+
)],
|
|
5496
|
+
event_record_format="eventRecordFormat",
|
|
5497
|
+
schema_registry_uri="schemaRegistryUri",
|
|
5498
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
5499
|
+
attribute="attribute"
|
|
5500
|
+
)]
|
|
5501
|
+
)
|
|
5462
5502
|
)
|
|
5463
5503
|
'''
|
|
5464
5504
|
if __debug__:
|
|
5465
5505
|
type_hints = typing.get_type_hints(_typecheckingstub__aac6572409154e0ba1b8c514b7863acbda031f98f5a42007db7c94d4afe31b72)
|
|
5466
5506
|
check_type(argname="argument consumer_group_id", value=consumer_group_id, expected_type=type_hints["consumer_group_id"])
|
|
5507
|
+
check_type(argname="argument schema_registry_config", value=schema_registry_config, expected_type=type_hints["schema_registry_config"])
|
|
5467
5508
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5468
5509
|
if consumer_group_id is not None:
|
|
5469
5510
|
self._values["consumer_group_id"] = consumer_group_id
|
|
5511
|
+
if schema_registry_config is not None:
|
|
5512
|
+
self._values["schema_registry_config"] = schema_registry_config
|
|
5470
5513
|
|
|
5471
5514
|
@builtins.property
|
|
5472
5515
|
def consumer_group_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -5479,6 +5522,16 @@ class CfnEventSourceMapping(
|
|
|
5479
5522
|
result = self._values.get("consumer_group_id")
|
|
5480
5523
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5481
5524
|
|
|
5525
|
+
@builtins.property
|
|
5526
|
+
def schema_registry_config(
|
|
5527
|
+
self,
|
|
5528
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryConfigProperty"]]:
|
|
5529
|
+
'''
|
|
5530
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig-schemaregistryconfig
|
|
5531
|
+
'''
|
|
5532
|
+
result = self._values.get("schema_registry_config")
|
|
5533
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryConfigProperty"]], result)
|
|
5534
|
+
|
|
5482
5535
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5483
5536
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5484
5537
|
|
|
@@ -5881,6 +5934,8 @@ class CfnEventSourceMapping(
|
|
|
5881
5934
|
) -> None:
|
|
5882
5935
|
'''A destination for events that failed processing.
|
|
5883
5936
|
|
|
5937
|
+
See `Capturing records of Lambda asynchronous invocations <https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html>`_ for more information.
|
|
5938
|
+
|
|
5884
5939
|
:param destination: The Amazon Resource Name (ARN) of the destination resource. To retain records of unsuccessful `asynchronous invocations <https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations>`_ , you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination. To retain records of failed invocations from `Kinesis <https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html>`_ , `DynamoDB <https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html>`_ , `self-managed Kafka <https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination>`_ or `Amazon MSK <https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination>`_ , you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
|
|
5885
5940
|
|
|
5886
5941
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html
|
|
@@ -6057,6 +6112,240 @@ class CfnEventSourceMapping(
|
|
|
6057
6112
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6058
6113
|
)
|
|
6059
6114
|
|
|
6115
|
+
@jsii.data_type(
|
|
6116
|
+
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty",
|
|
6117
|
+
jsii_struct_bases=[],
|
|
6118
|
+
name_mapping={"type": "type", "uri": "uri"},
|
|
6119
|
+
)
|
|
6120
|
+
class SchemaRegistryAccessConfigProperty:
|
|
6121
|
+
def __init__(
|
|
6122
|
+
self,
|
|
6123
|
+
*,
|
|
6124
|
+
type: typing.Optional[builtins.str] = None,
|
|
6125
|
+
uri: typing.Optional[builtins.str] = None,
|
|
6126
|
+
) -> None:
|
|
6127
|
+
'''
|
|
6128
|
+
:param type: The type of authentication Lambda uses to access your schema registry.
|
|
6129
|
+
:param uri: The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
|
|
6130
|
+
|
|
6131
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryaccessconfig.html
|
|
6132
|
+
:exampleMetadata: fixture=_generated
|
|
6133
|
+
|
|
6134
|
+
Example::
|
|
6135
|
+
|
|
6136
|
+
# The code below shows an example of how to instantiate this type.
|
|
6137
|
+
# The values are placeholders you should change.
|
|
6138
|
+
from aws_cdk import aws_lambda as lambda_
|
|
6139
|
+
|
|
6140
|
+
schema_registry_access_config_property = lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
6141
|
+
type="type",
|
|
6142
|
+
uri="uri"
|
|
6143
|
+
)
|
|
6144
|
+
'''
|
|
6145
|
+
if __debug__:
|
|
6146
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6eca6e693bd8bc08cbc4e65ef0a192af8a45e588dc95d417a2c7feff8fc7ade7)
|
|
6147
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
6148
|
+
check_type(argname="argument uri", value=uri, expected_type=type_hints["uri"])
|
|
6149
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6150
|
+
if type is not None:
|
|
6151
|
+
self._values["type"] = type
|
|
6152
|
+
if uri is not None:
|
|
6153
|
+
self._values["uri"] = uri
|
|
6154
|
+
|
|
6155
|
+
@builtins.property
|
|
6156
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
6157
|
+
'''The type of authentication Lambda uses to access your schema registry.
|
|
6158
|
+
|
|
6159
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryaccessconfig.html#cfn-lambda-eventsourcemapping-schemaregistryaccessconfig-type
|
|
6160
|
+
'''
|
|
6161
|
+
result = self._values.get("type")
|
|
6162
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6163
|
+
|
|
6164
|
+
@builtins.property
|
|
6165
|
+
def uri(self) -> typing.Optional[builtins.str]:
|
|
6166
|
+
'''The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
|
|
6167
|
+
|
|
6168
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryaccessconfig.html#cfn-lambda-eventsourcemapping-schemaregistryaccessconfig-uri
|
|
6169
|
+
'''
|
|
6170
|
+
result = self._values.get("uri")
|
|
6171
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6172
|
+
|
|
6173
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6174
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6175
|
+
|
|
6176
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6177
|
+
return not (rhs == self)
|
|
6178
|
+
|
|
6179
|
+
def __repr__(self) -> str:
|
|
6180
|
+
return "SchemaRegistryAccessConfigProperty(%s)" % ", ".join(
|
|
6181
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6182
|
+
)
|
|
6183
|
+
|
|
6184
|
+
@jsii.data_type(
|
|
6185
|
+
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty",
|
|
6186
|
+
jsii_struct_bases=[],
|
|
6187
|
+
name_mapping={
|
|
6188
|
+
"access_configs": "accessConfigs",
|
|
6189
|
+
"event_record_format": "eventRecordFormat",
|
|
6190
|
+
"schema_registry_uri": "schemaRegistryUri",
|
|
6191
|
+
"schema_validation_configs": "schemaValidationConfigs",
|
|
6192
|
+
},
|
|
6193
|
+
)
|
|
6194
|
+
class SchemaRegistryConfigProperty:
|
|
6195
|
+
def __init__(
|
|
6196
|
+
self,
|
|
6197
|
+
*,
|
|
6198
|
+
access_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SchemaRegistryAccessConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6199
|
+
event_record_format: typing.Optional[builtins.str] = None,
|
|
6200
|
+
schema_registry_uri: typing.Optional[builtins.str] = None,
|
|
6201
|
+
schema_validation_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SchemaValidationConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6202
|
+
) -> None:
|
|
6203
|
+
'''
|
|
6204
|
+
:param access_configs: An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
|
|
6205
|
+
:param event_record_format: The record format that Lambda delivers to your function after schema validation.
|
|
6206
|
+
:param schema_registry_uri: The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.
|
|
6207
|
+
:param schema_validation_configs: An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
|
|
6208
|
+
|
|
6209
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html
|
|
6210
|
+
:exampleMetadata: fixture=_generated
|
|
6211
|
+
|
|
6212
|
+
Example::
|
|
6213
|
+
|
|
6214
|
+
# The code below shows an example of how to instantiate this type.
|
|
6215
|
+
# The values are placeholders you should change.
|
|
6216
|
+
from aws_cdk import aws_lambda as lambda_
|
|
6217
|
+
|
|
6218
|
+
schema_registry_config_property = lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
6219
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
6220
|
+
type="type",
|
|
6221
|
+
uri="uri"
|
|
6222
|
+
)],
|
|
6223
|
+
event_record_format="eventRecordFormat",
|
|
6224
|
+
schema_registry_uri="schemaRegistryUri",
|
|
6225
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
6226
|
+
attribute="attribute"
|
|
6227
|
+
)]
|
|
6228
|
+
)
|
|
6229
|
+
'''
|
|
6230
|
+
if __debug__:
|
|
6231
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7f8fb419a333cbc879badd611bbdfdb1f0ed875f70f7915910a930f6c8cc2742)
|
|
6232
|
+
check_type(argname="argument access_configs", value=access_configs, expected_type=type_hints["access_configs"])
|
|
6233
|
+
check_type(argname="argument event_record_format", value=event_record_format, expected_type=type_hints["event_record_format"])
|
|
6234
|
+
check_type(argname="argument schema_registry_uri", value=schema_registry_uri, expected_type=type_hints["schema_registry_uri"])
|
|
6235
|
+
check_type(argname="argument schema_validation_configs", value=schema_validation_configs, expected_type=type_hints["schema_validation_configs"])
|
|
6236
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6237
|
+
if access_configs is not None:
|
|
6238
|
+
self._values["access_configs"] = access_configs
|
|
6239
|
+
if event_record_format is not None:
|
|
6240
|
+
self._values["event_record_format"] = event_record_format
|
|
6241
|
+
if schema_registry_uri is not None:
|
|
6242
|
+
self._values["schema_registry_uri"] = schema_registry_uri
|
|
6243
|
+
if schema_validation_configs is not None:
|
|
6244
|
+
self._values["schema_validation_configs"] = schema_validation_configs
|
|
6245
|
+
|
|
6246
|
+
@builtins.property
|
|
6247
|
+
def access_configs(
|
|
6248
|
+
self,
|
|
6249
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryAccessConfigProperty"]]]]:
|
|
6250
|
+
'''An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
|
|
6251
|
+
|
|
6252
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html#cfn-lambda-eventsourcemapping-schemaregistryconfig-accessconfigs
|
|
6253
|
+
'''
|
|
6254
|
+
result = self._values.get("access_configs")
|
|
6255
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryAccessConfigProperty"]]]], result)
|
|
6256
|
+
|
|
6257
|
+
@builtins.property
|
|
6258
|
+
def event_record_format(self) -> typing.Optional[builtins.str]:
|
|
6259
|
+
'''The record format that Lambda delivers to your function after schema validation.
|
|
6260
|
+
|
|
6261
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html#cfn-lambda-eventsourcemapping-schemaregistryconfig-eventrecordformat
|
|
6262
|
+
'''
|
|
6263
|
+
result = self._values.get("event_record_format")
|
|
6264
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6265
|
+
|
|
6266
|
+
@builtins.property
|
|
6267
|
+
def schema_registry_uri(self) -> typing.Optional[builtins.str]:
|
|
6268
|
+
'''The URI for your schema registry.
|
|
6269
|
+
|
|
6270
|
+
The correct URI format depends on the type of schema registry you're using.
|
|
6271
|
+
|
|
6272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html#cfn-lambda-eventsourcemapping-schemaregistryconfig-schemaregistryuri
|
|
6273
|
+
'''
|
|
6274
|
+
result = self._values.get("schema_registry_uri")
|
|
6275
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6276
|
+
|
|
6277
|
+
@builtins.property
|
|
6278
|
+
def schema_validation_configs(
|
|
6279
|
+
self,
|
|
6280
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaValidationConfigProperty"]]]]:
|
|
6281
|
+
'''An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
|
|
6282
|
+
|
|
6283
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html#cfn-lambda-eventsourcemapping-schemaregistryconfig-schemavalidationconfigs
|
|
6284
|
+
'''
|
|
6285
|
+
result = self._values.get("schema_validation_configs")
|
|
6286
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaValidationConfigProperty"]]]], result)
|
|
6287
|
+
|
|
6288
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6289
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6290
|
+
|
|
6291
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6292
|
+
return not (rhs == self)
|
|
6293
|
+
|
|
6294
|
+
def __repr__(self) -> str:
|
|
6295
|
+
return "SchemaRegistryConfigProperty(%s)" % ", ".join(
|
|
6296
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6297
|
+
)
|
|
6298
|
+
|
|
6299
|
+
@jsii.data_type(
|
|
6300
|
+
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SchemaValidationConfigProperty",
|
|
6301
|
+
jsii_struct_bases=[],
|
|
6302
|
+
name_mapping={"attribute": "attribute"},
|
|
6303
|
+
)
|
|
6304
|
+
class SchemaValidationConfigProperty:
|
|
6305
|
+
def __init__(self, *, attribute: typing.Optional[builtins.str] = None) -> None:
|
|
6306
|
+
'''
|
|
6307
|
+
:param attribute: The attribute you want your schema registry to validate and filter for.
|
|
6308
|
+
|
|
6309
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemavalidationconfig.html
|
|
6310
|
+
:exampleMetadata: fixture=_generated
|
|
6311
|
+
|
|
6312
|
+
Example::
|
|
6313
|
+
|
|
6314
|
+
# The code below shows an example of how to instantiate this type.
|
|
6315
|
+
# The values are placeholders you should change.
|
|
6316
|
+
from aws_cdk import aws_lambda as lambda_
|
|
6317
|
+
|
|
6318
|
+
schema_validation_config_property = lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
6319
|
+
attribute="attribute"
|
|
6320
|
+
)
|
|
6321
|
+
'''
|
|
6322
|
+
if __debug__:
|
|
6323
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a33eb6c4d2c3434344b07e6867f42e37e4fc335a3f84422c3bf42cd6136142b7)
|
|
6324
|
+
check_type(argname="argument attribute", value=attribute, expected_type=type_hints["attribute"])
|
|
6325
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6326
|
+
if attribute is not None:
|
|
6327
|
+
self._values["attribute"] = attribute
|
|
6328
|
+
|
|
6329
|
+
@builtins.property
|
|
6330
|
+
def attribute(self) -> typing.Optional[builtins.str]:
|
|
6331
|
+
'''The attribute you want your schema registry to validate and filter for.
|
|
6332
|
+
|
|
6333
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemavalidationconfig.html#cfn-lambda-eventsourcemapping-schemavalidationconfig-attribute
|
|
6334
|
+
'''
|
|
6335
|
+
result = self._values.get("attribute")
|
|
6336
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6337
|
+
|
|
6338
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6339
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6340
|
+
|
|
6341
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6342
|
+
return not (rhs == self)
|
|
6343
|
+
|
|
6344
|
+
def __repr__(self) -> str:
|
|
6345
|
+
return "SchemaValidationConfigProperty(%s)" % ", ".join(
|
|
6346
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6347
|
+
)
|
|
6348
|
+
|
|
6060
6349
|
@jsii.data_type(
|
|
6061
6350
|
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SelfManagedEventSourceProperty",
|
|
6062
6351
|
jsii_struct_bases=[],
|
|
@@ -6119,17 +6408,22 @@ class CfnEventSourceMapping(
|
|
|
6119
6408
|
@jsii.data_type(
|
|
6120
6409
|
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty",
|
|
6121
6410
|
jsii_struct_bases=[],
|
|
6122
|
-
name_mapping={
|
|
6411
|
+
name_mapping={
|
|
6412
|
+
"consumer_group_id": "consumerGroupId",
|
|
6413
|
+
"schema_registry_config": "schemaRegistryConfig",
|
|
6414
|
+
},
|
|
6123
6415
|
)
|
|
6124
6416
|
class SelfManagedKafkaEventSourceConfigProperty:
|
|
6125
6417
|
def __init__(
|
|
6126
6418
|
self,
|
|
6127
6419
|
*,
|
|
6128
6420
|
consumer_group_id: typing.Optional[builtins.str] = None,
|
|
6421
|
+
schema_registry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SchemaRegistryConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6129
6422
|
) -> None:
|
|
6130
6423
|
'''Specific configuration settings for a self-managed Apache Kafka event source.
|
|
6131
6424
|
|
|
6132
|
-
:param consumer_group_id: The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-
|
|
6425
|
+
:param consumer_group_id: The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add>`_ .
|
|
6426
|
+
:param schema_registry_config:
|
|
6133
6427
|
|
|
6134
6428
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html
|
|
6135
6429
|
:exampleMetadata: fixture=_generated
|
|
@@ -6141,27 +6435,51 @@ class CfnEventSourceMapping(
|
|
|
6141
6435
|
from aws_cdk import aws_lambda as lambda_
|
|
6142
6436
|
|
|
6143
6437
|
self_managed_kafka_event_source_config_property = lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty(
|
|
6144
|
-
consumer_group_id="consumerGroupId"
|
|
6438
|
+
consumer_group_id="consumerGroupId",
|
|
6439
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
6440
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
6441
|
+
type="type",
|
|
6442
|
+
uri="uri"
|
|
6443
|
+
)],
|
|
6444
|
+
event_record_format="eventRecordFormat",
|
|
6445
|
+
schema_registry_uri="schemaRegistryUri",
|
|
6446
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
6447
|
+
attribute="attribute"
|
|
6448
|
+
)]
|
|
6449
|
+
)
|
|
6145
6450
|
)
|
|
6146
6451
|
'''
|
|
6147
6452
|
if __debug__:
|
|
6148
6453
|
type_hints = typing.get_type_hints(_typecheckingstub__da32c0d6c5c0b8e4a97d90195ff7f689e87587b466dc192a0b2972c1b6740d3d)
|
|
6149
6454
|
check_type(argname="argument consumer_group_id", value=consumer_group_id, expected_type=type_hints["consumer_group_id"])
|
|
6455
|
+
check_type(argname="argument schema_registry_config", value=schema_registry_config, expected_type=type_hints["schema_registry_config"])
|
|
6150
6456
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6151
6457
|
if consumer_group_id is not None:
|
|
6152
6458
|
self._values["consumer_group_id"] = consumer_group_id
|
|
6459
|
+
if schema_registry_config is not None:
|
|
6460
|
+
self._values["schema_registry_config"] = schema_registry_config
|
|
6153
6461
|
|
|
6154
6462
|
@builtins.property
|
|
6155
6463
|
def consumer_group_id(self) -> typing.Optional[builtins.str]:
|
|
6156
6464
|
'''The identifier for the Kafka consumer group to join.
|
|
6157
6465
|
|
|
6158
|
-
The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-
|
|
6466
|
+
The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add>`_ .
|
|
6159
6467
|
|
|
6160
6468
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig-consumergroupid
|
|
6161
6469
|
'''
|
|
6162
6470
|
result = self._values.get("consumer_group_id")
|
|
6163
6471
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6164
6472
|
|
|
6473
|
+
@builtins.property
|
|
6474
|
+
def schema_registry_config(
|
|
6475
|
+
self,
|
|
6476
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryConfigProperty"]]:
|
|
6477
|
+
'''
|
|
6478
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig-schemaregistryconfig
|
|
6479
|
+
'''
|
|
6480
|
+
result = self._values.get("schema_registry_config")
|
|
6481
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventSourceMapping.SchemaRegistryConfigProperty"]], result)
|
|
6482
|
+
|
|
6165
6483
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6166
6484
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6167
6485
|
|
|
@@ -6365,7 +6683,18 @@ class CfnEventSourceMappingProps:
|
|
|
6365
6683
|
|
|
6366
6684
|
# the properties below are optional
|
|
6367
6685
|
amazon_managed_kafka_event_source_config=lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty(
|
|
6368
|
-
consumer_group_id="consumerGroupId"
|
|
6686
|
+
consumer_group_id="consumerGroupId",
|
|
6687
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
6688
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
6689
|
+
type="type",
|
|
6690
|
+
uri="uri"
|
|
6691
|
+
)],
|
|
6692
|
+
event_record_format="eventRecordFormat",
|
|
6693
|
+
schema_registry_uri="schemaRegistryUri",
|
|
6694
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
6695
|
+
attribute="attribute"
|
|
6696
|
+
)]
|
|
6697
|
+
)
|
|
6369
6698
|
),
|
|
6370
6699
|
batch_size=123,
|
|
6371
6700
|
bisect_batch_on_function_error=False,
|
|
@@ -6409,7 +6738,18 @@ class CfnEventSourceMappingProps:
|
|
|
6409
6738
|
)
|
|
6410
6739
|
),
|
|
6411
6740
|
self_managed_kafka_event_source_config=lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty(
|
|
6412
|
-
consumer_group_id="consumerGroupId"
|
|
6741
|
+
consumer_group_id="consumerGroupId",
|
|
6742
|
+
schema_registry_config=lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty(
|
|
6743
|
+
access_configs=[lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty(
|
|
6744
|
+
type="type",
|
|
6745
|
+
uri="uri"
|
|
6746
|
+
)],
|
|
6747
|
+
event_record_format="eventRecordFormat",
|
|
6748
|
+
schema_registry_uri="schemaRegistryUri",
|
|
6749
|
+
schema_validation_configs=[lambda.CfnEventSourceMapping.SchemaValidationConfigProperty(
|
|
6750
|
+
attribute="attribute"
|
|
6751
|
+
)]
|
|
6752
|
+
)
|
|
6413
6753
|
),
|
|
6414
6754
|
source_access_configurations=[lambda.CfnEventSourceMapping.SourceAccessConfigurationProperty(
|
|
6415
6755
|
type="type",
|
|
@@ -11323,23 +11663,28 @@ class Code(metaclass=jsii.JSIIAbstractClass, jsii_type="aws-cdk-lib.aws_lambda.C
|
|
|
11323
11663
|
|
|
11324
11664
|
Example::
|
|
11325
11665
|
|
|
11326
|
-
import aws_cdk.
|
|
11666
|
+
import aws_cdk.aws_lambda as lambda_
|
|
11327
11667
|
|
|
11328
11668
|
|
|
11329
|
-
|
|
11330
|
-
|
|
11669
|
+
fn = lambda_.Function(self, "MyFunc",
|
|
11670
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
11671
|
+
handler="index.handler",
|
|
11672
|
+
code=lambda_.Code.from_inline("exports.handler = handler.toString()")
|
|
11331
11673
|
)
|
|
11332
11674
|
|
|
11333
|
-
|
|
11334
|
-
|
|
11675
|
+
rule = events.Rule(self, "rule",
|
|
11676
|
+
event_pattern=events.EventPattern(
|
|
11677
|
+
source=["aws.ec2"]
|
|
11678
|
+
)
|
|
11335
11679
|
)
|
|
11336
11680
|
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11681
|
+
queue = sqs.Queue(self, "Queue")
|
|
11682
|
+
|
|
11683
|
+
rule.add_target(targets.LambdaFunction(fn,
|
|
11684
|
+
dead_letter_queue=queue, # Optional: add a dead letter queue
|
|
11685
|
+
max_event_age=Duration.hours(2), # Optional: set the maxEventAge retry policy
|
|
11686
|
+
retry_attempts=2
|
|
11687
|
+
))
|
|
11343
11688
|
'''
|
|
11344
11689
|
|
|
11345
11690
|
def __init__(self) -> None:
|
|
@@ -28163,23 +28508,28 @@ class Function(
|
|
|
28163
28508
|
|
|
28164
28509
|
Example::
|
|
28165
28510
|
|
|
28166
|
-
import aws_cdk.
|
|
28511
|
+
import aws_cdk.aws_lambda as lambda_
|
|
28167
28512
|
|
|
28168
28513
|
|
|
28169
|
-
|
|
28170
|
-
|
|
28514
|
+
fn = lambda_.Function(self, "MyFunc",
|
|
28515
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
28516
|
+
handler="index.handler",
|
|
28517
|
+
code=lambda_.Code.from_inline("exports.handler = handler.toString()")
|
|
28171
28518
|
)
|
|
28172
28519
|
|
|
28173
|
-
|
|
28174
|
-
|
|
28520
|
+
rule = events.Rule(self, "rule",
|
|
28521
|
+
event_pattern=events.EventPattern(
|
|
28522
|
+
source=["aws.ec2"]
|
|
28523
|
+
)
|
|
28175
28524
|
)
|
|
28176
28525
|
|
|
28177
|
-
|
|
28178
|
-
|
|
28179
|
-
|
|
28180
|
-
|
|
28181
|
-
|
|
28182
|
-
|
|
28526
|
+
queue = sqs.Queue(self, "Queue")
|
|
28527
|
+
|
|
28528
|
+
rule.add_target(targets.LambdaFunction(fn,
|
|
28529
|
+
dead_letter_queue=queue, # Optional: add a dead letter queue
|
|
28530
|
+
max_event_age=Duration.hours(2), # Optional: set the maxEventAge retry policy
|
|
28531
|
+
retry_attempts=2
|
|
28532
|
+
))
|
|
28183
28533
|
'''
|
|
28184
28534
|
|
|
28185
28535
|
def __init__(
|
|
@@ -29945,6 +30295,7 @@ def _typecheckingstub__9ba4e20a14a70ac72313ba360ce912878e7f45dfe5ecfef9725f227fc
|
|
|
29945
30295
|
def _typecheckingstub__aac6572409154e0ba1b8c514b7863acbda031f98f5a42007db7c94d4afe31b72(
|
|
29946
30296
|
*,
|
|
29947
30297
|
consumer_group_id: typing.Optional[builtins.str] = None,
|
|
30298
|
+
schema_registry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SchemaRegistryConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
29948
30299
|
) -> None:
|
|
29949
30300
|
"""Type checking stubs"""
|
|
29950
30301
|
pass
|
|
@@ -30015,6 +30366,31 @@ def _typecheckingstub__cb04d1a40c8f33d48d5c4188609d038cd334985a6f5970b3c6b8dd193
|
|
|
30015
30366
|
"""Type checking stubs"""
|
|
30016
30367
|
pass
|
|
30017
30368
|
|
|
30369
|
+
def _typecheckingstub__6eca6e693bd8bc08cbc4e65ef0a192af8a45e588dc95d417a2c7feff8fc7ade7(
|
|
30370
|
+
*,
|
|
30371
|
+
type: typing.Optional[builtins.str] = None,
|
|
30372
|
+
uri: typing.Optional[builtins.str] = None,
|
|
30373
|
+
) -> None:
|
|
30374
|
+
"""Type checking stubs"""
|
|
30375
|
+
pass
|
|
30376
|
+
|
|
30377
|
+
def _typecheckingstub__7f8fb419a333cbc879badd611bbdfdb1f0ed875f70f7915910a930f6c8cc2742(
|
|
30378
|
+
*,
|
|
30379
|
+
access_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SchemaRegistryAccessConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
30380
|
+
event_record_format: typing.Optional[builtins.str] = None,
|
|
30381
|
+
schema_registry_uri: typing.Optional[builtins.str] = None,
|
|
30382
|
+
schema_validation_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SchemaValidationConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
30383
|
+
) -> None:
|
|
30384
|
+
"""Type checking stubs"""
|
|
30385
|
+
pass
|
|
30386
|
+
|
|
30387
|
+
def _typecheckingstub__a33eb6c4d2c3434344b07e6867f42e37e4fc335a3f84422c3bf42cd6136142b7(
|
|
30388
|
+
*,
|
|
30389
|
+
attribute: typing.Optional[builtins.str] = None,
|
|
30390
|
+
) -> None:
|
|
30391
|
+
"""Type checking stubs"""
|
|
30392
|
+
pass
|
|
30393
|
+
|
|
30018
30394
|
def _typecheckingstub__a93b51262658dc9dfd71e073cc42d4549a6e56e4c3b47edd31d26c3a46ea8929(
|
|
30019
30395
|
*,
|
|
30020
30396
|
endpoints: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.EndpointsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -30025,6 +30401,7 @@ def _typecheckingstub__a93b51262658dc9dfd71e073cc42d4549a6e56e4c3b47edd31d26c3a4
|
|
|
30025
30401
|
def _typecheckingstub__da32c0d6c5c0b8e4a97d90195ff7f689e87587b466dc192a0b2972c1b6740d3d(
|
|
30026
30402
|
*,
|
|
30027
30403
|
consumer_group_id: typing.Optional[builtins.str] = None,
|
|
30404
|
+
schema_registry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SchemaRegistryConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
30028
30405
|
) -> None:
|
|
30029
30406
|
"""Type checking stubs"""
|
|
30030
30407
|
pass
|