aws-cdk-lib 2.175.1__py3-none-any.whl → 2.177.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 +26 -7
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.175.1.jsii.tgz → aws-cdk-lib@2.177.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +161 -9
- aws_cdk/aws_appconfig/__init__.py +106 -24
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_backup/__init__.py +18 -84
- aws_cdk/aws_batch/__init__.py +4 -2
- aws_cdk/aws_bedrock/__init__.py +5395 -2508
- aws_cdk/aws_cleanrooms/__init__.py +77 -34
- aws_cdk/aws_cloudformation/__init__.py +4 -2
- aws_cdk/aws_cloudfront/__init__.py +12 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +1 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +33 -2
- aws_cdk/aws_cloudwatch/__init__.py +53 -49
- aws_cdk/aws_codebuild/__init__.py +36 -0
- aws_cdk/aws_codepipeline/__init__.py +35 -0
- aws_cdk/aws_cognito/__init__.py +285 -253
- aws_cdk/aws_customerprofiles/__init__.py +1060 -0
- aws_cdk/aws_datazone/__init__.py +195 -125
- aws_cdk/aws_docdb/__init__.py +29 -9
- aws_cdk/aws_dynamodb/__init__.py +77 -58
- aws_cdk/aws_ec2/__init__.py +16 -11
- aws_cdk/aws_ecs/__init__.py +127 -43
- aws_cdk/aws_efs/__init__.py +5 -5
- aws_cdk/aws_eks/__init__.py +24 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +41 -5
- aws_cdk/aws_emrserverless/__init__.py +86 -0
- aws_cdk/aws_fms/__init__.py +42 -0
- aws_cdk/aws_gamelift/__init__.py +8 -10
- aws_cdk/aws_healthlake/__init__.py +36 -40
- aws_cdk/aws_iam/__init__.py +8 -0
- aws_cdk/aws_imagebuilder/__init__.py +62 -48
- aws_cdk/aws_lambda/__init__.py +21 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +9 -9
- aws_cdk/aws_lex/__init__.py +105 -0
- aws_cdk/aws_logs/__init__.py +59 -59
- aws_cdk/aws_mediaconvert/__init__.py +7 -3
- aws_cdk/aws_notifications/__init__.py +1390 -0
- aws_cdk/aws_notificationscontacts/__init__.py +593 -0
- aws_cdk/aws_organizations/__init__.py +5 -9
- aws_cdk/aws_rds/__init__.py +99 -30
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_resiliencehub/__init__.py +41 -0
- aws_cdk/aws_route53/__init__.py +4 -4
- aws_cdk/aws_route53_targets/__init__.py +15 -15
- aws_cdk/aws_s3/__init__.py +794 -5
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +25 -4
- aws_cdk/aws_sns/__init__.py +39 -0
- aws_cdk/aws_ssm/__init__.py +14 -7
- aws_cdk/aws_ssmquicksetup/__init__.py +84 -84
- aws_cdk/aws_sso/__init__.py +9 -5
- aws_cdk/aws_synthetics/__init__.py +105 -32
- aws_cdk/cloud_assembly_schema/__init__.py +63 -4
- aws_cdk/cx_api/__init__.py +69 -8
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/RECORD +63 -62
- aws_cdk/aws_iot1click/__init__.py +0 -1193
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/top_level.txt +0 -0
|
@@ -857,7 +857,7 @@ class CfnCollaboration(
|
|
|
857
857
|
:param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
|
|
858
858
|
:param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
|
859
859
|
:param analytics_engine: The analytics engine for the collaboration.
|
|
860
|
-
:param creator_ml_member_abilities:
|
|
860
|
+
:param creator_ml_member_abilities: The ML member abilities for a collaboration member.
|
|
861
861
|
:param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
|
|
862
862
|
:param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
|
|
863
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.
|
|
@@ -1046,6 +1046,7 @@ class CfnCollaboration(
|
|
|
1046
1046
|
def creator_ml_member_abilities(
|
|
1047
1047
|
self,
|
|
1048
1048
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]]:
|
|
1049
|
+
'''The ML member abilities for a collaboration member.'''
|
|
1049
1050
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]], jsii.get(self, "creatorMlMemberAbilities"))
|
|
1050
1051
|
|
|
1051
1052
|
@creator_ml_member_abilities.setter
|
|
@@ -1228,8 +1229,9 @@ class CfnCollaboration(
|
|
|
1228
1229
|
*,
|
|
1229
1230
|
custom_ml_member_abilities: typing.Sequence[builtins.str],
|
|
1230
1231
|
) -> None:
|
|
1231
|
-
'''
|
|
1232
|
-
|
|
1232
|
+
'''The ML member abilities for a collaboration member.
|
|
1233
|
+
|
|
1234
|
+
:param custom_ml_member_abilities: The custom ML member abilities for a collaboration member.
|
|
1233
1235
|
|
|
1234
1236
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlmemberabilities.html
|
|
1235
1237
|
:exampleMetadata: fixture=_generated
|
|
@@ -1253,7 +1255,8 @@ class CfnCollaboration(
|
|
|
1253
1255
|
|
|
1254
1256
|
@builtins.property
|
|
1255
1257
|
def custom_ml_member_abilities(self) -> typing.List[builtins.str]:
|
|
1256
|
-
'''
|
|
1258
|
+
'''The custom ML member abilities for a collaboration member.
|
|
1259
|
+
|
|
1257
1260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlmemberabilities.html#cfn-cleanrooms-collaboration-mlmemberabilities-custommlmemberabilities
|
|
1258
1261
|
'''
|
|
1259
1262
|
result = self._values.get("custom_ml_member_abilities")
|
|
@@ -1286,9 +1289,10 @@ class CfnCollaboration(
|
|
|
1286
1289
|
model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.ModelInferencePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1287
1290
|
model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.ModelTrainingPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1288
1291
|
) -> None:
|
|
1289
|
-
'''
|
|
1290
|
-
|
|
1291
|
-
:param
|
|
1292
|
+
'''An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
|
|
1293
|
+
|
|
1294
|
+
:param model_inference: The payment responsibilities accepted by the member for model inference.
|
|
1295
|
+
:param model_training: The payment responsibilities accepted by the member for model training.
|
|
1292
1296
|
|
|
1293
1297
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html
|
|
1294
1298
|
:exampleMetadata: fixture=_generated
|
|
@@ -1322,7 +1326,8 @@ class CfnCollaboration(
|
|
|
1322
1326
|
def model_inference(
|
|
1323
1327
|
self,
|
|
1324
1328
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelInferencePaymentConfigProperty"]]:
|
|
1325
|
-
'''
|
|
1329
|
+
'''The payment responsibilities accepted by the member for model inference.
|
|
1330
|
+
|
|
1326
1331
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modelinference
|
|
1327
1332
|
'''
|
|
1328
1333
|
result = self._values.get("model_inference")
|
|
@@ -1332,7 +1337,8 @@ class CfnCollaboration(
|
|
|
1332
1337
|
def model_training(
|
|
1333
1338
|
self,
|
|
1334
1339
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.ModelTrainingPaymentConfigProperty"]]:
|
|
1335
|
-
'''
|
|
1340
|
+
'''The payment responsibilities accepted by the member for model training.
|
|
1341
|
+
|
|
1336
1342
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html#cfn-cleanrooms-collaboration-mlpaymentconfig-modeltraining
|
|
1337
1343
|
'''
|
|
1338
1344
|
result = self._values.get("model_training")
|
|
@@ -1375,7 +1381,7 @@ class CfnCollaboration(
|
|
|
1375
1381
|
:param account_id: The identifier used to reference members of the collaboration. Currently only supports AWS account ID.
|
|
1376
1382
|
:param display_name: The member's display name.
|
|
1377
1383
|
:param member_abilities: The abilities granted to the collaboration member. *Allowed Values* : ``CAN_QUERY`` | ``CAN_RECEIVE_RESULTS``
|
|
1378
|
-
:param ml_member_abilities:
|
|
1384
|
+
:param ml_member_abilities: The ML abilities granted to the collaboration member.
|
|
1379
1385
|
: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.
|
|
1380
1386
|
|
|
1381
1387
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html
|
|
@@ -1468,7 +1474,8 @@ class CfnCollaboration(
|
|
|
1468
1474
|
def ml_member_abilities(
|
|
1469
1475
|
self,
|
|
1470
1476
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLMemberAbilitiesProperty"]]:
|
|
1471
|
-
'''
|
|
1477
|
+
'''The ML abilities granted to the collaboration member.
|
|
1478
|
+
|
|
1472
1479
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-mlmemberabilities
|
|
1473
1480
|
'''
|
|
1474
1481
|
result = self._values.get("ml_member_abilities")
|
|
@@ -1509,8 +1516,9 @@ class CfnCollaboration(
|
|
|
1509
1516
|
*,
|
|
1510
1517
|
is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1511
1518
|
) -> None:
|
|
1512
|
-
'''
|
|
1513
|
-
|
|
1519
|
+
'''An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
|
|
1520
|
+
|
|
1521
|
+
:param is_responsible: Indicates whether the collaboration creator has configured the collaboration member to pay for model inference costs ( ``TRUE`` ) or has not configured the collaboration member to pay for model inference costs ( ``FALSE`` ). Exactly one member can be configured to pay for model inference costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration. If the collaboration creator hasn't specified anyone as the member paying for model inference costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
|
|
1514
1522
|
|
|
1515
1523
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html
|
|
1516
1524
|
:exampleMetadata: fixture=_generated
|
|
@@ -1534,7 +1542,12 @@ class CfnCollaboration(
|
|
|
1534
1542
|
|
|
1535
1543
|
@builtins.property
|
|
1536
1544
|
def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1537
|
-
'''
|
|
1545
|
+
'''Indicates whether the collaboration creator has configured the collaboration member to pay for model inference costs ( ``TRUE`` ) or has not configured the collaboration member to pay for model inference costs ( ``FALSE`` ).
|
|
1546
|
+
|
|
1547
|
+
Exactly one member can be configured to pay for model inference costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration.
|
|
1548
|
+
|
|
1549
|
+
If the collaboration creator hasn't specified anyone as the member paying for model inference costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
|
|
1550
|
+
|
|
1538
1551
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html#cfn-cleanrooms-collaboration-modelinferencepaymentconfig-isresponsible
|
|
1539
1552
|
'''
|
|
1540
1553
|
result = self._values.get("is_responsible")
|
|
@@ -1563,8 +1576,9 @@ class CfnCollaboration(
|
|
|
1563
1576
|
*,
|
|
1564
1577
|
is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1565
1578
|
) -> None:
|
|
1566
|
-
'''
|
|
1567
|
-
|
|
1579
|
+
'''An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
|
|
1580
|
+
|
|
1581
|
+
:param is_responsible: Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( ``TRUE`` ) or has not configured the collaboration member to pay for model training costs ( ``FALSE`` ). Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration. If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
|
|
1568
1582
|
|
|
1569
1583
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modeltrainingpaymentconfig.html
|
|
1570
1584
|
:exampleMetadata: fixture=_generated
|
|
@@ -1588,7 +1602,12 @@ class CfnCollaboration(
|
|
|
1588
1602
|
|
|
1589
1603
|
@builtins.property
|
|
1590
1604
|
def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1591
|
-
'''
|
|
1605
|
+
'''Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( ``TRUE`` ) or has not configured the collaboration member to pay for model training costs ( ``FALSE`` ).
|
|
1606
|
+
|
|
1607
|
+
Exactly one member can be configured to pay for model training costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration.
|
|
1608
|
+
|
|
1609
|
+
If the collaboration creator hasn't specified anyone as the member paying for model training costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
|
|
1610
|
+
|
|
1592
1611
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modeltrainingpaymentconfig.html#cfn-cleanrooms-collaboration-modeltrainingpaymentconfig-isresponsible
|
|
1593
1612
|
'''
|
|
1594
1613
|
result = self._values.get("is_responsible")
|
|
@@ -1624,7 +1643,7 @@ class CfnCollaboration(
|
|
|
1624
1643
|
'''An object representing the collaboration member's payment responsibilities set by the collaboration creator.
|
|
1625
1644
|
|
|
1626
1645
|
:param query_compute: The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
|
|
1627
|
-
:param machine_learning:
|
|
1646
|
+
:param machine_learning: An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
|
|
1628
1647
|
|
|
1629
1648
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html
|
|
1630
1649
|
:exampleMetadata: fixture=_generated
|
|
@@ -1677,7 +1696,8 @@ class CfnCollaboration(
|
|
|
1677
1696
|
def machine_learning(
|
|
1678
1697
|
self,
|
|
1679
1698
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.MLPaymentConfigProperty"]]:
|
|
1680
|
-
'''
|
|
1699
|
+
'''An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
|
|
1700
|
+
|
|
1681
1701
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-machinelearning
|
|
1682
1702
|
'''
|
|
1683
1703
|
result = self._values.get("machine_learning")
|
|
@@ -1797,7 +1817,7 @@ class CfnCollaborationProps:
|
|
|
1797
1817
|
:param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
|
|
1798
1818
|
:param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
|
1799
1819
|
:param analytics_engine: The analytics engine for the collaboration.
|
|
1800
|
-
:param creator_ml_member_abilities:
|
|
1820
|
+
:param creator_ml_member_abilities: The ML member abilities for a collaboration member.
|
|
1801
1821
|
:param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
|
|
1802
1822
|
:param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
|
|
1803
1823
|
: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.
|
|
@@ -1988,7 +2008,8 @@ class CfnCollaborationProps:
|
|
|
1988
2008
|
def creator_ml_member_abilities(
|
|
1989
2009
|
self,
|
|
1990
2010
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.MLMemberAbilitiesProperty]]:
|
|
1991
|
-
'''
|
|
2011
|
+
'''The ML member abilities for a collaboration member.
|
|
2012
|
+
|
|
1992
2013
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatormlmemberabilities
|
|
1993
2014
|
'''
|
|
1994
2015
|
result = self._values.get("creator_ml_member_abilities")
|
|
@@ -6686,9 +6707,10 @@ class CfnMembership(
|
|
|
6686
6707
|
model_inference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipModelInferencePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6687
6708
|
model_training: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipModelTrainingPaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6688
6709
|
) -> None:
|
|
6689
|
-
'''
|
|
6690
|
-
|
|
6691
|
-
:param
|
|
6710
|
+
'''An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
|
|
6711
|
+
|
|
6712
|
+
:param model_inference: The payment responsibilities accepted by the member for model inference.
|
|
6713
|
+
:param model_training: The payment responsibilities accepted by the member for model training.
|
|
6692
6714
|
|
|
6693
6715
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html
|
|
6694
6716
|
:exampleMetadata: fixture=_generated
|
|
@@ -6722,7 +6744,8 @@ class CfnMembership(
|
|
|
6722
6744
|
def model_inference(
|
|
6723
6745
|
self,
|
|
6724
6746
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelInferencePaymentConfigProperty"]]:
|
|
6725
|
-
'''
|
|
6747
|
+
'''The payment responsibilities accepted by the member for model inference.
|
|
6748
|
+
|
|
6726
6749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modelinference
|
|
6727
6750
|
'''
|
|
6728
6751
|
result = self._values.get("model_inference")
|
|
@@ -6732,7 +6755,8 @@ class CfnMembership(
|
|
|
6732
6755
|
def model_training(
|
|
6733
6756
|
self,
|
|
6734
6757
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipModelTrainingPaymentConfigProperty"]]:
|
|
6735
|
-
'''
|
|
6758
|
+
'''The payment responsibilities accepted by the member for model training.
|
|
6759
|
+
|
|
6736
6760
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html#cfn-cleanrooms-membership-membershipmlpaymentconfig-modeltraining
|
|
6737
6761
|
'''
|
|
6738
6762
|
result = self._values.get("model_training")
|
|
@@ -6760,8 +6784,9 @@ class CfnMembership(
|
|
|
6760
6784
|
*,
|
|
6761
6785
|
is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
6762
6786
|
) -> None:
|
|
6763
|
-
'''
|
|
6764
|
-
|
|
6787
|
+
'''An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
|
|
6788
|
+
|
|
6789
|
+
:param is_responsible: Indicates whether the collaboration member has accepted to pay for model inference costs ( ``TRUE`` ) or has not accepted to pay for model inference costs ( ``FALSE`` ). If the collaboration creator has not specified anyone to pay for model inference costs, then the member who can query is the default payer. An error message is returned for the following reasons: - If you set the value to ``FALSE`` but you are responsible to pay for model inference costs. - If you set the value to ``TRUE`` but you are not responsible to pay for model inference costs.
|
|
6765
6790
|
|
|
6766
6791
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html
|
|
6767
6792
|
:exampleMetadata: fixture=_generated
|
|
@@ -6785,7 +6810,15 @@ class CfnMembership(
|
|
|
6785
6810
|
|
|
6786
6811
|
@builtins.property
|
|
6787
6812
|
def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
6788
|
-
'''
|
|
6813
|
+
'''Indicates whether the collaboration member has accepted to pay for model inference costs ( ``TRUE`` ) or has not accepted to pay for model inference costs ( ``FALSE`` ).
|
|
6814
|
+
|
|
6815
|
+
If the collaboration creator has not specified anyone to pay for model inference costs, then the member who can query is the default payer.
|
|
6816
|
+
|
|
6817
|
+
An error message is returned for the following reasons:
|
|
6818
|
+
|
|
6819
|
+
- If you set the value to ``FALSE`` but you are responsible to pay for model inference costs.
|
|
6820
|
+
- If you set the value to ``TRUE`` but you are not responsible to pay for model inference costs.
|
|
6821
|
+
|
|
6789
6822
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html#cfn-cleanrooms-membership-membershipmodelinferencepaymentconfig-isresponsible
|
|
6790
6823
|
'''
|
|
6791
6824
|
result = self._values.get("is_responsible")
|
|
@@ -6814,8 +6847,9 @@ class CfnMembership(
|
|
|
6814
6847
|
*,
|
|
6815
6848
|
is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
6816
6849
|
) -> None:
|
|
6817
|
-
'''
|
|
6818
|
-
|
|
6850
|
+
'''An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
|
|
6851
|
+
|
|
6852
|
+
:param is_responsible: Indicates whether the collaboration member has accepted to pay for model training costs ( ``TRUE`` ) or has not accepted to pay for model training costs ( ``FALSE`` ). If the collaboration creator has not specified anyone to pay for model training costs, then the member who can query is the default payer. An error message is returned for the following reasons: - If you set the value to ``FALSE`` but you are responsible to pay for model training costs. - If you set the value to ``TRUE`` but you are not responsible to pay for model training costs.
|
|
6819
6853
|
|
|
6820
6854
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodeltrainingpaymentconfig.html
|
|
6821
6855
|
:exampleMetadata: fixture=_generated
|
|
@@ -6839,7 +6873,15 @@ class CfnMembership(
|
|
|
6839
6873
|
|
|
6840
6874
|
@builtins.property
|
|
6841
6875
|
def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
6842
|
-
'''
|
|
6876
|
+
'''Indicates whether the collaboration member has accepted to pay for model training costs ( ``TRUE`` ) or has not accepted to pay for model training costs ( ``FALSE`` ).
|
|
6877
|
+
|
|
6878
|
+
If the collaboration creator has not specified anyone to pay for model training costs, then the member who can query is the default payer.
|
|
6879
|
+
|
|
6880
|
+
An error message is returned for the following reasons:
|
|
6881
|
+
|
|
6882
|
+
- If you set the value to ``FALSE`` but you are responsible to pay for model training costs.
|
|
6883
|
+
- If you set the value to ``TRUE`` but you are not responsible to pay for model training costs.
|
|
6884
|
+
|
|
6843
6885
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodeltrainingpaymentconfig.html#cfn-cleanrooms-membership-membershipmodeltrainingpaymentconfig-isresponsible
|
|
6844
6886
|
'''
|
|
6845
6887
|
result = self._values.get("is_responsible")
|
|
@@ -6875,7 +6917,7 @@ class CfnMembership(
|
|
|
6875
6917
|
'''An object representing the payment responsibilities accepted by the collaboration member.
|
|
6876
6918
|
|
|
6877
6919
|
:param query_compute: The payment responsibilities accepted by the collaboration member for query compute costs.
|
|
6878
|
-
:param machine_learning:
|
|
6920
|
+
:param machine_learning: The payment responsibilities accepted by the collaboration member for machine learning costs.
|
|
6879
6921
|
|
|
6880
6922
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html
|
|
6881
6923
|
:exampleMetadata: fixture=_generated
|
|
@@ -6928,7 +6970,8 @@ class CfnMembership(
|
|
|
6928
6970
|
def machine_learning(
|
|
6929
6971
|
self,
|
|
6930
6972
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipMLPaymentConfigProperty"]]:
|
|
6931
|
-
'''
|
|
6973
|
+
'''The payment responsibilities accepted by the collaboration member for machine learning costs.
|
|
6974
|
+
|
|
6932
6975
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-machinelearning
|
|
6933
6976
|
'''
|
|
6934
6977
|
result = self._values.get("machine_learning")
|
|
@@ -3115,7 +3115,7 @@ class CfnMacro(
|
|
|
3115
3115
|
:param function_name: The Amazon Resource Name (ARN) of the underlying Lambda function that you want CloudFormation to invoke when the macro is run.
|
|
3116
3116
|
:param name: The name of the macro. The name of the macro must be unique across all macros in the account.
|
|
3117
3117
|
:param description: A description of the macro.
|
|
3118
|
-
:param log_group_name: The CloudWatch Logs group to which CloudFormation sends error logging information when invoking the macro's underlying Lambda function.
|
|
3118
|
+
:param log_group_name: The CloudWatch Logs group to which CloudFormation sends error logging information when invoking the macro's underlying Lambda function. This will be an existing CloudWatch Logs LogGroup. Neither CloudFormation or Lambda will create the group.
|
|
3119
3119
|
:param log_role_arn: The ARN of the role CloudFormation should assume when sending log entries to CloudWatch Logs .
|
|
3120
3120
|
'''
|
|
3121
3121
|
if __debug__:
|
|
@@ -3267,7 +3267,7 @@ class CfnMacroProps:
|
|
|
3267
3267
|
:param function_name: The Amazon Resource Name (ARN) of the underlying Lambda function that you want CloudFormation to invoke when the macro is run.
|
|
3268
3268
|
:param name: The name of the macro. The name of the macro must be unique across all macros in the account.
|
|
3269
3269
|
:param description: A description of the macro.
|
|
3270
|
-
:param log_group_name: The CloudWatch Logs group to which CloudFormation sends error logging information when invoking the macro's underlying Lambda function.
|
|
3270
|
+
:param log_group_name: The CloudWatch Logs group to which CloudFormation sends error logging information when invoking the macro's underlying Lambda function. This will be an existing CloudWatch Logs LogGroup. Neither CloudFormation or Lambda will create the group.
|
|
3271
3271
|
:param log_role_arn: The ARN of the role CloudFormation should assume when sending log entries to CloudWatch Logs .
|
|
3272
3272
|
|
|
3273
3273
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html
|
|
@@ -3342,6 +3342,8 @@ class CfnMacroProps:
|
|
|
3342
3342
|
def log_group_name(self) -> typing.Optional[builtins.str]:
|
|
3343
3343
|
'''The CloudWatch Logs group to which CloudFormation sends error logging information when invoking the macro's underlying Lambda function.
|
|
3344
3344
|
|
|
3345
|
+
This will be an existing CloudWatch Logs LogGroup. Neither CloudFormation or Lambda will create the group.
|
|
3346
|
+
|
|
3345
3347
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-loggroupname
|
|
3346
3348
|
'''
|
|
3347
3349
|
result = self._values.get("log_group_name")
|
|
@@ -1347,6 +1347,8 @@ class AccessLevel(enum.Enum):
|
|
|
1347
1347
|
|
|
1348
1348
|
READ = "READ"
|
|
1349
1349
|
'''Grants read permissions to CloudFront Distribution.'''
|
|
1350
|
+
LIST = "LIST"
|
|
1351
|
+
'''Grants list permissions to CloudFront Distribution.'''
|
|
1350
1352
|
WRITE = "WRITE"
|
|
1351
1353
|
'''Grants write permission to CloudFront Distribution.'''
|
|
1352
1354
|
DELETE = "DELETE"
|
|
@@ -2699,6 +2701,8 @@ class CfnAnycastIpList(
|
|
|
2699
2701
|
):
|
|
2700
2702
|
'''An Anycast static IP list.
|
|
2701
2703
|
|
|
2704
|
+
For more information, see `Request Anycast static IPs to use for allowlisting <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
2705
|
+
|
|
2702
2706
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html
|
|
2703
2707
|
:cloudformationResource: AWS::CloudFront::AnycastIpList
|
|
2704
2708
|
:exampleMetadata: fixture=_generated
|
|
@@ -2880,6 +2884,8 @@ class CfnAnycastIpList(
|
|
|
2880
2884
|
) -> None:
|
|
2881
2885
|
'''An Anycast static IP list.
|
|
2882
2886
|
|
|
2887
|
+
For more information, see `Request Anycast static IPs to use for allowlisting <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
2888
|
+
|
|
2883
2889
|
:param anycast_ips: The static IP addresses that are allocated to the Anycast static IP list.
|
|
2884
2890
|
:param arn: The Amazon Resource Name (ARN) of the Anycast static IP list.
|
|
2885
2891
|
:param id: The ID of the Anycast static IP list.
|
|
@@ -21519,7 +21525,7 @@ class ResponseHeadersCorsBehavior:
|
|
|
21519
21525
|
|
|
21520
21526
|
:param access_control_allow_credentials: A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header.
|
|
21521
21527
|
:param access_control_allow_headers: A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header. You can specify ``['*']`` to allow all headers.
|
|
21522
|
-
:param access_control_allow_methods: A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.
|
|
21528
|
+
:param access_control_allow_methods: A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header. Allowed methods: ``'GET'``, ``'DELETE'``, ``'HEAD'``, ``'OPTIONS'``, ``'PATCH'``, ``'POST'``, and ``'PUT'``. You can specify ``['ALL']`` to allow all methods.
|
|
21523
21529
|
:param access_control_allow_origins: A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header. You can specify ``['*']`` to allow all origins.
|
|
21524
21530
|
:param origin_override: A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
|
|
21525
21531
|
:param access_control_expose_headers: A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header. You can specify ``['*']`` to expose all headers. Default: - no headers exposed
|
|
@@ -21614,7 +21620,11 @@ class ResponseHeadersCorsBehavior:
|
|
|
21614
21620
|
|
|
21615
21621
|
@builtins.property
|
|
21616
21622
|
def access_control_allow_methods(self) -> typing.List[builtins.str]:
|
|
21617
|
-
'''A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.
|
|
21623
|
+
'''A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.
|
|
21624
|
+
|
|
21625
|
+
Allowed methods: ``'GET'``, ``'DELETE'``, ``'HEAD'``, ``'OPTIONS'``, ``'PATCH'``, ``'POST'``, and ``'PUT'``.
|
|
21626
|
+
You can specify ``['ALL']`` to allow all methods.
|
|
21627
|
+
'''
|
|
21618
21628
|
result = self._values.get("access_control_allow_methods")
|
|
21619
21629
|
assert result is not None, "Required property 'access_control_allow_methods' is missing"
|
|
21620
21630
|
return typing.cast(typing.List[builtins.str], result)
|
|
@@ -412,7 +412,7 @@ class EdgeFunction(
|
|
|
412
412
|
:param filter_encryption: Add Customer managed KMS key to encrypt Filter Criteria. Default: - none
|
|
413
413
|
:param filters: Add filter criteria to Event Source. Default: - none
|
|
414
414
|
:param kafka_bootstrap_servers: A list of host and port pairs that are the addresses of the Kafka brokers in a self managed "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself. They are in the format ``abc.example.com:9096``. Default: - none
|
|
415
|
-
:param kafka_consumer_group_id: The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. The value must have a
|
|
415
|
+
:param kafka_consumer_group_id: The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. The value must have a length between 1 and 200 and full the pattern '[a-zA-Z0-9-/*:_+=.@-]*'. For more information, see `Customizable consumer group ID <https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id>`_. Default: - none
|
|
416
416
|
:param kafka_topic: The name of the Kafka topic. Default: - no topic
|
|
417
417
|
:param max_batching_window: The maximum amount of time to gather records before invoking the function. Maximum of Duration.minutes(5) Default: Duration.seconds(0)
|
|
418
418
|
:param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
|
|
@@ -74,7 +74,7 @@ cloudfront.Distribution(self, "myDist",
|
|
|
74
74
|
|
|
75
75
|
When creating a standard S3 origin using `origins.S3BucketOrigin.withOriginAccessControl()`, an [Origin Access Control resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originaccesscontrol-originaccesscontrolconfig.html) is automatically created with the origin type set to `s3` and signing behavior set to `always`.
|
|
76
76
|
|
|
77
|
-
You can grant read, write or delete access to the OAC using the `originAccessLevels` property:
|
|
77
|
+
You can grant read, list, write or delete access to the OAC using the `originAccessLevels` property:
|
|
78
78
|
|
|
79
79
|
```python
|
|
80
80
|
my_bucket = s3.Bucket(self, "myBucket")
|
|
@@ -83,6 +83,8 @@ s3_origin = origins.S3BucketOrigin.with_origin_access_control(my_bucket,
|
|
|
83
83
|
)
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
+
For details of list permission, see [Setting up OAC with LIST permission](#setting-up-oac-with-list-permission).
|
|
87
|
+
|
|
86
88
|
You can also pass in a custom S3 origin access control:
|
|
87
89
|
|
|
88
90
|
```python
|
|
@@ -336,6 +338,29 @@ See CloudFront docs on [Giving the origin access control permission to access th
|
|
|
336
338
|
> Note: If your bucket previously used OAI, you will need to manually remove the policy statement
|
|
337
339
|
> that gives the OAI access to your bucket after setting up OAC.
|
|
338
340
|
|
|
341
|
+
#### Setting up OAC with LIST permission
|
|
342
|
+
|
|
343
|
+
By default, S3 origin returns 403 Forbidden HTTP response when the requested object does not exist.
|
|
344
|
+
When you want to receive 404 Not Found, specify `AccessLevel.LIST` in `originAccessLevels` to add `s3:ListBucket` permission in the bucket policy.
|
|
345
|
+
|
|
346
|
+
This is useful to distinguish between responses blocked by WAF (403) and responses where the file does not exist (404).
|
|
347
|
+
|
|
348
|
+
```python
|
|
349
|
+
my_bucket = s3.Bucket(self, "myBucket")
|
|
350
|
+
s3_origin = origins.S3BucketOrigin.with_origin_access_control(my_bucket,
|
|
351
|
+
origin_access_levels=[cloudfront.AccessLevel.READ, cloudfront.AccessLevel.LIST]
|
|
352
|
+
)
|
|
353
|
+
cloudfront.Distribution(self, "distribution",
|
|
354
|
+
default_behavior=cloudfront.BehaviorOptions(
|
|
355
|
+
origin=s3_origin
|
|
356
|
+
),
|
|
357
|
+
default_root_object="index.html"
|
|
358
|
+
)
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
When the origin is associated to the default behavior, it is highly recommended to specify `defaultRootObject` distribution property.
|
|
362
|
+
Without it, the root path `https://xxxx.cloudfront.net/` will return the list of the S3 object keys.
|
|
363
|
+
|
|
339
364
|
#### Setting up an OAI (legacy)
|
|
340
365
|
|
|
341
366
|
Setup an S3 origin with origin access identity (legacy) as follows:
|
|
@@ -3171,7 +3196,13 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
|
|
|
3171
3196
|
|
|
3172
3197
|
my_bucket = s3.Bucket(self, "myBucket")
|
|
3173
3198
|
s3_origin = origins.S3BucketOrigin.with_origin_access_control(my_bucket,
|
|
3174
|
-
origin_access_levels=[cloudfront.AccessLevel.READ, cloudfront.AccessLevel.
|
|
3199
|
+
origin_access_levels=[cloudfront.AccessLevel.READ, cloudfront.AccessLevel.LIST]
|
|
3200
|
+
)
|
|
3201
|
+
cloudfront.Distribution(self, "distribution",
|
|
3202
|
+
default_behavior=cloudfront.BehaviorOptions(
|
|
3203
|
+
origin=s3_origin
|
|
3204
|
+
),
|
|
3205
|
+
default_root_object="index.html"
|
|
3175
3206
|
)
|
|
3176
3207
|
'''
|
|
3177
3208
|
if __debug__:
|