aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.1__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 (91) hide show
  1. aws_cdk/__init__.py +210 -181
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +18 -0
  5. aws_cdk/aws_apigateway/__init__.py +127 -168
  6. aws_cdk/aws_appconfig/__init__.py +498 -1
  7. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  8. aws_cdk/aws_appsync/__init__.py +4 -0
  9. aws_cdk/aws_autoscaling/__init__.py +96 -0
  10. aws_cdk/aws_batch/__init__.py +662 -237
  11. aws_cdk/aws_bedrock/__init__.py +2122 -181
  12. aws_cdk/aws_cassandra/__init__.py +476 -4
  13. aws_cdk/aws_cleanrooms/__init__.py +1227 -20
  14. aws_cdk/aws_cloudformation/__init__.py +172 -169
  15. aws_cdk/aws_cloudfront/__init__.py +773 -26
  16. aws_cdk/aws_cloudtrail/__init__.py +8 -2
  17. aws_cdk/aws_codebuild/__init__.py +83 -0
  18. aws_cdk/aws_codepipeline/__init__.py +2 -1
  19. aws_cdk/aws_cognito/__init__.py +232 -200
  20. aws_cdk/aws_connect/__init__.py +187 -36
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
  22. aws_cdk/aws_databrew/__init__.py +69 -1
  23. aws_cdk/aws_datasync/__init__.py +33 -28
  24. aws_cdk/aws_datazone/__init__.py +141 -41
  25. aws_cdk/aws_dlm/__init__.py +20 -10
  26. aws_cdk/aws_dms/__init__.py +736 -22
  27. aws_cdk/aws_docdb/__init__.py +134 -0
  28. aws_cdk/aws_dynamodb/__init__.py +76 -4
  29. aws_cdk/aws_ec2/__init__.py +1233 -65
  30. aws_cdk/aws_ecr/__init__.py +31 -0
  31. aws_cdk/aws_ecr_assets/__init__.py +5 -0
  32. aws_cdk/aws_ecs/__init__.py +88 -11
  33. aws_cdk/aws_efs/__init__.py +15 -8
  34. aws_cdk/aws_eks/__init__.py +114 -45
  35. aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
  36. aws_cdk/aws_emrserverless/__init__.py +143 -0
  37. aws_cdk/aws_events/__init__.py +50 -30
  38. aws_cdk/aws_fis/__init__.py +33 -33
  39. aws_cdk/aws_fsx/__init__.py +20 -10
  40. aws_cdk/aws_glue/__init__.py +34 -11
  41. aws_cdk/aws_greengrass/__init__.py +8 -8
  42. aws_cdk/aws_guardduty/__init__.py +1 -1
  43. aws_cdk/aws_imagebuilder/__init__.py +45 -47
  44. aws_cdk/aws_internetmonitor/__init__.py +3 -3
  45. aws_cdk/aws_invoicing/__init__.py +55 -30
  46. aws_cdk/aws_iot/__init__.py +1117 -4
  47. aws_cdk/aws_iot1click/__init__.py +17 -7
  48. aws_cdk/aws_kendra/__init__.py +4 -6
  49. aws_cdk/aws_lambda/__init__.py +15 -1
  50. aws_cdk/aws_logs/__init__.py +4011 -86
  51. aws_cdk/aws_m2/__init__.py +41 -0
  52. aws_cdk/aws_mediaconnect/__init__.py +202 -7
  53. aws_cdk/aws_mediaconvert/__init__.py +39 -0
  54. aws_cdk/aws_memorydb/__init__.py +22 -22
  55. aws_cdk/aws_networkmanager/__init__.py +758 -0
  56. aws_cdk/aws_opensearchservice/__init__.py +222 -0
  57. aws_cdk/aws_organizations/__init__.py +5 -3
  58. aws_cdk/aws_pcs/__init__.py +3038 -0
  59. aws_cdk/aws_pipes/__init__.py +10 -10
  60. aws_cdk/aws_qbusiness/__init__.py +415 -140
  61. aws_cdk/aws_quicksight/__init__.py +59795 -49748
  62. aws_cdk/aws_ram/__init__.py +5 -11
  63. aws_cdk/aws_rbin/__init__.py +28 -16
  64. aws_cdk/aws_rds/__init__.py +186 -31
  65. aws_cdk/aws_redshiftserverless/__init__.py +156 -0
  66. aws_cdk/aws_resiliencehub/__init__.py +2 -1
  67. aws_cdk/aws_route53_targets/__init__.py +5 -5
  68. aws_cdk/aws_s3/__init__.py +25 -15
  69. aws_cdk/aws_s3express/__init__.py +7 -7
  70. aws_cdk/aws_s3tables/__init__.py +683 -0
  71. aws_cdk/aws_sagemaker/__init__.py +580 -195
  72. aws_cdk/aws_secretsmanager/__init__.py +2 -0
  73. aws_cdk/aws_securityhub/__init__.py +41 -165
  74. aws_cdk/aws_servicediscovery/__init__.py +10 -3
  75. aws_cdk/aws_ses/__init__.py +190 -5
  76. aws_cdk/aws_sns/__init__.py +7 -3
  77. aws_cdk/aws_synthetics/__init__.py +29 -4
  78. aws_cdk/aws_transfer/__init__.py +8 -0
  79. aws_cdk/aws_vpclattice/__init__.py +147 -77
  80. aws_cdk/aws_wafv2/__init__.py +20 -8
  81. aws_cdk/aws_wisdom/__init__.py +162 -111
  82. aws_cdk/aws_workspaces/__init__.py +10 -4
  83. aws_cdk/cloud_assembly_schema/__init__.py +22 -0
  84. aws_cdk/custom_resources/__init__.py +31 -0
  85. aws_cdk/cx_api/__init__.py +19 -0
  86. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/LICENSE +1 -1
  87. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/METADATA +2 -2
  88. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/NOTICE +1 -1
  89. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/RECORD +91 -89
  90. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/WHEEL +0 -0
  91. {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/top_level.txt +0 -0
@@ -257,7 +257,10 @@ class CfnCampaign(
257
257
  refresh_frequency="refreshFrequency"
258
258
  ),
259
259
  source=connectcampaignsv2.CfnCampaign.SourceProperty(
260
- customer_profiles_segment_arn="customerProfilesSegmentArn"
260
+ customer_profiles_segment_arn="customerProfilesSegmentArn",
261
+ event_trigger=connectcampaignsv2.CfnCampaign.EventTriggerProperty(
262
+ customer_profiles_domain_arn="customerProfilesDomainArn"
263
+ )
261
264
  ),
262
265
  tags=[CfnTag(
263
266
  key="key",
@@ -1450,6 +1453,61 @@ class CfnCampaign(
1450
1453
  k + "=" + repr(v) for k, v in self._values.items()
1451
1454
  )
1452
1455
 
1456
+ @jsii.data_type(
1457
+ jsii_type="aws-cdk-lib.aws_connectcampaignsv2.CfnCampaign.EventTriggerProperty",
1458
+ jsii_struct_bases=[],
1459
+ name_mapping={"customer_profiles_domain_arn": "customerProfilesDomainArn"},
1460
+ )
1461
+ class EventTriggerProperty:
1462
+ def __init__(
1463
+ self,
1464
+ *,
1465
+ customer_profiles_domain_arn: typing.Optional[builtins.str] = None,
1466
+ ) -> None:
1467
+ '''The event trigger of the campaign.
1468
+
1469
+ :param customer_profiles_domain_arn: The Amazon Resource Name (ARN) of the Customer Profiles domain.
1470
+
1471
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html
1472
+ :exampleMetadata: fixture=_generated
1473
+
1474
+ Example::
1475
+
1476
+ # The code below shows an example of how to instantiate this type.
1477
+ # The values are placeholders you should change.
1478
+ from aws_cdk import aws_connectcampaignsv2 as connectcampaignsv2
1479
+
1480
+ event_trigger_property = connectcampaignsv2.CfnCampaign.EventTriggerProperty(
1481
+ customer_profiles_domain_arn="customerProfilesDomainArn"
1482
+ )
1483
+ '''
1484
+ if __debug__:
1485
+ type_hints = typing.get_type_hints(_typecheckingstub__c5c63db70e1b49ff8c093902378da25d9e1f34010626b2eeb9d25d6da292eb2c)
1486
+ check_type(argname="argument customer_profiles_domain_arn", value=customer_profiles_domain_arn, expected_type=type_hints["customer_profiles_domain_arn"])
1487
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1488
+ if customer_profiles_domain_arn is not None:
1489
+ self._values["customer_profiles_domain_arn"] = customer_profiles_domain_arn
1490
+
1491
+ @builtins.property
1492
+ def customer_profiles_domain_arn(self) -> typing.Optional[builtins.str]:
1493
+ '''The Amazon Resource Name (ARN) of the Customer Profiles domain.
1494
+
1495
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html#cfn-connectcampaignsv2-campaign-eventtrigger-customerprofilesdomainarn
1496
+ '''
1497
+ result = self._values.get("customer_profiles_domain_arn")
1498
+ return typing.cast(typing.Optional[builtins.str], result)
1499
+
1500
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1501
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1502
+
1503
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1504
+ return not (rhs == self)
1505
+
1506
+ def __repr__(self) -> str:
1507
+ return "EventTriggerProperty(%s)" % ", ".join(
1508
+ k + "=" + repr(v) for k, v in self._values.items()
1509
+ )
1510
+
1453
1511
  @jsii.data_type(
1454
1512
  jsii_type="aws-cdk-lib.aws_connectcampaignsv2.CfnCampaign.LocalTimeZoneConfigProperty",
1455
1513
  jsii_struct_bases=[],
@@ -2174,13 +2232,22 @@ class CfnCampaign(
2174
2232
  @jsii.data_type(
2175
2233
  jsii_type="aws-cdk-lib.aws_connectcampaignsv2.CfnCampaign.SourceProperty",
2176
2234
  jsii_struct_bases=[],
2177
- name_mapping={"customer_profiles_segment_arn": "customerProfilesSegmentArn"},
2235
+ name_mapping={
2236
+ "customer_profiles_segment_arn": "customerProfilesSegmentArn",
2237
+ "event_trigger": "eventTrigger",
2238
+ },
2178
2239
  )
2179
2240
  class SourceProperty:
2180
- def __init__(self, *, customer_profiles_segment_arn: builtins.str) -> None:
2241
+ def __init__(
2242
+ self,
2243
+ *,
2244
+ customer_profiles_segment_arn: typing.Optional[builtins.str] = None,
2245
+ event_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.EventTriggerProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2246
+ ) -> None:
2181
2247
  '''Contains source configuration.
2182
2248
 
2183
2249
  :param customer_profiles_segment_arn: The Amazon Resource Name (ARN) of the Customer Profiles segment.
2250
+ :param event_trigger: The event trigger of the campaign.
2184
2251
 
2185
2252
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html
2186
2253
  :exampleMetadata: fixture=_generated
@@ -2192,25 +2259,41 @@ class CfnCampaign(
2192
2259
  from aws_cdk import aws_connectcampaignsv2 as connectcampaignsv2
2193
2260
 
2194
2261
  source_property = connectcampaignsv2.CfnCampaign.SourceProperty(
2195
- customer_profiles_segment_arn="customerProfilesSegmentArn"
2262
+ customer_profiles_segment_arn="customerProfilesSegmentArn",
2263
+ event_trigger=connectcampaignsv2.CfnCampaign.EventTriggerProperty(
2264
+ customer_profiles_domain_arn="customerProfilesDomainArn"
2265
+ )
2196
2266
  )
2197
2267
  '''
2198
2268
  if __debug__:
2199
2269
  type_hints = typing.get_type_hints(_typecheckingstub__48dbe2dd9c0147e5b2bea173aba4c056f8a83ba308e89c654331a4a77f46636d)
2200
2270
  check_type(argname="argument customer_profiles_segment_arn", value=customer_profiles_segment_arn, expected_type=type_hints["customer_profiles_segment_arn"])
2201
- self._values: typing.Dict[builtins.str, typing.Any] = {
2202
- "customer_profiles_segment_arn": customer_profiles_segment_arn,
2203
- }
2271
+ check_type(argname="argument event_trigger", value=event_trigger, expected_type=type_hints["event_trigger"])
2272
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2273
+ if customer_profiles_segment_arn is not None:
2274
+ self._values["customer_profiles_segment_arn"] = customer_profiles_segment_arn
2275
+ if event_trigger is not None:
2276
+ self._values["event_trigger"] = event_trigger
2204
2277
 
2205
2278
  @builtins.property
2206
- def customer_profiles_segment_arn(self) -> builtins.str:
2279
+ def customer_profiles_segment_arn(self) -> typing.Optional[builtins.str]:
2207
2280
  '''The Amazon Resource Name (ARN) of the Customer Profiles segment.
2208
2281
 
2209
2282
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html#cfn-connectcampaignsv2-campaign-source-customerprofilessegmentarn
2210
2283
  '''
2211
2284
  result = self._values.get("customer_profiles_segment_arn")
2212
- assert result is not None, "Required property 'customer_profiles_segment_arn' is missing"
2213
- return typing.cast(builtins.str, result)
2285
+ return typing.cast(typing.Optional[builtins.str], result)
2286
+
2287
+ @builtins.property
2288
+ def event_trigger(
2289
+ self,
2290
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.EventTriggerProperty"]]:
2291
+ '''The event trigger of the campaign.
2292
+
2293
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html#cfn-connectcampaignsv2-campaign-source-eventtrigger
2294
+ '''
2295
+ result = self._values.get("event_trigger")
2296
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.EventTriggerProperty"]], result)
2214
2297
 
2215
2298
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2216
2299
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -2922,7 +3005,10 @@ class CfnCampaignProps:
2922
3005
  refresh_frequency="refreshFrequency"
2923
3006
  ),
2924
3007
  source=connectcampaignsv2.CfnCampaign.SourceProperty(
2925
- customer_profiles_segment_arn="customerProfilesSegmentArn"
3008
+ customer_profiles_segment_arn="customerProfilesSegmentArn",
3009
+ event_trigger=connectcampaignsv2.CfnCampaign.EventTriggerProperty(
3010
+ customer_profiles_domain_arn="customerProfilesDomainArn"
3011
+ )
2926
3012
  ),
2927
3013
  tags=[CfnTag(
2928
3014
  key="key",
@@ -3242,6 +3328,13 @@ def _typecheckingstub__016ccd411110b9f8510f586be6901ef480857575d80a38ed7c7e81cae
3242
3328
  """Type checking stubs"""
3243
3329
  pass
3244
3330
 
3331
+ def _typecheckingstub__c5c63db70e1b49ff8c093902378da25d9e1f34010626b2eeb9d25d6da292eb2c(
3332
+ *,
3333
+ customer_profiles_domain_arn: typing.Optional[builtins.str] = None,
3334
+ ) -> None:
3335
+ """Type checking stubs"""
3336
+ pass
3337
+
3245
3338
  def _typecheckingstub__c03234f264094d68479c6e1cf3801d50627e839a73b2f0cbeb95c82522f9a66e(
3246
3339
  *,
3247
3340
  default_time_zone: typing.Optional[builtins.str] = None,
@@ -3322,7 +3415,8 @@ def _typecheckingstub__67957d238e403659f29fa8bf2db2164d694d327a14b84df3d61c10b2b
3322
3415
 
3323
3416
  def _typecheckingstub__48dbe2dd9c0147e5b2bea173aba4c056f8a83ba308e89c654331a4a77f46636d(
3324
3417
  *,
3325
- customer_profiles_segment_arn: builtins.str,
3418
+ customer_profiles_segment_arn: typing.Optional[builtins.str] = None,
3419
+ event_trigger: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.EventTriggerProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3326
3420
  ) -> None:
3327
3421
  """Type checking stubs"""
3328
3422
  pass
@@ -99,6 +99,7 @@ class CfnDataset(
99
99
  bucket="bucket",
100
100
 
101
101
  # the properties below are optional
102
+ bucket_owner="bucketOwner",
102
103
  key="key"
103
104
  )
104
105
  ),
@@ -110,6 +111,7 @@ class CfnDataset(
110
111
  bucket="bucket",
111
112
 
112
113
  # the properties below are optional
114
+ bucket_owner="bucketOwner",
113
115
  key="key"
114
116
  )
115
117
  ),
@@ -120,6 +122,7 @@ class CfnDataset(
120
122
  bucket="bucket",
121
123
 
122
124
  # the properties below are optional
125
+ bucket_owner="bucketOwner",
123
126
  key="key"
124
127
  )
125
128
  ),
@@ -181,6 +184,7 @@ class CfnDataset(
181
184
  path_parameter_name="pathParameterName"
182
185
  )]
183
186
  ),
187
+ source="source",
184
188
  tags=[CfnTag(
185
189
  key="key",
186
190
  value="value"
@@ -198,6 +202,7 @@ class CfnDataset(
198
202
  format: typing.Optional[builtins.str] = None,
199
203
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.FormatOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
200
204
  path_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.PathOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
205
+ source: typing.Optional[builtins.str] = None,
201
206
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
202
207
  ) -> None:
203
208
  '''
@@ -208,6 +213,7 @@ class CfnDataset(
208
213
  :param format: The file format of a dataset that is created from an Amazon S3 file or folder.
209
214
  :param format_options: A set of options that define how DataBrew interprets the data in the dataset.
210
215
  :param path_options: A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
216
+ :param source: The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog .
211
217
  :param tags: Metadata tags that have been applied to the dataset.
212
218
  '''
213
219
  if __debug__:
@@ -220,6 +226,7 @@ class CfnDataset(
220
226
  format=format,
221
227
  format_options=format_options,
222
228
  path_options=path_options,
229
+ source=source,
223
230
  tags=tags,
224
231
  )
225
232
 
@@ -344,6 +351,19 @@ class CfnDataset(
344
351
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
345
352
  jsii.set(self, "pathOptions", value) # pyright: ignore[reportArgumentType]
346
353
 
354
+ @builtins.property
355
+ @jsii.member(jsii_name="source")
356
+ def source(self) -> typing.Optional[builtins.str]:
357
+ '''The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog .'''
358
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "source"))
359
+
360
+ @source.setter
361
+ def source(self, value: typing.Optional[builtins.str]) -> None:
362
+ if __debug__:
363
+ type_hints = typing.get_type_hints(_typecheckingstub__7822b6d34f0808fcaba24266555be0c0f8a240ca9ed25a1317a19258f722de1c)
364
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
365
+ jsii.set(self, "source", value) # pyright: ignore[reportArgumentType]
366
+
347
367
  @builtins.property
348
368
  @jsii.member(jsii_name="tagsRaw")
349
369
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -474,6 +494,7 @@ class CfnDataset(
474
494
  bucket="bucket",
475
495
 
476
496
  # the properties below are optional
497
+ bucket_owner="bucketOwner",
477
498
  key="key"
478
499
  )
479
500
  )
@@ -590,6 +611,7 @@ class CfnDataset(
590
611
  bucket="bucket",
591
612
 
592
613
  # the properties below are optional
614
+ bucket_owner="bucketOwner",
593
615
  key="key"
594
616
  )
595
617
  )
@@ -1390,6 +1412,7 @@ class CfnDataset(
1390
1412
  bucket="bucket",
1391
1413
 
1392
1414
  # the properties below are optional
1415
+ bucket_owner="bucketOwner",
1393
1416
  key="key"
1394
1417
  )
1395
1418
  ),
@@ -1401,6 +1424,7 @@ class CfnDataset(
1401
1424
  bucket="bucket",
1402
1425
 
1403
1426
  # the properties below are optional
1427
+ bucket_owner="bucketOwner",
1404
1428
  key="key"
1405
1429
  )
1406
1430
  ),
