aws-cdk-lib 2.90.0__py3-none-any.whl → 2.92.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 +22 -4
- aws_cdk/_jsii/__init__.py +2 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.90.0.jsii.tgz → aws-cdk-lib@2.92.0.jsii.tgz} +0 -0
- aws_cdk/aws_appstream/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +39 -18
- aws_cdk/aws_billingconductor/__init__.py +44 -13
- aws_cdk/aws_cleanrooms/__init__.py +2 -4
- aws_cdk/aws_cloudtrail/__init__.py +35 -10
- aws_cdk/aws_cloudwatch/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +7 -7
- aws_cdk/aws_cognito/__init__.py +8 -8
- aws_cdk/aws_config/__init__.py +220 -0
- aws_cdk/aws_datasync/__init__.py +22 -35
- aws_cdk/aws_dms/__init__.py +909 -4
- aws_cdk/aws_dynamodb/__init__.py +0 -1
- aws_cdk/aws_ec2/__init__.py +59 -21
- aws_cdk/aws_ecs/__init__.py +45 -21
- aws_cdk/aws_evidently/__init__.py +3 -3
- aws_cdk/aws_fsx/__init__.py +6 -5
- aws_cdk/aws_glue/__init__.py +438 -10
- aws_cdk/aws_guardduty/__init__.py +60 -17
- aws_cdk/aws_iam/__init__.py +8 -9
- aws_cdk/aws_iot/__init__.py +5 -1
- aws_cdk/aws_kms/__init__.py +95 -47
- aws_cdk/aws_lambda/__init__.py +4 -2
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_mediatailor/__init__.py +2902 -892
- aws_cdk/aws_mwaa/__init__.py +13 -8
- aws_cdk/aws_neptune/__init__.py +50 -2
- aws_cdk/aws_omics/__init__.py +80 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -3
- aws_cdk/aws_opensearchservice/__init__.py +247 -14
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +41 -25
- aws_cdk/aws_rds/__init__.py +24 -10
- aws_cdk/aws_resiliencehub/__init__.py +22 -22
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_s3/__init__.py +17 -7
- aws_cdk/aws_sagemaker/__init__.py +396 -5
- aws_cdk/aws_sns/__init__.py +8 -8
- aws_cdk/aws_sqs/__init__.py +231 -4
- aws_cdk/aws_ssm/__init__.py +6 -28
- aws_cdk/aws_stepfunctions/__init__.py +7 -7
- aws_cdk/aws_timestream/__init__.py +243 -0
- aws_cdk/aws_transfer/__init__.py +250 -52
- aws_cdk/aws_vpclattice/__init__.py +10 -6
- aws_cdk/aws_wafv2/__init__.py +7517 -5036
- aws_cdk/custom_resources/__init__.py +18 -30
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/RECORD +55 -55
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -78,7 +78,9 @@ class CfnClassifier(
|
|
|
78
78
|
cfn_classifier = glue.CfnClassifier(self, "MyCfnClassifier",
|
|
79
79
|
csv_classifier=glue.CfnClassifier.CsvClassifierProperty(
|
|
80
80
|
allow_single_column=False,
|
|
81
|
+
contains_custom_datatype=["containsCustomDatatype"],
|
|
81
82
|
contains_header="containsHeader",
|
|
83
|
+
custom_datatype_configured=False,
|
|
82
84
|
delimiter="delimiter",
|
|
83
85
|
disable_value_trimming=False,
|
|
84
86
|
header=["header"],
|
|
@@ -260,7 +262,9 @@ class CfnClassifier(
|
|
|
260
262
|
jsii_struct_bases=[],
|
|
261
263
|
name_mapping={
|
|
262
264
|
"allow_single_column": "allowSingleColumn",
|
|
265
|
+
"contains_custom_datatype": "containsCustomDatatype",
|
|
263
266
|
"contains_header": "containsHeader",
|
|
267
|
+
"custom_datatype_configured": "customDatatypeConfigured",
|
|
264
268
|
"delimiter": "delimiter",
|
|
265
269
|
"disable_value_trimming": "disableValueTrimming",
|
|
266
270
|
"header": "header",
|
|
@@ -273,7 +277,9 @@ class CfnClassifier(
|
|
|
273
277
|
self,
|
|
274
278
|
*,
|
|
275
279
|
allow_single_column: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
280
|
+
contains_custom_datatype: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
276
281
|
contains_header: typing.Optional[builtins.str] = None,
|
|
282
|
+
custom_datatype_configured: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
277
283
|
delimiter: typing.Optional[builtins.str] = None,
|
|
278
284
|
disable_value_trimming: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
279
285
|
header: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -283,7 +289,9 @@ class CfnClassifier(
|
|
|
283
289
|
'''A classifier for custom ``CSV`` content.
|
|
284
290
|
|
|
285
291
|
:param allow_single_column: Enables the processing of files that contain only one column.
|
|
292
|
+
:param contains_custom_datatype:
|
|
286
293
|
:param contains_header: Indicates whether the CSV file contains a header. A value of ``UNKNOWN`` specifies that the classifier will detect whether the CSV file contains headings. A value of ``PRESENT`` specifies that the CSV file contains headings. A value of ``ABSENT`` specifies that the CSV file does not contain headings.
|
|
294
|
+
:param custom_datatype_configured:
|
|
287
295
|
:param delimiter: A custom symbol to denote what separates each column entry in the row.
|
|
288
296
|
:param disable_value_trimming: Specifies not to trim values before identifying the type of column values. The default value is ``true`` .
|
|
289
297
|
:param header: A list of strings representing column names.
|
|
@@ -301,7 +309,9 @@ class CfnClassifier(
|
|
|
301
309
|
|
|
302
310
|
csv_classifier_property = glue.CfnClassifier.CsvClassifierProperty(
|
|
303
311
|
allow_single_column=False,
|
|
312
|
+
contains_custom_datatype=["containsCustomDatatype"],
|
|
304
313
|
contains_header="containsHeader",
|
|
314
|
+
custom_datatype_configured=False,
|
|
305
315
|
delimiter="delimiter",
|
|
306
316
|
disable_value_trimming=False,
|
|
307
317
|
header=["header"],
|
|
@@ -312,7 +322,9 @@ class CfnClassifier(
|
|
|
312
322
|
if __debug__:
|
|
313
323
|
type_hints = typing.get_type_hints(_typecheckingstub__dd722ed29ebf9e1505b4d21b5e95cb0f8d4e96b052ed45a497086e92f8d1eb4c)
|
|
314
324
|
check_type(argname="argument allow_single_column", value=allow_single_column, expected_type=type_hints["allow_single_column"])
|
|
325
|
+
check_type(argname="argument contains_custom_datatype", value=contains_custom_datatype, expected_type=type_hints["contains_custom_datatype"])
|
|
315
326
|
check_type(argname="argument contains_header", value=contains_header, expected_type=type_hints["contains_header"])
|
|
327
|
+
check_type(argname="argument custom_datatype_configured", value=custom_datatype_configured, expected_type=type_hints["custom_datatype_configured"])
|
|
316
328
|
check_type(argname="argument delimiter", value=delimiter, expected_type=type_hints["delimiter"])
|
|
317
329
|
check_type(argname="argument disable_value_trimming", value=disable_value_trimming, expected_type=type_hints["disable_value_trimming"])
|
|
318
330
|
check_type(argname="argument header", value=header, expected_type=type_hints["header"])
|
|
@@ -321,8 +333,12 @@ class CfnClassifier(
|
|
|
321
333
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
322
334
|
if allow_single_column is not None:
|
|
323
335
|
self._values["allow_single_column"] = allow_single_column
|
|
336
|
+
if contains_custom_datatype is not None:
|
|
337
|
+
self._values["contains_custom_datatype"] = contains_custom_datatype
|
|
324
338
|
if contains_header is not None:
|
|
325
339
|
self._values["contains_header"] = contains_header
|
|
340
|
+
if custom_datatype_configured is not None:
|
|
341
|
+
self._values["custom_datatype_configured"] = custom_datatype_configured
|
|
326
342
|
if delimiter is not None:
|
|
327
343
|
self._values["delimiter"] = delimiter
|
|
328
344
|
if disable_value_trimming is not None:
|
|
@@ -345,6 +361,16 @@ class CfnClassifier(
|
|
|
345
361
|
result = self._values.get("allow_single_column")
|
|
346
362
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
347
363
|
|
|
364
|
+
@builtins.property
|
|
365
|
+
def contains_custom_datatype(
|
|
366
|
+
self,
|
|
367
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
368
|
+
'''
|
|
369
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-containscustomdatatype
|
|
370
|
+
'''
|
|
371
|
+
result = self._values.get("contains_custom_datatype")
|
|
372
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
373
|
+
|
|
348
374
|
@builtins.property
|
|
349
375
|
def contains_header(self) -> typing.Optional[builtins.str]:
|
|
350
376
|
'''Indicates whether the CSV file contains a header.
|
|
@@ -360,6 +386,16 @@ class CfnClassifier(
|
|
|
360
386
|
result = self._values.get("contains_header")
|
|
361
387
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
362
388
|
|
|
389
|
+
@builtins.property
|
|
390
|
+
def custom_datatype_configured(
|
|
391
|
+
self,
|
|
392
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
393
|
+
'''
|
|
394
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-customdatatypeconfigured
|
|
395
|
+
'''
|
|
396
|
+
result = self._values.get("custom_datatype_configured")
|
|
397
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
398
|
+
|
|
363
399
|
@builtins.property
|
|
364
400
|
def delimiter(self) -> typing.Optional[builtins.str]:
|
|
365
401
|
'''A custom symbol to denote what separates each column entry in the row.
|
|
@@ -742,7 +778,9 @@ class CfnClassifierProps:
|
|
|
742
778
|
cfn_classifier_props = glue.CfnClassifierProps(
|
|
743
779
|
csv_classifier=glue.CfnClassifier.CsvClassifierProperty(
|
|
744
780
|
allow_single_column=False,
|
|
781
|
+
contains_custom_datatype=["containsCustomDatatype"],
|
|
745
782
|
contains_header="containsHeader",
|
|
783
|
+
custom_datatype_configured=False,
|
|
746
784
|
delimiter="delimiter",
|
|
747
785
|
disable_value_trimming=False,
|
|
748
786
|
header=["header"],
|
|
@@ -1399,6 +1437,12 @@ class CfnCrawler(
|
|
|
1399
1437
|
dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
|
|
1400
1438
|
path="path"
|
|
1401
1439
|
)],
|
|
1440
|
+
iceberg_targets=[glue.CfnCrawler.IcebergTargetProperty(
|
|
1441
|
+
connection_name="connectionName",
|
|
1442
|
+
exclusions=["exclusions"],
|
|
1443
|
+
maximum_traversal_depth=123,
|
|
1444
|
+
paths=["paths"]
|
|
1445
|
+
)],
|
|
1402
1446
|
jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
|
|
1403
1447
|
connection_name="connectionName",
|
|
1404
1448
|
exclusions=["exclusions"],
|
|
@@ -2024,6 +2068,106 @@ class CfnCrawler(
|
|
|
2024
2068
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2025
2069
|
)
|
|
2026
2070
|
|
|
2071
|
+
@jsii.data_type(
|
|
2072
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.IcebergTargetProperty",
|
|
2073
|
+
jsii_struct_bases=[],
|
|
2074
|
+
name_mapping={
|
|
2075
|
+
"connection_name": "connectionName",
|
|
2076
|
+
"exclusions": "exclusions",
|
|
2077
|
+
"maximum_traversal_depth": "maximumTraversalDepth",
|
|
2078
|
+
"paths": "paths",
|
|
2079
|
+
},
|
|
2080
|
+
)
|
|
2081
|
+
class IcebergTargetProperty:
|
|
2082
|
+
def __init__(
|
|
2083
|
+
self,
|
|
2084
|
+
*,
|
|
2085
|
+
connection_name: typing.Optional[builtins.str] = None,
|
|
2086
|
+
exclusions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2087
|
+
maximum_traversal_depth: typing.Optional[jsii.Number] = None,
|
|
2088
|
+
paths: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2089
|
+
) -> None:
|
|
2090
|
+
'''
|
|
2091
|
+
:param connection_name:
|
|
2092
|
+
:param exclusions:
|
|
2093
|
+
:param maximum_traversal_depth:
|
|
2094
|
+
:param paths:
|
|
2095
|
+
|
|
2096
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html
|
|
2097
|
+
:exampleMetadata: fixture=_generated
|
|
2098
|
+
|
|
2099
|
+
Example::
|
|
2100
|
+
|
|
2101
|
+
# The code below shows an example of how to instantiate this type.
|
|
2102
|
+
# The values are placeholders you should change.
|
|
2103
|
+
from aws_cdk import aws_glue as glue
|
|
2104
|
+
|
|
2105
|
+
iceberg_target_property = glue.CfnCrawler.IcebergTargetProperty(
|
|
2106
|
+
connection_name="connectionName",
|
|
2107
|
+
exclusions=["exclusions"],
|
|
2108
|
+
maximum_traversal_depth=123,
|
|
2109
|
+
paths=["paths"]
|
|
2110
|
+
)
|
|
2111
|
+
'''
|
|
2112
|
+
if __debug__:
|
|
2113
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fc4d48721f48f2b8be2bdcc36b62b7559b104ac87185a032281e5b09d46901e3)
|
|
2114
|
+
check_type(argname="argument connection_name", value=connection_name, expected_type=type_hints["connection_name"])
|
|
2115
|
+
check_type(argname="argument exclusions", value=exclusions, expected_type=type_hints["exclusions"])
|
|
2116
|
+
check_type(argname="argument maximum_traversal_depth", value=maximum_traversal_depth, expected_type=type_hints["maximum_traversal_depth"])
|
|
2117
|
+
check_type(argname="argument paths", value=paths, expected_type=type_hints["paths"])
|
|
2118
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2119
|
+
if connection_name is not None:
|
|
2120
|
+
self._values["connection_name"] = connection_name
|
|
2121
|
+
if exclusions is not None:
|
|
2122
|
+
self._values["exclusions"] = exclusions
|
|
2123
|
+
if maximum_traversal_depth is not None:
|
|
2124
|
+
self._values["maximum_traversal_depth"] = maximum_traversal_depth
|
|
2125
|
+
if paths is not None:
|
|
2126
|
+
self._values["paths"] = paths
|
|
2127
|
+
|
|
2128
|
+
@builtins.property
|
|
2129
|
+
def connection_name(self) -> typing.Optional[builtins.str]:
|
|
2130
|
+
'''
|
|
2131
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html#cfn-glue-crawler-icebergtarget-connectionname
|
|
2132
|
+
'''
|
|
2133
|
+
result = self._values.get("connection_name")
|
|
2134
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2135
|
+
|
|
2136
|
+
@builtins.property
|
|
2137
|
+
def exclusions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2138
|
+
'''
|
|
2139
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html#cfn-glue-crawler-icebergtarget-exclusions
|
|
2140
|
+
'''
|
|
2141
|
+
result = self._values.get("exclusions")
|
|
2142
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2143
|
+
|
|
2144
|
+
@builtins.property
|
|
2145
|
+
def maximum_traversal_depth(self) -> typing.Optional[jsii.Number]:
|
|
2146
|
+
'''
|
|
2147
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html#cfn-glue-crawler-icebergtarget-maximumtraversaldepth
|
|
2148
|
+
'''
|
|
2149
|
+
result = self._values.get("maximum_traversal_depth")
|
|
2150
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2151
|
+
|
|
2152
|
+
@builtins.property
|
|
2153
|
+
def paths(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2154
|
+
'''
|
|
2155
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html#cfn-glue-crawler-icebergtarget-paths
|
|
2156
|
+
'''
|
|
2157
|
+
result = self._values.get("paths")
|
|
2158
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2159
|
+
|
|
2160
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2161
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2162
|
+
|
|
2163
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2164
|
+
return not (rhs == self)
|
|
2165
|
+
|
|
2166
|
+
def __repr__(self) -> str:
|
|
2167
|
+
return "IcebergTargetProperty(%s)" % ", ".join(
|
|
2168
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2169
|
+
)
|
|
2170
|
+
|
|
2027
2171
|
@jsii.data_type(
|
|
2028
2172
|
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.JdbcTargetProperty",
|
|
2029
2173
|
jsii_struct_bases=[],
|
|
@@ -2544,6 +2688,7 @@ class CfnCrawler(
|
|
|
2544
2688
|
"catalog_targets": "catalogTargets",
|
|
2545
2689
|
"delta_targets": "deltaTargets",
|
|
2546
2690
|
"dynamo_db_targets": "dynamoDbTargets",
|
|
2691
|
+
"iceberg_targets": "icebergTargets",
|
|
2547
2692
|
"jdbc_targets": "jdbcTargets",
|
|
2548
2693
|
"mongo_db_targets": "mongoDbTargets",
|
|
2549
2694
|
"s3_targets": "s3Targets",
|
|
@@ -2556,6 +2701,7 @@ class CfnCrawler(
|
|
|
2556
2701
|
catalog_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.CatalogTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2557
2702
|
delta_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.DeltaTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2558
2703
|
dynamo_db_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.DynamoDBTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2704
|
+
iceberg_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.IcebergTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2559
2705
|
jdbc_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.JdbcTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2560
2706
|
mongo_db_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.MongoDBTargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2561
2707
|
s3_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.S3TargetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -2565,6 +2711,7 @@ class CfnCrawler(
|
|
|
2565
2711
|
:param catalog_targets: Specifies AWS Glue Data Catalog targets.
|
|
2566
2712
|
:param delta_targets: Specifies an array of Delta data store targets.
|
|
2567
2713
|
:param dynamo_db_targets: Specifies Amazon DynamoDB targets.
|
|
2714
|
+
:param iceberg_targets:
|
|
2568
2715
|
:param jdbc_targets: Specifies JDBC targets.
|
|
2569
2716
|
:param mongo_db_targets: A list of Mongo DB targets.
|
|
2570
2717
|
:param s3_targets: Specifies Amazon Simple Storage Service (Amazon S3) targets.
|
|
@@ -2595,6 +2742,12 @@ class CfnCrawler(
|
|
|
2595
2742
|
dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
|
|
2596
2743
|
path="path"
|
|
2597
2744
|
)],
|
|
2745
|
+
iceberg_targets=[glue.CfnCrawler.IcebergTargetProperty(
|
|
2746
|
+
connection_name="connectionName",
|
|
2747
|
+
exclusions=["exclusions"],
|
|
2748
|
+
maximum_traversal_depth=123,
|
|
2749
|
+
paths=["paths"]
|
|
2750
|
+
)],
|
|
2598
2751
|
jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
|
|
2599
2752
|
connection_name="connectionName",
|
|
2600
2753
|
exclusions=["exclusions"],
|
|
@@ -2619,6 +2772,7 @@ class CfnCrawler(
|
|
|
2619
2772
|
check_type(argname="argument catalog_targets", value=catalog_targets, expected_type=type_hints["catalog_targets"])
|
|
2620
2773
|
check_type(argname="argument delta_targets", value=delta_targets, expected_type=type_hints["delta_targets"])
|
|
2621
2774
|
check_type(argname="argument dynamo_db_targets", value=dynamo_db_targets, expected_type=type_hints["dynamo_db_targets"])
|
|
2775
|
+
check_type(argname="argument iceberg_targets", value=iceberg_targets, expected_type=type_hints["iceberg_targets"])
|
|
2622
2776
|
check_type(argname="argument jdbc_targets", value=jdbc_targets, expected_type=type_hints["jdbc_targets"])
|
|
2623
2777
|
check_type(argname="argument mongo_db_targets", value=mongo_db_targets, expected_type=type_hints["mongo_db_targets"])
|
|
2624
2778
|
check_type(argname="argument s3_targets", value=s3_targets, expected_type=type_hints["s3_targets"])
|
|
@@ -2629,6 +2783,8 @@ class CfnCrawler(
|
|
|
2629
2783
|
self._values["delta_targets"] = delta_targets
|
|
2630
2784
|
if dynamo_db_targets is not None:
|
|
2631
2785
|
self._values["dynamo_db_targets"] = dynamo_db_targets
|
|
2786
|
+
if iceberg_targets is not None:
|
|
2787
|
+
self._values["iceberg_targets"] = iceberg_targets
|
|
2632
2788
|
if jdbc_targets is not None:
|
|
2633
2789
|
self._values["jdbc_targets"] = jdbc_targets
|
|
2634
2790
|
if mongo_db_targets is not None:
|
|
@@ -2669,6 +2825,16 @@ class CfnCrawler(
|
|
|
2669
2825
|
result = self._values.get("dynamo_db_targets")
|
|
2670
2826
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCrawler.DynamoDBTargetProperty"]]]], result)
|
|
2671
2827
|
|
|
2828
|
+
@builtins.property
|
|
2829
|
+
def iceberg_targets(
|
|
2830
|
+
self,
|
|
2831
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCrawler.IcebergTargetProperty"]]]]:
|
|
2832
|
+
'''
|
|
2833
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html#cfn-glue-crawler-targets-icebergtargets
|
|
2834
|
+
'''
|
|
2835
|
+
result = self._values.get("iceberg_targets")
|
|
2836
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCrawler.IcebergTargetProperty"]]]], result)
|
|
2837
|
+
|
|
2672
2838
|
@builtins.property
|
|
2673
2839
|
def jdbc_targets(
|
|
2674
2840
|
self,
|
|
@@ -2797,6 +2963,12 @@ class CfnCrawlerProps:
|
|
|
2797
2963
|
dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
|
|
2798
2964
|
path="path"
|
|
2799
2965
|
)],
|
|
2966
|
+
iceberg_targets=[glue.CfnCrawler.IcebergTargetProperty(
|
|
2967
|
+
connection_name="connectionName",
|
|
2968
|
+
exclusions=["exclusions"],
|
|
2969
|
+
maximum_traversal_depth=123,
|
|
2970
|
+
paths=["paths"]
|
|
2971
|
+
)],
|
|
2800
2972
|
jdbc_targets=[glue.CfnCrawler.JdbcTargetProperty(
|
|
2801
2973
|
connection_name="connectionName",
|
|
2802
2974
|
exclusions=["exclusions"],
|
|
@@ -3942,7 +4114,8 @@ class CfnDatabase(
|
|
|
3942
4114
|
parameters=parameters,
|
|
3943
4115
|
target_database=glue.CfnDatabase.DatabaseIdentifierProperty(
|
|
3944
4116
|
catalog_id="catalogId",
|
|
3945
|
-
database_name="databaseName"
|
|
4117
|
+
database_name="databaseName",
|
|
4118
|
+
region="region"
|
|
3946
4119
|
)
|
|
3947
4120
|
)
|
|
3948
4121
|
)
|
|
@@ -4102,7 +4275,11 @@ class CfnDatabase(
|
|
|
4102
4275
|
@jsii.data_type(
|
|
4103
4276
|
jsii_type="aws-cdk-lib.aws_glue.CfnDatabase.DatabaseIdentifierProperty",
|
|
4104
4277
|
jsii_struct_bases=[],
|
|
4105
|
-
name_mapping={
|
|
4278
|
+
name_mapping={
|
|
4279
|
+
"catalog_id": "catalogId",
|
|
4280
|
+
"database_name": "databaseName",
|
|
4281
|
+
"region": "region",
|
|
4282
|
+
},
|
|
4106
4283
|
)
|
|
4107
4284
|
class DatabaseIdentifierProperty:
|
|
4108
4285
|
def __init__(
|
|
@@ -4110,11 +4287,13 @@ class CfnDatabase(
|
|
|
4110
4287
|
*,
|
|
4111
4288
|
catalog_id: typing.Optional[builtins.str] = None,
|
|
4112
4289
|
database_name: typing.Optional[builtins.str] = None,
|
|
4290
|
+
region: typing.Optional[builtins.str] = None,
|
|
4113
4291
|
) -> None:
|
|
4114
4292
|
'''A structure that describes a target database for resource linking.
|
|
4115
4293
|
|
|
4116
4294
|
:param catalog_id: The ID of the Data Catalog in which the database resides.
|
|
4117
4295
|
:param database_name: The name of the catalog database.
|
|
4296
|
+
:param region:
|
|
4118
4297
|
|
|
4119
4298
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html
|
|
4120
4299
|
:exampleMetadata: fixture=_generated
|
|
@@ -4127,18 +4306,22 @@ class CfnDatabase(
|
|
|
4127
4306
|
|
|
4128
4307
|
database_identifier_property = glue.CfnDatabase.DatabaseIdentifierProperty(
|
|
4129
4308
|
catalog_id="catalogId",
|
|
4130
|
-
database_name="databaseName"
|
|
4309
|
+
database_name="databaseName",
|
|
4310
|
+
region="region"
|
|
4131
4311
|
)
|
|
4132
4312
|
'''
|
|
4133
4313
|
if __debug__:
|
|
4134
4314
|
type_hints = typing.get_type_hints(_typecheckingstub__5e1e09205087e89c58802ef33b1c27bb5ad9de3db3e6419d7c72b490675f5e27)
|
|
4135
4315
|
check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
|
|
4136
4316
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
4317
|
+
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
4137
4318
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4138
4319
|
if catalog_id is not None:
|
|
4139
4320
|
self._values["catalog_id"] = catalog_id
|
|
4140
4321
|
if database_name is not None:
|
|
4141
4322
|
self._values["database_name"] = database_name
|
|
4323
|
+
if region is not None:
|
|
4324
|
+
self._values["region"] = region
|
|
4142
4325
|
|
|
4143
4326
|
@builtins.property
|
|
4144
4327
|
def catalog_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -4158,6 +4341,14 @@ class CfnDatabase(
|
|
|
4158
4341
|
result = self._values.get("database_name")
|
|
4159
4342
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4160
4343
|
|
|
4344
|
+
@builtins.property
|
|
4345
|
+
def region(self) -> typing.Optional[builtins.str]:
|
|
4346
|
+
'''
|
|
4347
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html#cfn-glue-database-databaseidentifier-region
|
|
4348
|
+
'''
|
|
4349
|
+
result = self._values.get("region")
|
|
4350
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4351
|
+
|
|
4161
4352
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4162
4353
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4163
4354
|
|
|
@@ -4232,7 +4423,8 @@ class CfnDatabase(
|
|
|
4232
4423
|
parameters=parameters,
|
|
4233
4424
|
target_database=glue.CfnDatabase.DatabaseIdentifierProperty(
|
|
4234
4425
|
catalog_id="catalogId",
|
|
4235
|
-
database_name="databaseName"
|
|
4426
|
+
database_name="databaseName",
|
|
4427
|
+
region="region"
|
|
4236
4428
|
)
|
|
4237
4429
|
)
|
|
4238
4430
|
'''
|
|
@@ -4537,7 +4729,8 @@ class CfnDatabaseProps:
|
|
|
4537
4729
|
parameters=parameters,
|
|
4538
4730
|
target_database=glue.CfnDatabase.DatabaseIdentifierProperty(
|
|
4539
4731
|
catalog_id="catalogId",
|
|
4540
|
-
database_name="databaseName"
|
|
4732
|
+
database_name="databaseName",
|
|
4733
|
+
region="region"
|
|
4541
4734
|
)
|
|
4542
4735
|
)
|
|
4543
4736
|
)
|
|
@@ -11032,10 +11225,19 @@ class CfnTable(
|
|
|
11032
11225
|
target_table=glue.CfnTable.TableIdentifierProperty(
|
|
11033
11226
|
catalog_id="catalogId",
|
|
11034
11227
|
database_name="databaseName",
|
|
11035
|
-
name="name"
|
|
11228
|
+
name="name",
|
|
11229
|
+
region="region"
|
|
11036
11230
|
),
|
|
11037
11231
|
view_expanded_text="viewExpandedText",
|
|
11038
11232
|
view_original_text="viewOriginalText"
|
|
11233
|
+
),
|
|
11234
|
+
|
|
11235
|
+
# the properties below are optional
|
|
11236
|
+
open_table_format_input=glue.CfnTable.OpenTableFormatInputProperty(
|
|
11237
|
+
iceberg_input=glue.CfnTable.IcebergInputProperty(
|
|
11238
|
+
metadata_operation="metadataOperation",
|
|
11239
|
+
version="version"
|
|
11240
|
+
)
|
|
11039
11241
|
)
|
|
11040
11242
|
)
|
|
11041
11243
|
'''
|
|
@@ -11048,6 +11250,7 @@ class CfnTable(
|
|
|
11048
11250
|
catalog_id: builtins.str,
|
|
11049
11251
|
database_name: builtins.str,
|
|
11050
11252
|
table_input: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.TableInputProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
11253
|
+
open_table_format_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.OpenTableFormatInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11051
11254
|
) -> None:
|
|
11052
11255
|
'''
|
|
11053
11256
|
:param scope: Scope in which this resource is defined.
|
|
@@ -11055,13 +11258,17 @@ class CfnTable(
|
|
|
11055
11258
|
:param catalog_id: The ID of the Data Catalog in which to create the ``Table`` .
|
|
11056
11259
|
:param database_name: The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.
|
|
11057
11260
|
:param table_input: A structure used to define a table.
|
|
11261
|
+
:param open_table_format_input:
|
|
11058
11262
|
'''
|
|
11059
11263
|
if __debug__:
|
|
11060
11264
|
type_hints = typing.get_type_hints(_typecheckingstub__63721068e81107cadbf3e418ec393de98f88a141604f2bb1044b5ae302e922ad)
|
|
11061
11265
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11062
11266
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11063
11267
|
props = CfnTableProps(
|
|
11064
|
-
catalog_id=catalog_id,
|
|
11268
|
+
catalog_id=catalog_id,
|
|
11269
|
+
database_name=database_name,
|
|
11270
|
+
table_input=table_input,
|
|
11271
|
+
open_table_format_input=open_table_format_input,
|
|
11065
11272
|
)
|
|
11066
11273
|
|
|
11067
11274
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -11153,6 +11360,23 @@ class CfnTable(
|
|
|
11153
11360
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11154
11361
|
jsii.set(self, "tableInput", value)
|
|
11155
11362
|
|
|
11363
|
+
@builtins.property
|
|
11364
|
+
@jsii.member(jsii_name="openTableFormatInput")
|
|
11365
|
+
def open_table_format_input(
|
|
11366
|
+
self,
|
|
11367
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OpenTableFormatInputProperty"]]:
|
|
11368
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OpenTableFormatInputProperty"]], jsii.get(self, "openTableFormatInput"))
|
|
11369
|
+
|
|
11370
|
+
@open_table_format_input.setter
|
|
11371
|
+
def open_table_format_input(
|
|
11372
|
+
self,
|
|
11373
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OpenTableFormatInputProperty"]],
|
|
11374
|
+
) -> None:
|
|
11375
|
+
if __debug__:
|
|
11376
|
+
type_hints = typing.get_type_hints(_typecheckingstub__665cbaaa65195b8bbc7411de99becf7db59ef5ca96a0902eefe7c34b8e25afb0)
|
|
11377
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11378
|
+
jsii.set(self, "openTableFormatInput", value)
|
|
11379
|
+
|
|
11156
11380
|
@jsii.data_type(
|
|
11157
11381
|
jsii_type="aws-cdk-lib.aws_glue.CfnTable.ColumnProperty",
|
|
11158
11382
|
jsii_struct_bases=[],
|
|
@@ -11241,6 +11465,131 @@ class CfnTable(
|
|
|
11241
11465
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
11242
11466
|
)
|
|
11243
11467
|
|
|
11468
|
+
@jsii.data_type(
|
|
11469
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnTable.IcebergInputProperty",
|
|
11470
|
+
jsii_struct_bases=[],
|
|
11471
|
+
name_mapping={"metadata_operation": "metadataOperation", "version": "version"},
|
|
11472
|
+
)
|
|
11473
|
+
class IcebergInputProperty:
|
|
11474
|
+
def __init__(
|
|
11475
|
+
self,
|
|
11476
|
+
*,
|
|
11477
|
+
metadata_operation: typing.Optional[builtins.str] = None,
|
|
11478
|
+
version: typing.Optional[builtins.str] = None,
|
|
11479
|
+
) -> None:
|
|
11480
|
+
'''
|
|
11481
|
+
:param metadata_operation:
|
|
11482
|
+
:param version:
|
|
11483
|
+
|
|
11484
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-iceberginput.html
|
|
11485
|
+
:exampleMetadata: fixture=_generated
|
|
11486
|
+
|
|
11487
|
+
Example::
|
|
11488
|
+
|
|
11489
|
+
# The code below shows an example of how to instantiate this type.
|
|
11490
|
+
# The values are placeholders you should change.
|
|
11491
|
+
from aws_cdk import aws_glue as glue
|
|
11492
|
+
|
|
11493
|
+
iceberg_input_property = glue.CfnTable.IcebergInputProperty(
|
|
11494
|
+
metadata_operation="metadataOperation",
|
|
11495
|
+
version="version"
|
|
11496
|
+
)
|
|
11497
|
+
'''
|
|
11498
|
+
if __debug__:
|
|
11499
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a5577a3390e460af8ee1e26ea5e72e59fe72e27a2ccecb9955c9c6bdef02fb27)
|
|
11500
|
+
check_type(argname="argument metadata_operation", value=metadata_operation, expected_type=type_hints["metadata_operation"])
|
|
11501
|
+
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
11502
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11503
|
+
if metadata_operation is not None:
|
|
11504
|
+
self._values["metadata_operation"] = metadata_operation
|
|
11505
|
+
if version is not None:
|
|
11506
|
+
self._values["version"] = version
|
|
11507
|
+
|
|
11508
|
+
@builtins.property
|
|
11509
|
+
def metadata_operation(self) -> typing.Optional[builtins.str]:
|
|
11510
|
+
'''
|
|
11511
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-iceberginput.html#cfn-glue-table-iceberginput-metadataoperation
|
|
11512
|
+
'''
|
|
11513
|
+
result = self._values.get("metadata_operation")
|
|
11514
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11515
|
+
|
|
11516
|
+
@builtins.property
|
|
11517
|
+
def version(self) -> typing.Optional[builtins.str]:
|
|
11518
|
+
'''
|
|
11519
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-iceberginput.html#cfn-glue-table-iceberginput-version
|
|
11520
|
+
'''
|
|
11521
|
+
result = self._values.get("version")
|
|
11522
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11523
|
+
|
|
11524
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11525
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11526
|
+
|
|
11527
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11528
|
+
return not (rhs == self)
|
|
11529
|
+
|
|
11530
|
+
def __repr__(self) -> str:
|
|
11531
|
+
return "IcebergInputProperty(%s)" % ", ".join(
|
|
11532
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11533
|
+
)
|
|
11534
|
+
|
|
11535
|
+
@jsii.data_type(
|
|
11536
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnTable.OpenTableFormatInputProperty",
|
|
11537
|
+
jsii_struct_bases=[],
|
|
11538
|
+
name_mapping={"iceberg_input": "icebergInput"},
|
|
11539
|
+
)
|
|
11540
|
+
class OpenTableFormatInputProperty:
|
|
11541
|
+
def __init__(
|
|
11542
|
+
self,
|
|
11543
|
+
*,
|
|
11544
|
+
iceberg_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.IcebergInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11545
|
+
) -> None:
|
|
11546
|
+
'''
|
|
11547
|
+
:param iceberg_input:
|
|
11548
|
+
|
|
11549
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-opentableformatinput.html
|
|
11550
|
+
:exampleMetadata: fixture=_generated
|
|
11551
|
+
|
|
11552
|
+
Example::
|
|
11553
|
+
|
|
11554
|
+
# The code below shows an example of how to instantiate this type.
|
|
11555
|
+
# The values are placeholders you should change.
|
|
11556
|
+
from aws_cdk import aws_glue as glue
|
|
11557
|
+
|
|
11558
|
+
open_table_format_input_property = glue.CfnTable.OpenTableFormatInputProperty(
|
|
11559
|
+
iceberg_input=glue.CfnTable.IcebergInputProperty(
|
|
11560
|
+
metadata_operation="metadataOperation",
|
|
11561
|
+
version="version"
|
|
11562
|
+
)
|
|
11563
|
+
)
|
|
11564
|
+
'''
|
|
11565
|
+
if __debug__:
|
|
11566
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9f61844cf53db36b4e95a3ba20e8bd9648792e23f16c99fd8c68ece7cae04a4)
|
|
11567
|
+
check_type(argname="argument iceberg_input", value=iceberg_input, expected_type=type_hints["iceberg_input"])
|
|
11568
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11569
|
+
if iceberg_input is not None:
|
|
11570
|
+
self._values["iceberg_input"] = iceberg_input
|
|
11571
|
+
|
|
11572
|
+
@builtins.property
|
|
11573
|
+
def iceberg_input(
|
|
11574
|
+
self,
|
|
11575
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.IcebergInputProperty"]]:
|
|
11576
|
+
'''
|
|
11577
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-opentableformatinput.html#cfn-glue-table-opentableformatinput-iceberginput
|
|
11578
|
+
'''
|
|
11579
|
+
result = self._values.get("iceberg_input")
|
|
11580
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.IcebergInputProperty"]], result)
|
|
11581
|
+
|
|
11582
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11583
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11584
|
+
|
|
11585
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
11586
|
+
return not (rhs == self)
|
|
11587
|
+
|
|
11588
|
+
def __repr__(self) -> str:
|
|
11589
|
+
return "OpenTableFormatInputProperty(%s)" % ", ".join(
|
|
11590
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
11591
|
+
)
|
|
11592
|
+
|
|
11244
11593
|
@jsii.data_type(
|
|
11245
11594
|
jsii_type="aws-cdk-lib.aws_glue.CfnTable.OrderProperty",
|
|
11246
11595
|
jsii_struct_bases=[],
|
|
@@ -11990,6 +12339,7 @@ class CfnTable(
|
|
|
11990
12339
|
"catalog_id": "catalogId",
|
|
11991
12340
|
"database_name": "databaseName",
|
|
11992
12341
|
"name": "name",
|
|
12342
|
+
"region": "region",
|
|
11993
12343
|
},
|
|
11994
12344
|
)
|
|
11995
12345
|
class TableIdentifierProperty:
|
|
@@ -11999,12 +12349,14 @@ class CfnTable(
|
|
|
11999
12349
|
catalog_id: typing.Optional[builtins.str] = None,
|
|
12000
12350
|
database_name: typing.Optional[builtins.str] = None,
|
|
12001
12351
|
name: typing.Optional[builtins.str] = None,
|
|
12352
|
+
region: typing.Optional[builtins.str] = None,
|
|
12002
12353
|
) -> None:
|
|
12003
12354
|
'''A structure that describes a target table for resource linking.
|
|
12004
12355
|
|
|
12005
12356
|
:param catalog_id: The ID of the Data Catalog in which the table resides.
|
|
12006
12357
|
:param database_name: The name of the catalog database that contains the target table.
|
|
12007
12358
|
:param name: The name of the target table.
|
|
12359
|
+
:param region:
|
|
12008
12360
|
|
|
12009
12361
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html
|
|
12010
12362
|
:exampleMetadata: fixture=_generated
|
|
@@ -12018,7 +12370,8 @@ class CfnTable(
|
|
|
12018
12370
|
table_identifier_property = glue.CfnTable.TableIdentifierProperty(
|
|
12019
12371
|
catalog_id="catalogId",
|
|
12020
12372
|
database_name="databaseName",
|
|
12021
|
-
name="name"
|
|
12373
|
+
name="name",
|
|
12374
|
+
region="region"
|
|
12022
12375
|
)
|
|
12023
12376
|
'''
|
|
12024
12377
|
if __debug__:
|
|
@@ -12026,6 +12379,7 @@ class CfnTable(
|
|
|
12026
12379
|
check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
|
|
12027
12380
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
12028
12381
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
12382
|
+
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
12029
12383
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
12030
12384
|
if catalog_id is not None:
|
|
12031
12385
|
self._values["catalog_id"] = catalog_id
|
|
@@ -12033,6 +12387,8 @@ class CfnTable(
|
|
|
12033
12387
|
self._values["database_name"] = database_name
|
|
12034
12388
|
if name is not None:
|
|
12035
12389
|
self._values["name"] = name
|
|
12390
|
+
if region is not None:
|
|
12391
|
+
self._values["region"] = region
|
|
12036
12392
|
|
|
12037
12393
|
@builtins.property
|
|
12038
12394
|
def catalog_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -12061,6 +12417,14 @@ class CfnTable(
|
|
|
12061
12417
|
result = self._values.get("name")
|
|
12062
12418
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
12063
12419
|
|
|
12420
|
+
@builtins.property
|
|
12421
|
+
def region(self) -> typing.Optional[builtins.str]:
|
|
12422
|
+
'''
|
|
12423
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html#cfn-glue-table-tableidentifier-region
|
|
12424
|
+
'''
|
|
12425
|
+
result = self._values.get("region")
|
|
12426
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
12427
|
+
|
|
12064
12428
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
12065
12429
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
12066
12430
|
|
|
@@ -12188,7 +12552,8 @@ class CfnTable(
|
|
|
12188
12552
|
target_table=glue.CfnTable.TableIdentifierProperty(
|
|
12189
12553
|
catalog_id="catalogId",
|
|
12190
12554
|
database_name="databaseName",
|
|
12191
|
-
name="name"
|
|
12555
|
+
name="name",
|
|
12556
|
+
region="region"
|
|
12192
12557
|
),
|
|
12193
12558
|
view_expanded_text="viewExpandedText",
|
|
12194
12559
|
view_original_text="viewOriginalText"
|
|
@@ -12374,6 +12739,7 @@ class CfnTable(
|
|
|
12374
12739
|
"catalog_id": "catalogId",
|
|
12375
12740
|
"database_name": "databaseName",
|
|
12376
12741
|
"table_input": "tableInput",
|
|
12742
|
+
"open_table_format_input": "openTableFormatInput",
|
|
12377
12743
|
},
|
|
12378
12744
|
)
|
|
12379
12745
|
class CfnTableProps:
|
|
@@ -12383,12 +12749,14 @@ class CfnTableProps:
|
|
|
12383
12749
|
catalog_id: builtins.str,
|
|
12384
12750
|
database_name: builtins.str,
|
|
12385
12751
|
table_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TableInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
12752
|
+
open_table_format_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OpenTableFormatInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12386
12753
|
) -> None:
|
|
12387
12754
|
'''Properties for defining a ``CfnTable``.
|
|
12388
12755
|
|
|
12389
12756
|
:param catalog_id: The ID of the Data Catalog in which to create the ``Table`` .
|
|
12390
12757
|
:param database_name: The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.
|
|
12391
12758
|
:param table_input: A structure used to define a table.
|
|
12759
|
+
:param open_table_format_input:
|
|
12392
12760
|
|
|
12393
12761
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
|
|
12394
12762
|
:exampleMetadata: fixture=_generated
|
|
@@ -12462,10 +12830,19 @@ class CfnTableProps:
|
|
|
12462
12830
|
target_table=glue.CfnTable.TableIdentifierProperty(
|
|
12463
12831
|
catalog_id="catalogId",
|
|
12464
12832
|
database_name="databaseName",
|
|
12465
|
-
name="name"
|
|
12833
|
+
name="name",
|
|
12834
|
+
region="region"
|
|
12466
12835
|
),
|
|
12467
12836
|
view_expanded_text="viewExpandedText",
|
|
12468
12837
|
view_original_text="viewOriginalText"
|
|
12838
|
+
),
|
|
12839
|
+
|
|
12840
|
+
# the properties below are optional
|
|
12841
|
+
open_table_format_input=glue.CfnTable.OpenTableFormatInputProperty(
|
|
12842
|
+
iceberg_input=glue.CfnTable.IcebergInputProperty(
|
|
12843
|
+
metadata_operation="metadataOperation",
|
|
12844
|
+
version="version"
|
|
12845
|
+
)
|
|
12469
12846
|
)
|
|
12470
12847
|
)
|
|
12471
12848
|
'''
|
|
@@ -12474,11 +12851,14 @@ class CfnTableProps:
|
|
|
12474
12851
|
check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
|
|
12475
12852
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
12476
12853
|
check_type(argname="argument table_input", value=table_input, expected_type=type_hints["table_input"])
|
|
12854
|
+
check_type(argname="argument open_table_format_input", value=open_table_format_input, expected_type=type_hints["open_table_format_input"])
|
|
12477
12855
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
12478
12856
|
"catalog_id": catalog_id,
|
|
12479
12857
|
"database_name": database_name,
|
|
12480
12858
|
"table_input": table_input,
|
|
12481
12859
|
}
|
|
12860
|
+
if open_table_format_input is not None:
|
|
12861
|
+
self._values["open_table_format_input"] = open_table_format_input
|
|
12482
12862
|
|
|
12483
12863
|
@builtins.property
|
|
12484
12864
|
def catalog_id(self) -> builtins.str:
|
|
@@ -12514,6 +12894,16 @@ class CfnTableProps:
|
|
|
12514
12894
|
assert result is not None, "Required property 'table_input' is missing"
|
|
12515
12895
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnTable.TableInputProperty], result)
|
|
12516
12896
|
|
|
12897
|
+
@builtins.property
|
|
12898
|
+
def open_table_format_input(
|
|
12899
|
+
self,
|
|
12900
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OpenTableFormatInputProperty]]:
|
|
12901
|
+
'''
|
|
12902
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html#cfn-glue-table-opentableformatinput
|
|
12903
|
+
'''
|
|
12904
|
+
result = self._values.get("open_table_format_input")
|
|
12905
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OpenTableFormatInputProperty]], result)
|
|
12906
|
+
|
|
12517
12907
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
12518
12908
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
12519
12909
|
|
|
@@ -13964,7 +14354,9 @@ def _typecheckingstub__204ba6e258d6c443b165b0772162d891e01db52b8bf7b049b0e9d4968
|
|
|
13964
14354
|
def _typecheckingstub__dd722ed29ebf9e1505b4d21b5e95cb0f8d4e96b052ed45a497086e92f8d1eb4c(
|
|
13965
14355
|
*,
|
|
13966
14356
|
allow_single_column: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
14357
|
+
contains_custom_datatype: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13967
14358
|
contains_header: typing.Optional[builtins.str] = None,
|
|
14359
|
+
custom_datatype_configured: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13968
14360
|
delimiter: typing.Optional[builtins.str] = None,
|
|
13969
14361
|
disable_value_trimming: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13970
14362
|
header: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -14213,6 +14605,16 @@ def _typecheckingstub__4c03ffc3d1fa17ed9770b2c448e87c012b6d363001f06ce8b95bdb9c6
|
|
|
14213
14605
|
"""Type checking stubs"""
|
|
14214
14606
|
pass
|
|
14215
14607
|
|
|
14608
|
+
def _typecheckingstub__fc4d48721f48f2b8be2bdcc36b62b7559b104ac87185a032281e5b09d46901e3(
|
|
14609
|
+
*,
|
|
14610
|
+
connection_name: typing.Optional[builtins.str] = None,
|
|
14611
|
+
exclusions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
14612
|
+
maximum_traversal_depth: typing.Optional[jsii.Number] = None,
|
|
14613
|
+
paths: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
14614
|
+
) -> None:
|
|
14615
|
+
"""Type checking stubs"""
|
|
14616
|
+
pass
|
|
14617
|
+
|
|
14216
14618
|
def _typecheckingstub__9cb27c7db73a5c6fa3740f2d4726f453641d40911229d3bb39f26c4402516cf6(
|
|
14217
14619
|
*,
|
|
14218
14620
|
connection_name: typing.Optional[builtins.str] = None,
|
|
@@ -14269,6 +14671,7 @@ def _typecheckingstub__fe7a457ca9245ce0e51373e4e1d8daf444f9da978c352bc8529931e53
|
|
|
14269
14671
|
catalog_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.CatalogTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14270
14672
|
delta_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.DeltaTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14271
14673
|
dynamo_db_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.DynamoDBTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14674
|
+
iceberg_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.IcebergTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14272
14675
|
jdbc_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.JdbcTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14273
14676
|
mongo_db_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.MongoDBTargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14274
14677
|
s3_targets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.S3TargetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -14488,6 +14891,7 @@ def _typecheckingstub__5e1e09205087e89c58802ef33b1c27bb5ad9de3db3e6419d7c72b4906
|
|
|
14488
14891
|
*,
|
|
14489
14892
|
catalog_id: typing.Optional[builtins.str] = None,
|
|
14490
14893
|
database_name: typing.Optional[builtins.str] = None,
|
|
14894
|
+
region: typing.Optional[builtins.str] = None,
|
|
14491
14895
|
) -> None:
|
|
14492
14896
|
"""Type checking stubs"""
|
|
14493
14897
|
pass
|
|
@@ -15551,6 +15955,7 @@ def _typecheckingstub__63721068e81107cadbf3e418ec393de98f88a141604f2bb1044b5ae30
|
|
|
15551
15955
|
catalog_id: builtins.str,
|
|
15552
15956
|
database_name: builtins.str,
|
|
15553
15957
|
table_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TableInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15958
|
+
open_table_format_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OpenTableFormatInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15554
15959
|
) -> None:
|
|
15555
15960
|
"""Type checking stubs"""
|
|
15556
15961
|
pass
|
|
@@ -15585,6 +15990,12 @@ def _typecheckingstub__9200a2bfb582a6d400aba47da5ed4d77a8ca52ee0956131ca52cdc582
|
|
|
15585
15990
|
"""Type checking stubs"""
|
|
15586
15991
|
pass
|
|
15587
15992
|
|
|
15993
|
+
def _typecheckingstub__665cbaaa65195b8bbc7411de99becf7db59ef5ca96a0902eefe7c34b8e25afb0(
|
|
15994
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OpenTableFormatInputProperty]],
|
|
15995
|
+
) -> None:
|
|
15996
|
+
"""Type checking stubs"""
|
|
15997
|
+
pass
|
|
15998
|
+
|
|
15588
15999
|
def _typecheckingstub__341bb786dd6f598e8fcaf71f90ff3da761cc3d8304f5ad4f6619ba17f44144aa(
|
|
15589
16000
|
*,
|
|
15590
16001
|
name: builtins.str,
|
|
@@ -15594,6 +16005,21 @@ def _typecheckingstub__341bb786dd6f598e8fcaf71f90ff3da761cc3d8304f5ad4f6619ba17f
|
|
|
15594
16005
|
"""Type checking stubs"""
|
|
15595
16006
|
pass
|
|
15596
16007
|
|
|
16008
|
+
def _typecheckingstub__a5577a3390e460af8ee1e26ea5e72e59fe72e27a2ccecb9955c9c6bdef02fb27(
|
|
16009
|
+
*,
|
|
16010
|
+
metadata_operation: typing.Optional[builtins.str] = None,
|
|
16011
|
+
version: typing.Optional[builtins.str] = None,
|
|
16012
|
+
) -> None:
|
|
16013
|
+
"""Type checking stubs"""
|
|
16014
|
+
pass
|
|
16015
|
+
|
|
16016
|
+
def _typecheckingstub__f9f61844cf53db36b4e95a3ba20e8bd9648792e23f16c99fd8c68ece7cae04a4(
|
|
16017
|
+
*,
|
|
16018
|
+
iceberg_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.IcebergInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16019
|
+
) -> None:
|
|
16020
|
+
"""Type checking stubs"""
|
|
16021
|
+
pass
|
|
16022
|
+
|
|
15597
16023
|
def _typecheckingstub__0ef4b90841abfe4615325735c716d9eaa2a8839a68d0c4650f1bb4275935dfa1(
|
|
15598
16024
|
*,
|
|
15599
16025
|
column: builtins.str,
|
|
@@ -15662,6 +16088,7 @@ def _typecheckingstub__cd9fe33086eb487e31769dc922bd060b39cb7e1a4f01a8e8bfa04311b
|
|
|
15662
16088
|
catalog_id: typing.Optional[builtins.str] = None,
|
|
15663
16089
|
database_name: typing.Optional[builtins.str] = None,
|
|
15664
16090
|
name: typing.Optional[builtins.str] = None,
|
|
16091
|
+
region: typing.Optional[builtins.str] = None,
|
|
15665
16092
|
) -> None:
|
|
15666
16093
|
"""Type checking stubs"""
|
|
15667
16094
|
pass
|
|
@@ -15688,6 +16115,7 @@ def _typecheckingstub__1fa7a95b739eec87307cf104cf3e05eef39d32fd60cc53851b43bd980
|
|
|
15688
16115
|
catalog_id: builtins.str,
|
|
15689
16116
|
database_name: builtins.str,
|
|
15690
16117
|
table_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TableInputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
16118
|
+
open_table_format_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OpenTableFormatInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15691
16119
|
) -> None:
|
|
15692
16120
|
"""Type checking stubs"""
|
|
15693
16121
|
pass
|