aws-cdk-lib 2.174.0__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.

@@ -775,9 +775,22 @@ class CfnCollaboration(
775
775
  member_abilities=["memberAbilities"],
776
776
 
777
777
  # the properties below are optional
778
+ ml_member_abilities=cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
779
+ custom_ml_member_abilities=["customMlMemberAbilities"]
780
+ ),
778
781
  payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
779
782
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
780
783
  is_responsible=False
784
+ ),
785
+
786
+ # the properties below are optional
787
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
788
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
789
+ is_responsible=False
790
+ ),
791
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
792
+ is_responsible=False
793
+ )
781
794
  )
782
795
  )
783
796
  )],
@@ -786,9 +799,22 @@ class CfnCollaboration(
786
799
 
787
800
  # the properties below are optional
788
801
  analytics_engine="analyticsEngine",
802
+ creator_ml_member_abilities=cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
803
+ custom_ml_member_abilities=["customMlMemberAbilities"]
804
+ ),
789
805
  creator_payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
790
806
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
791
807
  is_responsible=False
808
+ ),
809
+
810
+ # the properties below are optional
811
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
812
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
813
+ is_responsible=False
814
+ ),
815
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
816
+ is_responsible=False
817
+ )
792
818
  )
793
819
  ),
794
820
  data_encryption_metadata=cleanrooms.CfnCollaboration.DataEncryptionMetadataProperty(
@@ -816,6 +842,7 @@ class CfnCollaboration(
816
842
  name: builtins.str,
817
843
  query_log_status: builtins.str,
818
844
  analytics_engine: typing.Optional[builtins.str] = None,
845
+ creator_ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.MLMemberAbilitiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
819
846
  creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.PaymentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
820
847
  data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.DataEncryptionMetadataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
821
848
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -830,6 +857,7 @@ class CfnCollaboration(
830
857
  :param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
831
858
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
832
859
  :param analytics_engine: The analytics engine for the collaboration.
860
+ :param creator_ml_member_abilities:
833
861
  :param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
834
862
  :param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
835
863
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
@@ -846,6 +874,7 @@ class CfnCollaboration(
846
874
  name=name,
847
875
  query_log_status=query_log_status,
848
876
  analytics_engine=analytics_engine,
877
+ creator_ml_member_abilities=creator_ml_member_abilities,
849
878
  creator_payment_configuration=creator_payment_configuration,
850
879
  data_encryption_metadata=data_encryption_metadata,
851
880
  tags=tags,
@@ -1012,6 +1041,23 @@ class CfnCollaboration(
1012
1041
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1013
1042
  jsii.set(self, "analyticsEngine", value) # pyright: ignore[reportArgumentType]
1014
1043
 
1044
+ @builtins.property
1045
+ @jsii.member(jsii_name="creatorMlMemberAbilities")
1046
+ def creator_ml_member_abilities(
1047
+ self,
1048
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]]:
1049
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]], jsii.get(self, "creatorMlMemberAbilities"))
1050
+
1051
+ @creator_ml_member_abilities.setter
1052
+ def creator_ml_member_abilities(
1053
+ self,
1054
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]],
1055
+ ) -> None:
1056
+ if __debug__:
1057
+ type_hints = typing.get_type_hints(_typecheckingstub__97c0d0f6cb32a0cbf54c04b4f619c67713dd848075c944908bc62665b42284a9)
1058
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1059
+ jsii.set(self, "creatorMlMemberAbilities", value) # pyright: ignore[reportArgumentType]
1060
+
1015
1061
  @builtins.property
1016
1062
  @jsii.member(jsii_name="creatorPaymentConfiguration")