@@ -1411,6 +1435,7 @@ class CfnDataset(
1411
1435
  bucket="bucket",
1412
1436
 
1413
1437
  # the properties below are optional
1438
+ bucket_owner="bucketOwner",
1414
1439
  key="key"
1415
1440
  )
1416
1441
  )
@@ -1827,18 +1852,20 @@ class CfnDataset(
1827
1852
  @jsii.data_type(
1828
1853
  jsii_type="aws-cdk-lib.aws_databrew.CfnDataset.S3LocationProperty",
1829
1854
  jsii_struct_bases=[],
1830
- name_mapping={"bucket": "bucket", "key": "key"},
1855
+ name_mapping={"bucket": "bucket", "bucket_owner": "bucketOwner", "key": "key"},
1831
1856
  )
1832
1857
  class S3LocationProperty:
1833
1858
  def __init__(
1834
1859
  self,
1835
1860
  *,
1836
1861
  bucket: builtins.str,
1862
+ bucket_owner: typing.Optional[builtins.str] = None,
1837
1863
  key: typing.Optional[builtins.str] = None,
1838
1864
  ) -> None:
1839
1865
  '''Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
1840
1866
 
1841
1867
  :param bucket: The Amazon S3 bucket name.
1868
+ :param bucket_owner: The AWS account ID of the bucket owner.
1842
1869
  :param key: The unique name of the object in the bucket.
1843
1870
 
1844
1871
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-s3location.html
@@ -1854,16 +1881,20 @@ class CfnDataset(
1854
1881
  bucket="bucket",
1855
1882
 
1856
1883
  # the properties below are optional
1884
+ bucket_owner="bucketOwner",
1857
1885
  key="key"
1858
1886
  )
1859
1887
  '''
1860
1888
  if __debug__:
1861
1889
  type_hints = typing.get_type_hints(_typecheckingstub__f30ba0bd3a86c9d1d42ae79f1be04599421f92582ffc5edc52b03cd811e71496)
1862
1890
  check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
1891
+ check_type(argname="argument bucket_owner", value=bucket_owner, expected_type=type_hints["bucket_owner"])
1863
1892
  check_type(argname="argument key", value=key, expected_type=type_hints["key"])
1864
1893
  self._values: typing.Dict[builtins.str, typing.Any] = {
1865
1894
  "bucket": bucket,
1866
1895
  }
1896
+ if bucket_owner is not None:
1897
+ self._values["bucket_owner"] = bucket_owner
1867
1898
  if key is not None:
1868
1899
  self._values["key"] = key
1869
1900
 
@@ -1877,6 +1908,15 @@ class CfnDataset(
1877
1908
  assert result is not None, "Required property 'bucket' is missing"
1878
1909
  return typing.cast(builtins.str, result)
1879
1910
 
1911
+ @builtins.property
1912
+ def bucket_owner(self) -> typing.Optional[builtins.str]:
1913
+ '''The AWS account ID of the bucket owner.
1914
+
1915
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-s3location.html#cfn-databrew-dataset-s3location-bucketowner
1916
+ '''
1917
+ result = self._values.get("bucket_owner")
1918
+ return typing.cast(typing.Optional[builtins.str], result)
1919
+
1880
1920
  @builtins.property
1881
1921
  def key(self) -> typing.Optional[builtins.str]:
1882
1922
  '''The unique name of the object in the bucket.
@@ -1907,6 +1947,7 @@ class CfnDataset(
1907
1947
  "format": "format",
1908
1948
  "format_options": "formatOptions",
1909
1949
  "path_options": "pathOptions",
1950
+ "source": "source",
1910
1951
  "tags": "tags",
1911
1952
  },
1912
1953
  )
@@ -1919,6 +1960,7 @@ class CfnDatasetProps:
1919
1960
  format: typing.Optional[builtins.str] = None,
1920
1961
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1921
1962
  path_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.PathOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1963
+ source: typing.Optional[builtins.str] = None,
1922
1964
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1923
1965
  ) -> None:
1924
1966
  '''Properties for defining a ``CfnDataset``.
@@ -1928,6 +1970,7 @@ class CfnDatasetProps:
1928
1970
  :param format: The file format of a dataset that is created from an Amazon S3 file or folder.
1929
1971
  :param format_options: A set of options that define how DataBrew interprets the data in the dataset.
1930
1972
  :param path_options: A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
1973
+ :param source: The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog .
1931
1974
  :param tags: Metadata tags that have been applied to the dataset.
1932
1975
 
1933
1976
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html
@@ -1951,6 +1994,7 @@ class CfnDatasetProps:
1951
1994
  bucket="bucket",
1952
1995
 
1953
1996
  # the properties below are optional
1997
+ bucket_owner="bucketOwner",
1954
1998
  key="key"
1955
1999
  )
1956
2000
  ),
