aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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.

Files changed (78) hide show
  1. aws_cdk/__init__.py +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -4900,7 +4900,7 @@ class CfnDataSource(
4900
4900
  :param id: Construct identifier for this resource (unique in its scope).
4901
4901
  :param api_id: Unique AWS AppSync GraphQL API identifier where this data source will be created.
4902
4902
  :param name: Friendly name for you to identify your AppSync data source after creation.
4903
- :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
4903
+ :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_BEDROCK_RUNTIME* : The data source is the Amazon Bedrock runtime. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
4904
4904
  :param description: The description of the data source.
4905
4905
  :param dynamo_db_config: AWS Region and TableName for an Amazon DynamoDB table in your account.
4906
4906
  :param elasticsearch_config:
@@ -6168,7 +6168,7 @@ class CfnDataSourceProps:
6168
6168
 
6169
6169
  :param api_id: Unique AWS AppSync GraphQL API identifier where this data source will be created.
6170
6170
  :param name: Friendly name for you to identify your AppSync data source after creation.
6171
- :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
6171
+ :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_BEDROCK_RUNTIME* : The data source is the Amazon Bedrock runtime. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
6172
6172
  :param description: The description of the data source.
6173
6173
  :param dynamo_db_config: AWS Region and TableName for an Amazon DynamoDB table in your account.
6174
6174
  :param elasticsearch_config:
@@ -6325,6 +6325,7 @@ class CfnDataSourceProps:
6325
6325
  - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain.
6326
6326
  - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus.
6327
6327
  - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain.
6328
+ - *AMAZON_BEDROCK_RUNTIME* : The data source is the Amazon Bedrock runtime.
6328
6329
  - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
6329
6330
  - *HTTP* : The data source is an HTTP endpoint.
6330
6331
  - *RELATIONAL_DATABASE* : The data source is a relational database.
@@ -11499,7 +11500,7 @@ class Code(metaclass=jsii.JSIIAbstractClass, jsii_type="aws-cdk-lib.aws_appsync.
11499
11500
  def from_inline(cls, code: builtins.str) -> "InlineCode":
11500
11501
  '''Inline code for AppSync function.
11501
11502
 
11502
- :param code: The actual handler code (limited to 4KiB).
11503
+ :param code: The actual handler code (the resulting zip file cannot exceed 4MB).
11503
11504
 
11504
11505
  :return: ``InlineCode`` with inline code.
11505
11506
  '''
@@ -12944,131 +12945,6 @@ class HttpDataSourceOptions(DataSourceOptions):
12944
12945
  )
12945
12946
 
12946
12947
 
12947
- @jsii.data_type(
12948
- jsii_type="aws-cdk-lib.aws_appsync.HttpDataSourceProps",
12949
- jsii_struct_bases=[BaseDataSourceProps],
12950
- name_mapping={
12951
- "api": "api",
12952
- "description": "description",
12953
- "name": "name",
12954
- "endpoint": "endpoint",
12955
- "authorization_config": "authorizationConfig",
12956
- },
12957
- )
12958
- class HttpDataSourceProps(BaseDataSourceProps):
12959
- def __init__(
12960
- self,
12961
- *,
12962
- api: "IGraphqlApi",
12963
- description: typing.Optional[builtins.str] = None,
12964
- name: typing.Optional[builtins.str] = None,
12965
- endpoint: builtins.str,
12966
- authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
12967
- ) -> None:
12968
- '''Properties for an AppSync http datasource.
12969
-
12970
- :param api: The API to attach this data source to.
12971
- :param description: the description of the data source. Default: - None
12972
- :param name: The name of the data source. Default: - id of data source
12973
- :param endpoint: The http endpoint.
12974
- :param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
12975
-
12976
- :exampleMetadata: fixture=_generated
12977
-
12978
- Example::
12979
-
12980
- # The code below shows an example of how to instantiate this type.
12981
- # The values are placeholders you should change.
12982
- from aws_cdk import aws_appsync as appsync
12983
-
12984
- # graphql_api: appsync.GraphqlApi
12985
-
12986
- http_data_source_props = appsync.HttpDataSourceProps(
12987
- api=graphql_api,
12988
- endpoint="endpoint",
12989
-
12990
- # the properties below are optional
12991
- authorization_config=appsync.AwsIamConfig(
12992
- signing_region="signingRegion",
12993
- signing_service_name="signingServiceName"
12994
- ),
12995
- description="description",
12996
- name="name"
12997
- )
12998
- '''
12999
- if isinstance(authorization_config, dict):
13000
- authorization_config = AwsIamConfig(**authorization_config)
13001
- if __debug__:
13002
- type_hints = typing.get_type_hints(_typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a)
13003
- check_type(argname="argument api", value=api, expected_type=type_hints["api"])
13004
- check_type(argname="argument description", value=description, expected_type=type_hints["description"])
13005
- check_type(argname="argument name", value=name, expected_type=type_hints["name"])
13006
- check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
13007
- check_type(argname="argument authorization_config", value=authorization_config, expected_type=type_hints["authorization_config"])
13008
- self._values: typing.Dict[builtins.str, typing.Any] = {
13009
- "api": api,
13010
- "endpoint": endpoint,
13011
- }
13012
- if description is not None:
13013
- self._values["description"] = description
13014
- if name is not None:
13015
- self._values["name"] = name
13016
- if authorization_config is not None:
13017
- self._values["authorization_config"] = authorization_config
13018
-
13019
- @builtins.property
13020
- def api(self) -> "IGraphqlApi":
13021
- '''The API to attach this data source to.'''
13022
- result = self._values.get("api")
13023
- assert result is not None, "Required property 'api' is missing"
13024
- return typing.cast("IGraphqlApi", result)
13025
-
13026
- @builtins.property
13027
- def description(self) -> typing.Optional[builtins.str]:
13028
- '''the description of the data source.
13029
-
13030
- :default: - None
13031
- '''
13032
- result = self._values.get("description")
13033
- return typing.cast(typing.Optional[builtins.str], result)
13034
-
13035
- @builtins.property
13036
- def name(self) -> typing.Optional[builtins.str]:
13037
- '''The name of the data source.
13038
-
13039
- :default: - id of data source
13040
- '''
13041
- result = self._values.get("name")
13042
- return typing.cast(typing.Optional[builtins.str], result)
13043
-
13044
- @builtins.property
13045
- def endpoint(self) -> builtins.str:
13046
- '''The http endpoint.'''
13047
- result = self._values.get("endpoint")
13048
- assert result is not None, "Required property 'endpoint' is missing"
13049
- return typing.cast(builtins.str, result)
13050
-
13051
- @builtins.property
13052
- def authorization_config(self) -> typing.Optional[AwsIamConfig]:
13053
- '''The authorization config in case the HTTP endpoint requires authorization.
13054
-
13055
- :default: - none
13056
- '''
13057
- result = self._values.get("authorization_config")
13058
- return typing.cast(typing.Optional[AwsIamConfig], result)
13059
-
13060
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
13061
- return isinstance(rhs, self.__class__) and rhs._values == self._values
13062
-
13063
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
13064
- return not (rhs == self)
13065
-
13066
- def __repr__(self) -> str:
13067
- return "HttpDataSourceProps(%s)" % ", ".join(
13068
- k + "=" + repr(v) for k, v in self._values.items()
13069
- )
13070
-
13071
-
13072
12948
  @jsii.interface(jsii_type="aws-cdk-lib.aws_appsync.IAppsyncFunction")
13073
12949
  class IAppsyncFunction(_IResource_c80c4260, typing_extensions.Protocol):
13074
12950
  '''Interface for AppSync Functions.'''
@@ -18317,6 +18193,7 @@ class HttpDataSource(
18317
18193
  *,
18318
18194
  endpoint: builtins.str,
18319
18195
  authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
18196
+ service_role: typing.Optional[_IRole_235f5d8e] = None,
18320
18197
  api: IGraphqlApi,
18321
18198
  description: typing.Optional[builtins.str] = None,
18322
18199
  name: typing.Optional[builtins.str] = None,
@@ -18326,6 +18203,7 @@ class HttpDataSource(
18326
18203
  :param id: -
18327
18204
  :param endpoint: The http endpoint.
18328
18205
  :param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
18206
+ :param service_role: The IAM service role to be assumed by AppSync to interact with the data source. Default: - Create a new role
18329
18207
  :param api: The API to attach this data source to.
18330
18208
  :param description: the description of the data source. Default: - None
18331
18209
  :param name: The name of the data source. Default: - id of data source
@@ -18337,6 +18215,7 @@ class HttpDataSource(
18337
18215
  props = HttpDataSourceProps(
18338
18216
  endpoint=endpoint,
18339
18217
  authorization_config=authorization_config,
18218
+ service_role=service_role,
18340
18219
  api=api,
18341
18220
  description=description,
18342
18221
  name=name,
@@ -18345,6 +18224,149 @@ class HttpDataSource(
18345
18224
  jsii.create(self.__class__, self, [scope, id, props])
18346
18225
 
18347
18226
 
18227
+ @jsii.data_type(
18228
+ jsii_type="aws-cdk-lib.aws_appsync.HttpDataSourceProps",
18229
+ jsii_struct_bases=[BackedDataSourceProps],
18230
+ name_mapping={
18231
+ "api": "api",
18232
+ "description": "description",
18233
+ "name": "name",
18234
+ "service_role": "serviceRole",
18235
+ "endpoint": "endpoint",
18236
+ "authorization_config": "authorizationConfig",
18237
+ },
18238
+ )
18239
+ class HttpDataSourceProps(BackedDataSourceProps):
18240
+ def __init__(
18241
+ self,
18242
+ *,
18243
+ api: IGraphqlApi,
18244
+ description: typing.Optional[builtins.str] = None,
18245
+ name: typing.Optional[builtins.str] = None,
18246
+ service_role: typing.Optional[_IRole_235f5d8e] = None,
18247
+ endpoint: builtins.str,
18248
+ authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
18249
+ ) -> None:
18250
+ '''Properties for an AppSync http datasource.
18251
+
18252
+ :param api: The API to attach this data source to.
18253
+ :param description: the description of the data source. Default: - None
18254
+ :param name: The name of the data source. Default: - id of data source
18255
+ :param service_role: The IAM service role to be assumed by AppSync to interact with the data source. Default: - Create a new role
18256
+ :param endpoint: The http endpoint.
18257
+ :param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
18258
+
18259
+ :exampleMetadata: fixture=_generated
18260
+
18261
+ Example::
18262
+
18263
+ # The code below shows an example of how to instantiate this type.
18264
+ # The values are placeholders you should change.
18265
+ from aws_cdk import aws_appsync as appsync
18266
+ from aws_cdk import aws_iam as iam
18267
+
18268
+ # graphql_api: appsync.GraphqlApi
18269
+ # role: iam.Role
18270
+
18271
+ http_data_source_props = appsync.HttpDataSourceProps(
18272
+ api=graphql_api,
18273
+ endpoint="endpoint",
18274
+
18275
+ # the properties below are optional
18276
+ authorization_config=appsync.AwsIamConfig(
18277
+ signing_region="signingRegion",
18278
+ signing_service_name="signingServiceName"
18279
+ ),
18280
+ description="description",
18281
+ name="name",
18282
+ service_role=role
18283
+ )
18284
+ '''
18285
+ if isinstance(authorization_config, dict):
18286
+ authorization_config = AwsIamConfig(**authorization_config)
18287
+ if __debug__:
18288
+ type_hints = typing.get_type_hints(_typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a)
18289
+ check_type(argname="argument api", value=api, expected_type=type_hints["api"])
18290
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
18291
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
18292
+ check_type(argname="argument service_role", value=service_role, expected_type=type_hints["service_role"])
18293
+ check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
18294
+ check_type(argname="argument authorization_config", value=authorization_config, expected_type=type_hints["authorization_config"])
18295
+ self._values: typing.Dict[builtins.str, typing.Any] = {
18296
+ "api": api,
18297
+ "endpoint": endpoint,
18298
+ }
18299
+ if description is not None:
18300
+ self._values["description"] = description
18301
+ if name is not None:
18302
+ self._values["name"] = name
18303
+ if service_role is not None:
18304
+ self._values["service_role"] = service_role
18305
+ if authorization_config is not None:
18306
+ self._values["authorization_config"] = authorization_config
18307
+
18308
+ @builtins.property
18309
+ def api(self) -> IGraphqlApi:
18310
+ '''The API to attach this data source to.'''
18311
+ result = self._values.get("api")
18312
+ assert result is not None, "Required property 'api' is missing"
18313
+ return typing.cast(IGraphqlApi, result)
18314
+
18315
+ @builtins.property
18316
+ def description(self) -> typing.Optional[builtins.str]:
18317
+ '''the description of the data source.
18318
+
18319
+ :default: - None
18320
+ '''
18321
+ result = self._values.get("description")
18322
+ return typing.cast(typing.Optional[builtins.str], result)
18323
+
18324
+ @builtins.property
18325
+ def name(self) -> typing.Optional[builtins.str]:
18326
+ '''The name of the data source.
18327
+
18328
+ :default: - id of data source
18329
+ '''
18330
+ result = self._values.get("name")
18331
+ return typing.cast(typing.Optional[builtins.str], result)
18332
+
18333
+ @builtins.property
18334
+ def service_role(self) -> typing.Optional[_IRole_235f5d8e]:
18335
+ '''The IAM service role to be assumed by AppSync to interact with the data source.
18336
+
18337
+ :default: - Create a new role
18338
+ '''
18339
+ result = self._values.get("service_role")
18340
+ return typing.cast(typing.Optional[_IRole_235f5d8e], result)
18341
+
18342
+ @builtins.property
18343
+ def endpoint(self) -> builtins.str:
18344
+ '''The http endpoint.'''
18345
+ result = self._values.get("endpoint")
18346
+ assert result is not None, "Required property 'endpoint' is missing"
18347
+ return typing.cast(builtins.str, result)
18348
+
18349
+ @builtins.property
18350
+ def authorization_config(self) -> typing.Optional[AwsIamConfig]:
18351
+ '''The authorization config in case the HTTP endpoint requires authorization.
18352
+
18353
+ :default: - none
18354
+ '''
18355
+ result = self._values.get("authorization_config")
18356
+ return typing.cast(typing.Optional[AwsIamConfig], result)
18357
+
18358
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
18359
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
18360
+
18361
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
18362
+ return not (rhs == self)
18363
+
18364
+ def __repr__(self) -> str:
18365
+ return "HttpDataSourceProps(%s)" % ", ".join(
18366
+ k + "=" + repr(v) for k, v in self._values.items()
18367
+ )
18368
+
18369
+
18348
18370
  class LambdaDataSource(
18349
18371
  BackedDataSource,
18350
18372
  metaclass=jsii.JSIIMeta,
@@ -21254,17 +21276,6 @@ def _typecheckingstub__892de8c32b5ee5c6cb5e65bc4b597f67297f1f675b608821b733eb959
21254
21276
  """Type checking stubs"""
21255
21277
  pass
21256
21278
 
21257
- def _typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a(
21258
- *,
21259
- api: IGraphqlApi,
21260
- description: typing.Optional[builtins.str] = None,
21261
- name: typing.Optional[builtins.str] = None,
21262
- endpoint: builtins.str,
21263
- authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
21264
- ) -> None:
21265
- """Type checking stubs"""
21266
- pass
21267
-
21268
21279
  def _typecheckingstub__43da9ca276f601968eabc2575ce6745ba4152bbf47201270933feda5452ce68a(
21269
21280
  id: builtins.str,
21270
21281
  table: _ITable_504fd401,
@@ -22139,9 +22150,22 @@ def _typecheckingstub__08c251fa7555c0770f24a577dcd59d2f51898cf46299807eda335998d
22139
22150
  *,
22140
22151
  endpoint: builtins.str,
22141
22152
  authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
22153
+ service_role: typing.Optional[_IRole_235f5d8e] = None,
22154
+ api: IGraphqlApi,
22155
+ description: typing.Optional[builtins.str] = None,
22156
+ name: typing.Optional[builtins.str] = None,
22157
+ ) -> None:
22158
+ """Type checking stubs"""
22159
+ pass
22160
+
22161
+ def _typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a(
22162
+ *,
22142
22163
  api: IGraphqlApi,
22143
22164
  description: typing.Optional[builtins.str] = None,
22144
22165
  name: typing.Optional[builtins.str] = None,
22166
+ service_role: typing.Optional[_IRole_235f5d8e] = None,
22167
+ endpoint: builtins.str,
22168
+ authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
22145
22169
  ) -> None:
22146
22170
  """Type checking stubs"""
22147
22171
  pass