1017
1063
  def creator_payment_configuration(
@@ -1171,6 +1217,138 @@ class CfnCollaboration(
1171
1217
  k + "=" + repr(v) for k, v in self._values.items()
1172
1218
  )
1173
1219
 
1220
+ @jsii.data_type(
1221
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty",
1222
+ jsii_struct_bases=[],
1223
+ name_mapping={"custom_ml_member_abilities": "customMlMemberAbilities"},
1224
+ )
1225
+ class MLMemberAbilitiesProperty:
1226
+ def __init__(
1227
+ self,
1228
+ *,
1229
+ custom_ml_member_abilities: typing.Sequence[builtins.str],
1230
+ ) -> None:
1231
+ '''
1232
+ :param custom_ml_member_abilities:
1233
+
1234
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlmemberabilities.html
1235
+ :exampleMetadata: fixture=_generated
1236
+
1237
+ Example::
1238
+
1239
+ # The code below shows an example of how to instantiate this type.
1240
+ # The values are placeholders you should change.
1241
+ from aws_cdk import aws_cleanrooms as cleanrooms
1242
+
1243
+ m_lMember_abilities_property = cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
1244
+ custom_ml_member_abilities=["customMlMemberAbilities"]
1245
+ )
1246
+ '''
1247
+ if __debug__:
1248
+ type_hints = typing.get_type_hints(_typecheckingstub__1d12c181790032dcf002dcacb31cb4e50bd00d2ab068f38065b4ad7d1319d80c)
1249
+ check_type(argname="argument custom_ml_member_abilities", value=custom_ml_member_abilities, expected_type=type_hints["custom_ml_member_abilities"])
1250
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1251
+ "custom_ml_member_abilities": custom_ml_member_abilities,
1252
+ }
1253
+
1254
+ @builtins.property
1255
+ def custom_ml_member_abilities(self) -> typing.List[builtins.str]:
1256
+ '''
1257
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlmemberabilities.html#cfn-cleanrooms-collaboration-mlmemberabilities-custommlmemberabilities
1258
+ '''
1259
+ result = self._values.get("custom_ml_member_abilities")
1260
+ assert result is not None, "Required property 'custom_ml_member_abilities' is missing"
1261
+ return typing.cast(typing.List[builtins.str], result)
1262
+
1263
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1264
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1265
+
1266
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1267
+ return not (rhs == self)
1268
+
1269
+ def __repr__(self) -> str:
1270
+ return "MLMemberAbilitiesProperty(%s)" % ", ".join(
1271
+ k + "=" + repr(v) for k, v in self._values.items()
1272
+ )
1273
+
1274
+ @jsii.data_type(
1275
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.MLPaymentConfigProperty",
1276
+ jsii_struct_bases=[],
1277
+ name_mapping={
1278
+ "model_inference": "modelInference",
1279
+ "model_training": "modelTraining",
1280
+ },
1281
+ )
1282
+ class MLPaymentConfigProperty:
1283
+ def __init__(
1284
+ self,
1285
+ *,
1286
+ model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.ModelInferencePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1287
+ model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.ModelTrainingPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1288
+ ) -> None:
1289
+ '''
1290
+ :param model_inference:
1291
+ :param model_training:
1292
+
1293
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html
1294
+ :exampleMetadata: fixture=_generated
1295
+
1296
+ Example::
1297
+
1298
+ # The code below shows an example of how to instantiate this type.
1299
+ # The values are placeholders you should change.
1300
+ from aws_cdk import aws_cleanrooms as cleanrooms
1301
+
1302
+ m_lPayment_config_property = cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
1303
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1304
+ is_responsible=False
1305
+ ),
1306
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1307
+ is_responsible=False
1308
+ )
1309
+ )
1310
+ '''
1311
+ if __debug__:
1312
+ type_hints = typing.get_type_hints(_typecheckingstub__271514c890ff476984844077519496f6cd7107081ee5259613350b060c9bb355)
1313
+ check_type(argname="argument model_inference", value=model_inference, expected_type=type_hints["model_inference"])
1314
+ check_type(argname="argument model_training", value=model_training, expected_type=type_hints["model_training"])
1315
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1316
+ if model_inference is not None:
1317
+ self._values["model_inference"] = model_inference
1318
+ if model_training is not None:
1319
+ self._values["model_training"] = model_training
1320
+
1321
+ @builtins.property
1322
+ def model_inference(
1323
+ self,
1324
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelInferencePaymentConfigProperty"]]:
1325
+ '''
1326
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modelinference
1327
+ '''
1328
+ result = self._values.get("model_inference")
1329
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelInferencePaymentConfigProperty"]], result)
1330
+
1331
+ @builtins.property
1332
+ def model_training(
1333
+ self,
1334
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelTrainingPaymentConfigProperty"]]:
1335
+ '''
1336
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modeltraining
1337
+ '''
1338
+ result = self._values.get("model_training")
1339
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelTrainingPaymentConfigProperty"]], result)
1340
+
1341
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1342
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1343
+
1344
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1345
+ return not (rhs == self)
1346
+
1347
+ def __repr__(self) -> str:
1348
+ return "MLPaymentConfigProperty(%s)" % ", ".join(
1349
+ k + "=" + repr(v) for k, v in self._values.items()
1350
+ )
1351
+
1174
1352
  @jsii.data_type(
1175
1353
  jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.MemberSpecificationProperty",
1176
1354
  jsii_struct_bases=[],
@@ -1178,6 +1356,7 @@ class CfnCollaboration(
1178
1356
  "account_id": "accountId",
1179
1357
  "display_name": "displayName",
1180
1358
  "member_abilities": "memberAbilities",
1359
+ "ml_member_abilities": "mlMemberAbilities",
1181
1360
  "payment_configuration": "paymentConfiguration",
1182
1361
  },
1183
1362
  )
@@ -1188,6 +1367,7 @@ class CfnCollaboration(
1188
1367
  account_id: builtins.str,
1189
1368
  display_name: builtins.str,
1190
1369
  member_abilities: typing.Sequence[builtins.str],
1370
+ ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.MLMemberAbilitiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1191
1371
  payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.PaymentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1192
1372
  ) -> None:
1193
1373
  '''Basic metadata used to construct a new member.
@@ -1195,6 +1375,7 @@ class CfnCollaboration(
1195
1375
  :param account_id: The identifier used to reference members of the collaboration. Currently only supports AWS account ID.
1196
1376
  :param display_name: The member's display name.
1197
1377
  :param member_abilities: The abilities granted to the collaboration member. *Allowed Values* : ``CAN_QUERY`` | ``CAN_RECEIVE_RESULTS``
1378
+ :param ml_member_abilities:
1198
1379
  :param payment_configuration: The collaboration member's payment responsibilities set by the collaboration creator. If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.
1199
1380
 
1200
1381
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html
@@ -1212,9 +1393,22 @@ class CfnCollaboration(
1212
1393
  member_abilities=["memberAbilities"],
1213
1394
 
1214
1395
  # the properties below are optional
1396
+ ml_member_abilities=cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
1397
+ custom_ml_member_abilities=["customMlMemberAbilities"]
1398
+ ),
1215
1399
  payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
1216
1400
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
1217
1401
  is_responsible=False
1402
+ ),
1403
+
1404
+ # the properties below are optional
1405
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
1406
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1407
+ is_responsible=False
1408
+ ),
1409
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1410
+ is_responsible=False
1411
+ )
1218
1412
  )
1219
1413
  )
1220
1414
  )
@@ -1224,12 +1418,15 @@ class CfnCollaboration(
1224
1418
  check_type(argname="argument account_id", value=account_id, expected_type=type_hints["account_id"])
1225
1419
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1226
1420
  check_type(argname="argument member_abilities", value=member_abilities, expected_type=type_hints["member_abilities"])
1421
+ check_type(argname="argument ml_member_abilities", value=ml_member_abilities, expected_type=type_hints["ml_member_abilities"])
1227
1422
  check_type(argname="argument payment_configuration", value=payment_configuration, expected_type=type_hints["payment_configuration"])
1228
1423
  self._values: typing.Dict[builtins.str, typing.Any] = {
1229
1424
  "account_id": account_id,
1230
1425
  "display_name": display_name,
1231
1426
  "member_abilities": member_abilities,
1232
1427
  }
1428
+ if ml_member_abilities is not None:
1429
+ self._values["ml_member_abilities"] = ml_member_abilities
1233
1430
  if payment_configuration is not None:
1234
1431
  self._values["payment_configuration"] = payment_configuration
1235
1432
 
@@ -1267,6 +1464,16 @@ class CfnCollaboration(
1267
1464
  assert result is not None, "Required property 'member_abilities' is missing"
1268
1465
  return typing.cast(typing.List[builtins.str], result)
1269
1466
 
1467
+ @builtins.property
1468
+ def ml_member_abilities(
1469
+ self,
1470
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]]:
1471
+ '''
1472
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-mlmemberabilities
1473
+ '''
1474
+ result = self._values.get("ml_member_abilities")
1475
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]], result)
1476
+
1270
1477
  @builtins.property
1271
1478
  def payment_configuration(
1272
1479
  self,
@@ -1291,20 +1498,133 @@ class CfnCollaboration(
1291
1498
  k + "=" + repr(v) for k, v in self._values.items()
1292
1499
  )
1293
1500
 
1501
+ @jsii.data_type(
1502
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty",
1503
+ jsii_struct_bases=[],
1504
+ name_mapping={"is_responsible": "isResponsible"},
1505
+ )
1506
+ class ModelInferencePaymentConfigProperty:
1507
+ def __init__(
1508
+ self,
1509
+ *,
1510
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
1511
+ ) -> None:
1512
+ '''
1513
+ :param is_responsible:
1514
+
1515
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html
1516
+ :exampleMetadata: fixture=_generated
1517
+
1518
+ Example::
1519
+
1520
+ # The code below shows an example of how to instantiate this type.
1521
+ # The values are placeholders you should change.
1522
+ from aws_cdk import aws_cleanrooms as cleanrooms
1523
+
1524
+ model_inference_payment_config_property = cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1525
+ is_responsible=False
1526
+ )
1527
+ '''
1528
+ if __debug__:
1529
+ type_hints = typing.get_type_hints(_typecheckingstub__91778bff8fa4786b2dc1aace0c2b468463ac1eb3971264546bddcbfe95dc8a99)
1530
+ check_type(argname="argument is_responsible", value=is_responsible, expected_type=type_hints["is_responsible"])
1531
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1532
+ "is_responsible": is_responsible,
1533
+ }
1534
+
1535
+ @builtins.property
1536
+ def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
1537
+ '''
1538
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html#cfn-cleanrooms-collaboration-modelinferencepaymentconfig-isresponsible
1539
+ '''
1540
+ result = self._values.get("is_responsible")
1541
+ assert result is not None, "Required property 'is_responsible' is missing"
1542
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
1543
+
1544
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1545
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1546
+
1547
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1548
+ return not (rhs == self)
1549
+
1550
+ def __repr__(self) -> str:
1551
+ return "ModelInferencePaymentConfigProperty(%s)" % ", ".join(
1552
+ k + "=" + repr(v) for k, v in self._values.items()
1553
+ )
1554
+
1555
+ @jsii.data_type(
1556
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty",
1557
+ jsii_struct_bases=[],
1558
+ name_mapping={"is_responsible": "isResponsible"},
1559
+ )
1560
+ class ModelTrainingPaymentConfigProperty:
1561
+ def __init__(
1562
+ self,
1563
+ *,
1564
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
1565
+ ) -> None:
1566
+ '''
1567
+ :param is_responsible:
1568
+
1569
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modeltrainingpaymentconfig.html
1570
+ :exampleMetadata: fixture=_generated
1571
+
1572
+ Example::
1573
+
1574
+ # The code below shows an example of how to instantiate this type.
1575
+ # The values are placeholders you should change.
1576
+ from aws_cdk import aws_cleanrooms as cleanrooms
1577
+
1578
+ model_training_payment_config_property = cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1579
+ is_responsible=False
1580
+ )
1581
+ '''
1582
+ if __debug__:
1583
+ type_hints = typing.get_type_hints(_typecheckingstub__35cebaf540e2e0f273400ebe690d288c30c23dab0b643fcadc0b6fa47a38e5c1)
1584
+ check_type(argname="argument is_responsible", value=is_responsible, expected_type=type_hints["is_responsible"])
1585
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1586
+ "is_responsible": is_responsible,
1587
+ }
1588
+
1589
+ @builtins.property
1590
+ def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
1591
+ '''
1592
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modeltrainingpaymentconfig.html#cfn-cleanrooms-collaboration-modeltrainingpaymentconfig-isresponsible
1593
+ '''
1594
+ result = self._values.get("is_responsible")
1595
+ assert result is not None, "Required property 'is_responsible' is missing"
1596
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
1597
+
1598
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1599
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1600
+
1601
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1602
+ return not (rhs == self)
1603
+
1604
+ def __repr__(self) -> str:
1605
+ return "ModelTrainingPaymentConfigProperty(%s)" % ", ".join(
1606
+ k + "=" + repr(v) for k, v in self._values.items()
1607
+ )
1608
+
1294
1609
  @jsii.data_type(
1295
1610
  jsii_type="aws-cdk-lib.aws_cleanrooms.CfnCollaboration.PaymentConfigurationProperty",
1296
1611
  jsii_struct_bases=[],
1297
- name_mapping={"query_compute": "queryCompute"},
1612
+ name_mapping={
1613
+ "query_compute": "queryCompute",
1614
+ "machine_learning": "machineLearning",
1615
+ },
1298
1616
  )
1299
1617
  class PaymentConfigurationProperty:
1300
1618
  def __init__(
1301
1619
  self,
1302
1620
  *,
1303
1621
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.QueryComputePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]],
1622
+ machine_learning: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.MLPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1304
1623
  ) -> None:
1305
1624
  '''An object representing the collaboration member's payment responsibilities set by the collaboration creator.