@@ -1962,6 +2006,7 @@ class CfnDatasetProps:
1962
2006
  bucket="bucket",
1963
2007
 
1964
2008
  # the properties below are optional
2009
+ bucket_owner="bucketOwner",
1965
2010
  key="key"
1966
2011
  )
1967
2012
  ),
@@ -1972,6 +2017,7 @@ class CfnDatasetProps:
1972
2017
  bucket="bucket",
1973
2018
 
1974
2019
  # the properties below are optional
2020
+ bucket_owner="bucketOwner",
1975
2021
  key="key"
1976
2022
  )
1977
2023
  ),
@@ -2033,6 +2079,7 @@ class CfnDatasetProps:
2033
2079
  path_parameter_name="pathParameterName"
2034
2080
  )]
2035
2081
  ),
2082
+ source="source",
2036
2083
  tags=[CfnTag(
2037
2084
  key="key",
2038
2085
  value="value"
@@ -2046,6 +2093,7 @@ class CfnDatasetProps:
2046
2093
  check_type(argname="argument format", value=format, expected_type=type_hints["format"])
2047
2094
  check_type(argname="argument format_options", value=format_options, expected_type=type_hints["format_options"])
2048
2095
  check_type(argname="argument path_options", value=path_options, expected_type=type_hints["path_options"])
2096
+ check_type(argname="argument source", value=source, expected_type=type_hints["source"])
2049
2097
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2050
2098
  self._values: typing.Dict[builtins.str, typing.Any] = {
2051
2099
  "input": input,
@@ -2057,6 +2105,8 @@ class CfnDatasetProps:
2057
2105
  self._values["format_options"] = format_options
2058
2106
  if path_options is not None:
2059
2107
  self._values["path_options"] = path_options
2108
+ if source is not None:
2109
+ self._values["source"] = source
2060
2110
  if tags is not None:
2061
2111
  self._values["tags"] = tags
2062
2112
 
@@ -2111,6 +2161,15 @@ class CfnDatasetProps:
2111
2161
  result = self._values.get("path_options")
2112
2162
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataset.PathOptionsProperty]], result)
2113
2163
 
2164
+ @builtins.property
2165
+ def source(self) -> typing.Optional[builtins.str]:
2166
+ '''The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog .
2167
+
2168
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-source
2169
+ '''
2170
+ result = self._values.get("source")
2171
+ return typing.cast(typing.Optional[builtins.str], result)
2172
+
2114
2173
  @builtins.property
2115
2174
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2116
2175
  '''Metadata tags that have been applied to the dataset.
@@ -9136,6 +9195,7 @@ def _typecheckingstub__01a5dae2ed52a5751575098bae6efd27cb9e1e5f3549ef7b66d5155a2
9136
9195
  format: typing.Optional[builtins.str] = None,
9137
9196
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9138
9197
  path_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.PathOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9198
+ source: typing.Optional[builtins.str] = None,
9139
9199
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9140
9200
  ) -> None:
9141
9201
  """Type checking stubs"""
@@ -9183,6 +9243,12 @@ def _typecheckingstub__3e149fcab0a2123def59da0d9685b964ad6f0bbeb5260bbfc82fb03d3
9183
9243
  """Type checking stubs"""
9184
9244
  pass
9185
9245
 
9246
+ def _typecheckingstub__7822b6d34f0808fcaba24266555be0c0f8a240ca9ed25a1317a19258f722de1c(
9247
+ value: typing.Optional[builtins.str],
9248
+ ) -> None:
9249
+ """Type checking stubs"""
9250
+ pass
9251
+
9186
9252
  def _typecheckingstub__2a44a1b4a5e7a1e6a2789710599b4999a6b1bf2e95d82741d51b8183e02b7faf(
9187
9253
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
9188
9254
  ) -> None:
@@ -9324,6 +9390,7 @@ def _typecheckingstub__0672dc4cd0745319a686e8641afa83f2390e6e8e16570ed641dc52c96
9324
9390
  def _typecheckingstub__f30ba0bd3a86c9d1d42ae79f1be04599421f92582ffc5edc52b03cd811e71496(
9325
9391
  *,
9326
9392
  bucket: builtins.str,
9393
+ bucket_owner: typing.Optional[builtins.str] = None,
9327
9394
  key: typing.Optional[builtins.str] = None,
9328
9395
  ) -> None:
9329
9396
  """Type checking stubs"""
@@ -9336,6 +9403,7 @@ def _typecheckingstub__5248eecda5b6a9f8805972faa64d42bf349757b044f1290e3a783be20
9336
9403
  format: typing.Optional[builtins.str] = None,
9337
9404
  format_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.FormatOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9338
9405
  path_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.PathOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9406
+ source: typing.Optional[builtins.str] = None,
9339
9407
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
9340
9408
  ) -> None:
9341
9409
  """Type checking stubs"""