1306
1625
 
1307
1626
  :param query_compute: The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
1627
+ :param machine_learning:
1308
1628
 
1309
1629
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html
1310
1630
  :exampleMetadata: fixture=_generated
@@ -1318,15 +1638,28 @@ class CfnCollaboration(
1318
1638
  payment_configuration_property = cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
1319
1639
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
1320
1640
  is_responsible=False
1641
+ ),
1642
+
1643
+ # the properties below are optional
1644
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
1645
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1646
+ is_responsible=False
1647
+ ),
1648
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1649
+ is_responsible=False
1650
+ )
1321
1651
  )
1322
1652
  )
1323
1653
  '''
1324
1654
  if __debug__:
1325
1655
  type_hints = typing.get_type_hints(_typecheckingstub__4bb111eda28dfc76cbd93dac49286726320cc654bfb530550f97b9ec4cf32cbf)
1326
1656
  check_type(argname="argument query_compute", value=query_compute, expected_type=type_hints["query_compute"])
1657
+ check_type(argname="argument machine_learning", value=machine_learning, expected_type=type_hints["machine_learning"])
1327
1658
  self._values: typing.Dict[builtins.str, typing.Any] = {
1328
1659
  "query_compute": query_compute,
1329
1660
  }
1661
+ if machine_learning is not None:
1662
+ self._values["machine_learning"] = machine_learning
1330
1663
 
1331
1664
  @builtins.property
1332
1665
  def query_compute(
@@ -1340,6 +1673,16 @@ class CfnCollaboration(
1340
1673
  assert result is not None, "Required property 'query_compute' is missing"
1341
1674
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCollaboration.QueryComputePaymentConfigProperty"], result)
1342
1675
 
1676
+ @builtins.property
1677
+ def machine_learning(
1678
+ self,
1679
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLPaymentConfigProperty"]]:
1680
+ '''
1681
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-machinelearning
1682
+ '''
1683
+ result = self._values.get("machine_learning")
1684
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLPaymentConfigProperty"]], result)
1685
+
1343
1686
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1344
1687
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1345
1688
 
@@ -1423,6 +1766,7 @@ class CfnCollaboration(
1423
1766
  "name": "name",
1424
1767
  "query_log_status": "queryLogStatus",
1425
1768
  "analytics_engine": "analyticsEngine",
1769
+ "creator_ml_member_abilities": "creatorMlMemberAbilities",
1426
1770
  "creator_payment_configuration": "creatorPaymentConfiguration",
1427
1771
  "data_encryption_metadata": "dataEncryptionMetadata",
1428
1772
  "tags": "tags",
@@ -1439,6 +1783,7 @@ class CfnCollaborationProps:
1439
1783
  name: builtins.str,
1440
1784
  query_log_status: builtins.str,
1441
1785
  analytics_engine: typing.Optional[builtins.str] = None,
1786
+ creator_ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MLMemberAbilitiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1442
1787
  creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1443
1788
  data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1444
1789
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -1452,6 +1797,7 @@ class CfnCollaborationProps:
1452
1797
  :param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
1453
1798
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
1454
1799
  :param analytics_engine: The analytics engine for the collaboration.
1800
+ :param creator_ml_member_abilities:
1455
1801
  :param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
1456
1802
  :param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
1457
1803
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
@@ -1475,9 +1821,22 @@ class CfnCollaborationProps:
1475
1821
  member_abilities=["memberAbilities"],
1476
1822
 
1477
1823
  # the properties below are optional
1824
+ ml_member_abilities=cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
1825
+ custom_ml_member_abilities=["customMlMemberAbilities"]
1826
+ ),
1478
1827
  payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
1479
1828
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
1480
1829
  is_responsible=False
1830
+ ),
1831
+
1832
+ # the properties below are optional
1833
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
1834
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1835
+ is_responsible=False
1836
+ ),
1837
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1838
+ is_responsible=False
1839
+ )
1481
1840
  )
1482
1841
  )
1483
1842
  )],
@@ -1486,9 +1845,22 @@ class CfnCollaborationProps:
1486
1845
 
1487
1846
  # the properties below are optional
1488
1847
  analytics_engine="analyticsEngine",
1848
+ creator_ml_member_abilities=cleanrooms.CfnCollaboration.MLMemberAbilitiesProperty(
1849
+ custom_ml_member_abilities=["customMlMemberAbilities"]
1850
+ ),
1489
1851
  creator_payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
1490
1852
  query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
1491
1853
  is_responsible=False
1854
+ ),
1855
+
1856
+ # the properties below are optional
1857
+ machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
1858
+ model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
1859
+ is_responsible=False
1860
+ ),
1861
+ model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
1862
+ is_responsible=False
1863
+ )
1492
1864
  )
1493
1865
  ),
1494
1866
  data_encryption_metadata=cleanrooms.CfnCollaboration.DataEncryptionMetadataProperty(
@@ -1512,6 +1884,7 @@ class CfnCollaborationProps:
1512
1884
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1513
1885
  check_type(argname="argument query_log_status", value=query_log_status, expected_type=type_hints["query_log_status"])
1514
1886
  check_type(argname="argument analytics_engine", value=analytics_engine, expected_type=type_hints["analytics_engine"])
1887
+ check_type(argname="argument creator_ml_member_abilities", value=creator_ml_member_abilities, expected_type=type_hints["creator_ml_member_abilities"])
1515
1888
  check_type(argname="argument creator_payment_configuration", value=creator_payment_configuration, expected_type=type_hints["creator_payment_configuration"])
1516
1889
  check_type(argname="argument data_encryption_metadata", value=data_encryption_metadata, expected_type=type_hints["data_encryption_metadata"])
1517
1890
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
@@ -1525,6 +1898,8 @@ class CfnCollaborationProps:
1525
1898
  }
1526
1899
  if analytics_engine is not None:
1527
1900
  self._values["analytics_engine"] = analytics_engine
1901
+ if creator_ml_member_abilities is not None:
1902
+ self._values["creator_ml_member_abilities"] = creator_ml_member_abilities
1528
1903
  if creator_payment_configuration is not None:
1529
1904
  self._values["creator_payment_configuration"] = creator_payment_configuration
1530
1905
  if data_encryption_metadata is not None:
@@ -1609,6 +1984,16 @@ class CfnCollaborationProps:
1609
1984
  result = self._values.get("analytics_engine")
1610
1985
  return typing.cast(typing.Optional[builtins.str], result)
1611
1986
 
1987
+ @builtins.property
1988
+ def creator_ml_member_abilities(
1989
+ self,
1990
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.MLMemberAbilitiesProperty]]:
1991
+ '''
1992
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatormlmemberabilities
1993
+ '''
1994
+ result = self._values.get("creator_ml_member_abilities")
1995
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.MLMemberAbilitiesProperty]], result)
1996
+
1612
1997
  @builtins.property
1613
1998
  def creator_payment_configuration(
1614
1999
  self,
@@ -6073,6 +6458,16 @@ class CfnMembership(
6073
6458
  payment_configuration=cleanrooms.CfnMembership.MembershipPaymentConfigurationProperty(
6074
6459
  query_compute=cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty(
6075
6460
  is_responsible=False
6461
+ ),
6462
+
6463
+ # the properties below are optional
6464
+ machine_learning=cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty(
6465
+ model_inference=cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
6466
+ is_responsible=False
6467
+ ),
6468
+ model_training=cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
6469
+ is_responsible=False
6470
+ )
6076
6471
  )
6077
6472
  ),
6078
6473
  tags=[CfnTag(
@@ -6276,20 +6671,211 @@ class CfnMembership(
6276
6671
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6277
6672
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
6278
6673
 
6674
+ @jsii.data_type(
6675
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty",
6676
+ jsii_struct_bases=[],
6677
+ name_mapping={
6678
+ "model_inference": "modelInference",
6679
+ "model_training": "modelTraining",
6680
+ },
6681
+ )
6682
+ class MembershipMLPaymentConfigProperty:
6683
+ def __init__(
6684
+ self,
6685
+ *,
6686
+ model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipModelInferencePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6687
+ model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipModelTrainingPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6688
+ ) -> None:
6689
+ '''
6690
+ :param model_inference:
6691
+ :param model_training:
6692
+
6693
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html
6694
+ :exampleMetadata: fixture=_generated
6695
+
6696
+ Example::
6697
+
6698
+ # The code below shows an example of how to instantiate this type.
6699
+ # The values are placeholders you should change.
6700
+ from aws_cdk import aws_cleanrooms as cleanrooms
6701
+
6702
+ membership_mLPayment_config_property = cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty(
6703
+ model_inference=cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
6704
+ is_responsible=False
6705
+ ),
6706
+ model_training=cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
6707
+ is_responsible=False
6708
+ )
6709
+ )
6710
+ '''
6711
+ if __debug__:
6712
+ type_hints = typing.get_type_hints(_typecheckingstub__13dd2d08b2612b2890adb3362ea4e5bebe48abd3cfb27c026a48fcd95bd347dd)
6713
+ check_type(argname="argument model_inference", value=model_inference, expected_type=type_hints["model_inference"])
6714
+ check_type(argname="argument model_training", value=model_training, expected_type=type_hints["model_training"])
6715
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6716
+ if model_inference is not None:
6717
+ self._values["model_inference"] = model_inference
6718
+ if model_training is not None:
6719
+ self._values["model_training"] = model_training
6720
+
6721
+ @builtins.property
6722
+ def model_inference(
6723
+ self,
6724
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelInferencePaymentConfigProperty"]]:
6725
+ '''
6726
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modelinference
6727
+ '''
6728
+ result = self._values.get("model_inference")
6729
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelInferencePaymentConfigProperty"]], result)
6730
+
6731
+ @builtins.property
6732
+ def model_training(
6733
+ self,
6734
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelTrainingPaymentConfigProperty"]]:
6735
+ '''
6736
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modeltraining
6737
+ '''
6738
+ result = self._values.get("model_training")
6739
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelTrainingPaymentConfigProperty"]], result)
6740
+
6741
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6742
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6743
+
6744
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6745
+ return not (rhs == self)
6746
+
6747
+ def __repr__(self) -> str:
6748
+ return "MembershipMLPaymentConfigProperty(%s)" % ", ".join(
6749
+ k + "=" + repr(v) for k, v in self._values.items()
6750
+ )
6751
+
6752
+ @jsii.data_type(
6753
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty",
6754
+ jsii_struct_bases=[],
6755
+ name_mapping={"is_responsible": "isResponsible"},
6756
+ )
6757
+ class MembershipModelInferencePaymentConfigProperty:
6758
+ def __init__(
6759
+ self,
6760
+ *,
6761
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
6762
+ ) -> None:
6763
+ '''
6764
+ :param is_responsible:
6765
+
6766
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html
6767
+ :exampleMetadata: fixture=_generated
6768
+
6769
+ Example::
6770
+
6771
+ # The code below shows an example of how to instantiate this type.
6772
+ # The values are placeholders you should change.
6773
+ from aws_cdk import aws_cleanrooms as cleanrooms
6774
+
6775
+ membership_model_inference_payment_config_property = cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
6776
+ is_responsible=False
6777
+ )
6778
+ '''
6779
+ if __debug__:
6780
+ type_hints = typing.get_type_hints(_typecheckingstub__2b782e5294b8bba99405cc5a7ca5c775fb2010013a32d43d0fdf4a2878964aca)
6781
+ check_type(argname="argument is_responsible", value=is_responsible, expected_type=type_hints["is_responsible"])
6782
+ self._values: typing.Dict[builtins.str, typing.Any] = {
6783
+ "is_responsible": is_responsible,
6784
+ }
6785
+
6786
+ @builtins.property
6787
+ def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
6788
+ '''
6789
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html#cfn-cleanrooms-membership-membershipmodelinferencepaymentconfig-isresponsible
6790
+ '''
6791
+ result = self._values.get("is_responsible")
6792
+ assert result is not None, "Required property 'is_responsible' is missing"
6793
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
6794
+
6795
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6796
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6797
+
6798
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6799
+ return not (rhs == self)
6800
+
6801
+ def __repr__(self) -> str:
6802
+ return "MembershipModelInferencePaymentConfigProperty(%s)" % ", ".join(
6803
+ k + "=" + repr(v) for k, v in self._values.items()
6804
+ )
6805
+
6806
+ @jsii.data_type(
6807
+ jsii_type="aws-cdk-lib.aws_cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty",
6808
+ jsii_struct_bases=[],
6809
+ name_mapping={"is_responsible": "isResponsible"},
6810
+ )
6811
+ class MembershipModelTrainingPaymentConfigProperty:
6812
+ def __init__(
6813
+ self,
6814
+ *,
6815
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
6816
+ ) -> None:
6817
+ '''
6818
+ :param is_responsible:
6819
+
6820
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodeltrainingpaymentconfig.html
6821
+ :exampleMetadata: fixture=_generated
6822
+
6823
+ Example::
6824
+
6825
+ # The code below shows an example of how to instantiate this type.
6826
+ # The values are placeholders you should change.
6827
+ from aws_cdk import aws_cleanrooms as cleanrooms
6828
+
6829
+ membership_model_training_payment_config_property = cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
6830
+ is_responsible=False
6831
+ )
6832
+ '''
6833
+ if __debug__:
6834
+ type_hints = typing.get_type_hints(_typecheckingstub__8e5c7b5216c60ffcb694e1961e057ff77a03ba6ae0c1cd13b03497dc0f0df235)
6835
+ check_type(argname="argument is_responsible", value=is_responsible, expected_type=type_hints["is_responsible"])
6836
+ self._values: typing.Dict[builtins.str, typing.Any] = {
6837
+ "is_responsible": is_responsible,
6838
+ }
6839
+
6840
+ @builtins.property
6841
+ def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
6842
+ '''
6843
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodeltrainingpaymentconfig.html#cfn-cleanrooms-membership-membershipmodeltrainingpaymentconfig-isresponsible
6844
+ '''
6845
+ result = self._values.get("is_responsible")
6846
+ assert result is not None, "Required property 'is_responsible' is missing"
6847
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
6848
+
6849
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6850
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6851
+
6852
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6853
+ return not (rhs == self)
6854
+
6855
+ def __repr__(self) -> str:
6856
+ return "MembershipModelTrainingPaymentConfigProperty(%s)" % ", ".join(
6857
+ k + "=" + repr(v) for k, v in self._values.items()
6858
+ )
6859
+
6279
6860
  @jsii.data_type(
6280
6861
  jsii_type="aws-cdk-lib.aws_cleanrooms.CfnMembership.MembershipPaymentConfigurationProperty",
6281
6862
  jsii_struct_bases=[],
6282
- name_mapping={"query_compute": "queryCompute"},
6863
+ name_mapping={
6864
+ "query_compute": "queryCompute",
6865
+ "machine_learning": "machineLearning",
6866
+ },
6283
6867
  )
6284
6868
  class MembershipPaymentConfigurationProperty:
6285
6869
  def __init__(
6286
6870
  self,
6287
6871
  *,
6288
6872
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipQueryComputePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]],
6873
+ machine_learning: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipMLPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6289
6874
  ) -> None:
6290
6875
  '''An object representing the payment responsibilities accepted by the collaboration member.
6291
6876
 
6292
6877
  :param query_compute: The payment responsibilities accepted by the collaboration member for query compute costs.
6878
+ :param machine_learning:
6293
6879
 
6294
6880
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html
6295
6881
  :exampleMetadata: fixture=_generated
@@ -6303,15 +6889,28 @@ class CfnMembership(
6303
6889
  membership_payment_configuration_property = cleanrooms.CfnMembership.MembershipPaymentConfigurationProperty(
6304
6890
  query_compute=cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty(
6305
6891
  is_responsible=False
6892
+ ),
6893
+
6894
+ # the properties below are optional
6895
+ machine_learning=cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty(
6896
+ model_inference=cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
6897
+ is_responsible=False
6898
+ ),
6899
+ model_training=cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
6900
+ is_responsible=False
6901
+ )
6306
6902
  )
6307
6903
  )
6308
6904
  '''
6309
6905
  if __debug__:
6310
6906
  type_hints = typing.get_type_hints(_typecheckingstub__ff9b623af3a2e12d6db7063d2191f9dad178b00c5e761d332496d6065f45dfe6)
6311
6907
  check_type(argname="argument query_compute", value=query_compute, expected_type=type_hints["query_compute"])
6908
+ check_type(argname="argument machine_learning", value=machine_learning, expected_type=type_hints["machine_learning"])
6312
6909
  self._values: typing.Dict[builtins.str, typing.Any] = {
6313
6910
  "query_compute": query_compute,
6314
6911
  }
6912
+ if machine_learning is not None:
6913
+ self._values["machine_learning"] = machine_learning
6315
6914
 
6316
6915
  @builtins.property
6317
6916
  def query_compute(
@@ -6325,6 +6924,16 @@ class CfnMembership(
6325
6924
  assert result is not None, "Required property 'query_compute' is missing"
6326
6925
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipQueryComputePaymentConfigProperty"], result)
6327
6926
 
6927
+ @builtins.property
6928
+ def machine_learning(
6929
+ self,
6930
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipMLPaymentConfigProperty"]]:
6931
+ '''
6932
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-machinelearning
6933
+ '''
6934
+ result = self._values.get("machine_learning")
6935
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipMLPaymentConfigProperty"]], result)
6936
+
6328
6937
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
6329
6938
  return isinstance(rhs, self.__class__) and rhs._values == self._values
6330
6939
 
@@ -6725,6 +7334,16 @@ class CfnMembershipProps:
6725
7334
  payment_configuration=cleanrooms.CfnMembership.MembershipPaymentConfigurationProperty(
6726
7335
  query_compute=cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty(
6727
7336
  is_responsible=False
7337
+ ),
7338
+
7339
+ # the properties below are optional
7340
+ machine_learning=cleanrooms.CfnMembership.MembershipMLPaymentConfigProperty(
7341
+ model_inference=cleanrooms.CfnMembership.MembershipModelInferencePaymentConfigProperty(
7342
+ is_responsible=False
7343
+ ),
7344
+ model_training=cleanrooms.CfnMembership.MembershipModelTrainingPaymentConfigProperty(
7345
+ is_responsible=False
7346
+ )
6728
7347
  )
6729
7348
  ),
6730
7349
  tags=[CfnTag(
@@ -7396,6 +8015,7 @@ def _typecheckingstub__a8995527da9ce4212caf3c1fdf601e4947c02ff1e364e92811ac8635b
7396
8015
  name: builtins.str,
7397
8016
  query_log_status: builtins.str,
7398
8017
  analytics_engine: typing.Optional[builtins.str] = None,
8018
+ creator_ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MLMemberAbilitiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7399
8019
  creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7400
8020
  data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7401
8021
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -7457,6 +8077,12 @@ def _typecheckingstub__1052deb6a86709adcf30bca5621af3b50e52d20c54f6e014b8baeaa99
7457
8077
  """Type checking stubs"""
7458
8078
  pass
7459
8079
 
8080
+ def _typecheckingstub__97c0d0f6cb32a0cbf54c04b4f619c67713dd848075c944908bc62665b42284a9(
8081
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.MLMemberAbilitiesProperty]],
8082
+ ) -> None:
8083
+ """Type checking stubs"""
8084
+ pass
8085
+
7460
8086
  def _typecheckingstub__991360bdd6af4d5b428da7f242ab1cc46f2a619a380ffdff6e2434a3e7541e84(
7461
8087
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.PaymentConfigurationProperty]],
7462
8088
  ) -> None:
@@ -7485,19 +8111,50 @@ def _typecheckingstub__b1d5c25162d0eabd19a06fd0a1ec26adcd8d8a0d12434d6ee8fbec8e2
7485
8111
  """Type checking stubs"""
7486
8112
  pass
7487
8113
 
8114
+ def _typecheckingstub__1d12c181790032dcf002dcacb31cb4e50bd00d2ab068f38065b4ad7d1319d80c(
8115
+ *,
8116
+ custom_ml_member_abilities: typing.Sequence[builtins.str],
8117
+ ) -> None:
8118
+ """Type checking stubs"""
8119
+ pass
8120
+
8121
+ def _typecheckingstub__271514c890ff476984844077519496f6cd7107081ee5259613350b060c9bb355(
8122
+ *,
8123
+ model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.ModelInferencePaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8124
+ model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.ModelTrainingPaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8125
+ ) -> None:
8126
+ """Type checking stubs"""
8127
+ pass
8128
+
7488
8129
  def _typecheckingstub__2c9d415168b79c297b7313d0c42362a70fed420b1dda08e496b99813fbbd3248(
7489
8130
  *,
7490
8131
  account_id: builtins.str,
7491
8132
  display_name: builtins.str,
7492
8133
  member_abilities: typing.Sequence[builtins.str],
8134
+ ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MLMemberAbilitiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7493
8135
  payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7494
8136
  ) -> None:
7495
8137
  """Type checking stubs"""
7496
8138
  pass
7497
8139
 
8140
+ def _typecheckingstub__91778bff8fa4786b2dc1aace0c2b468463ac1eb3971264546bddcbfe95dc8a99(
8141
+ *,
8142
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
8143
+ ) -> None:
8144
+ """Type checking stubs"""
8145
+ pass
8146
+
8147
+ def _typecheckingstub__35cebaf540e2e0f273400ebe690d288c30c23dab0b643fcadc0b6fa47a38e5c1(
8148
+ *,
8149
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
8150
+ ) -> None:
8151
+ """Type checking stubs"""
8152
+ pass
8153
+
7498
8154
  def _typecheckingstub__4bb111eda28dfc76cbd93dac49286726320cc654bfb530550f97b9ec4cf32cbf(
7499
8155
  *,
7500
8156
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.QueryComputePaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]],
8157
+ machine_learning: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MLPaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7501
8158
  ) -> None:
7502
8159
  """Type checking stubs"""
7503
8160
  pass
@@ -7518,6 +8175,7 @@ def _typecheckingstub__2049291a9933df94c4258b33838a3aa8100d0214a4519c3d84e6d70ed
7518
8175
  name: builtins.str,
7519
8176
  query_log_status: builtins.str,
7520
8177
  analytics_engine: typing.Optional[builtins.str] = None,
8178
+ creator_ml_member_abilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MLMemberAbilitiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7521
8179
  creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7522
8180
  data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7523
8181
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -8130,9 +8788,32 @@ def _typecheckingstub__efad84033de32d67e94b9ac23a8d3176e7fc904203e000dac066b2879
8130
8788
  """Type checking stubs"""
8131
8789
  pass
8132
8790
 
8791
+ def _typecheckingstub__13dd2d08b2612b2890adb3362ea4e5bebe48abd3cfb27c026a48fcd95bd347dd(
8792
+ *,
8793
+ model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMembership.MembershipModelInferencePaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8794
+ model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMembership.MembershipModelTrainingPaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8795
+ ) -> None:
8796
+ """Type checking stubs"""
8797
+ pass
8798
+
8799
+ def _typecheckingstub__2b782e5294b8bba99405cc5a7ca5c775fb2010013a32d43d0fdf4a2878964aca(
8800
+ *,
8801
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
8802
+ ) -> None:
8803
+ """Type checking stubs"""
8804
+ pass
8805
+
8806
+ def _typecheckingstub__8e5c7b5216c60ffcb694e1961e057ff77a03ba6ae0c1cd13b03497dc0f0df235(
8807
+ *,
8808
+ is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
8809
+ ) -> None:
8810
+ """Type checking stubs"""
8811
+ pass
8812
+
8133
8813
  def _typecheckingstub__ff9b623af3a2e12d6db7063d2191f9dad178b00c5e761d332496d6065f45dfe6(
8134
8814
  *,
8135
8815
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union[CfnMembership.MembershipQueryComputePaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]],
8816
+ machine_learning: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMembership.MembershipMLPaymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8136
8817
  ) -> None:
8137
8818
  """Type checking stubs"""
8138
8819
  pass