aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.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 +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +1084 -233
- aws_cdk/aws_bedrock/__init__.py +2119 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +543 -17
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +722 -30
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +15932 -6448
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +184 -24
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +574 -189
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/RECORD +88 -86
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ram/__init__.py
CHANGED
|
@@ -452,7 +452,7 @@ class CfnResourceShare(
|
|
|
452
452
|
:param permission_arns: Specifies the `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html>`_ of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
|
|
453
453
|
:param principals: Specifies the principals to associate with the resource share. The possible values are:. - An AWS account ID - An Amazon Resource Name (ARN) of an organization in AWS Organizations - An ARN of an organizational unit (OU) in AWS Organizations - An ARN of an IAM role - An ARN of an IAM user .. epigraph:: Not all resource types can be shared with IAM roles and users. For more information, see the column *Can share with IAM roles and users* in the tables on `Shareable AWS resources <https://docs.aws.amazon.com/ram/latest/userguide/shareable.html>`_ in the *AWS Resource Access Manager User Guide* .
|
|
454
454
|
:param resource_arns: Specifies a list of one or more ARNs of the resources to associate with the resource share.
|
|
455
|
-
:param sources:
|
|
455
|
+
:param sources: Specifies from which source accounts the service principal has access to the resources in this resource share.
|
|
456
456
|
:param tags: Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share.
|
|
457
457
|
'''
|
|
458
458
|
if __debug__:
|
|
@@ -510,14 +510,6 @@ class CfnResourceShare(
|
|
|
510
510
|
'''
|
|
511
511
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
512
512
|
|
|
513
|
-
@builtins.property
|
|
514
|
-
@jsii.member(jsii_name="attrId")
|
|
515
|
-
def attr_id(self) -> builtins.str:
|
|
516
|
-
'''
|
|
517
|
-
:cloudformationAttribute: Id
|
|
518
|
-
'''
|
|
519
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
520
|
-
|
|
521
513
|
@builtins.property
|
|
522
514
|
@jsii.member(jsii_name="cfnProperties")
|
|
523
515
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -608,6 +600,7 @@ class CfnResourceShare(
|
|
|
608
600
|
@builtins.property
|
|
609
601
|
@jsii.member(jsii_name="sources")
|
|
610
602
|
def sources(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
603
|
+
'''Specifies from which source accounts the service principal has access to the resources in this resource share.'''
|
|
611
604
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "sources"))
|
|
612
605
|
|
|
613
606
|
@sources.setter
|
|
@@ -663,7 +656,7 @@ class CfnResourceShareProps:
|
|
|
663
656
|
:param permission_arns: Specifies the `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html>`_ of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
|
|
664
657
|
:param principals: Specifies the principals to associate with the resource share. The possible values are:. - An AWS account ID - An Amazon Resource Name (ARN) of an organization in AWS Organizations - An ARN of an organizational unit (OU) in AWS Organizations - An ARN of an IAM role - An ARN of an IAM user .. epigraph:: Not all resource types can be shared with IAM roles and users. For more information, see the column *Can share with IAM roles and users* in the tables on `Shareable AWS resources <https://docs.aws.amazon.com/ram/latest/userguide/shareable.html>`_ in the *AWS Resource Access Manager User Guide* .
|
|
665
658
|
:param resource_arns: Specifies a list of one or more ARNs of the resources to associate with the resource share.
|
|
666
|
-
:param sources:
|
|
659
|
+
:param sources: Specifies from which source accounts the service principal has access to the resources in this resource share.
|
|
667
660
|
:param tags: Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share.
|
|
668
661
|
|
|
669
662
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
|
|
@@ -777,7 +770,8 @@ class CfnResourceShareProps:
|
|
|
777
770
|
|
|
778
771
|
@builtins.property
|
|
779
772
|
def sources(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
780
|
-
'''
|
|
773
|
+
'''Specifies from which source accounts the service principal has access to the resources in this resource share.
|
|
774
|
+
|
|
781
775
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-sources
|
|
782
776
|
'''
|
|
783
777
|
result = self._values.get("sources")
|
aws_cdk/aws_rbin/__init__.py
CHANGED
|
@@ -148,14 +148,14 @@ class CfnRule(
|
|
|
148
148
|
'''
|
|
149
149
|
:param scope: Scope in which this resource is defined.
|
|
150
150
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
151
|
-
:param resource_type: The resource type retained by the retention rule.
|
|
151
|
+
:param resource_type: The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify ``EBS_SNAPSHOT`` . To retain EBS-backed AMIs, specify ``EC2_IMAGE`` .
|
|
152
152
|
:param retention_period: Information about the retention period for which the retention rule is to retain resources.
|
|
153
153
|
:param description: The retention rule description.
|
|
154
|
-
:param exclude_resource_tags:
|
|
154
|
+
:param exclude_resource_tags: [Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule upon deletion. You can't specify exclusion tags for tag-level retention rules.
|
|
155
155
|
:param lock_configuration: Information about the retention rule lock configuration.
|
|
156
|
-
:param resource_tags: [Tag-level retention rules only]
|
|
156
|
+
:param resource_tags: [Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
|
|
157
157
|
:param status: The state of the retention rule. Only retention rules that are in the ``available`` state retain resources.
|
|
158
|
-
:param tags: Information about the tags
|
|
158
|
+
:param tags: Information about the tags to assign to the retention rule.
|
|
159
159
|
'''
|
|
160
160
|
if __debug__:
|
|
161
161
|
type_hints = typing.get_type_hints(_typecheckingstub__38111a34066818ca2f172524180ec7dec02ce564c681ac0c87097b02350ebe17)
|
|
@@ -250,7 +250,7 @@ class CfnRule(
|
|
|
250
250
|
@builtins.property
|
|
251
251
|
@jsii.member(jsii_name="resourceType")
|
|
252
252
|
def resource_type(self) -> builtins.str:
|
|
253
|
-
'''The resource type retained by the retention rule.'''
|
|
253
|
+
'''The resource type to be retained by the retention rule.'''
|
|
254
254
|
return typing.cast(builtins.str, jsii.get(self, "resourceType"))
|
|
255
255
|
|
|
256
256
|
@resource_type.setter
|
|
@@ -296,7 +296,7 @@ class CfnRule(
|
|
|
296
296
|
def exclude_resource_tags(
|
|
297
297
|
self,
|
|
298
298
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]]:
|
|
299
|
-
'''
|
|
299
|
+
'''[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule.'''
|
|
300
300
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]], jsii.get(self, "excludeResourceTags"))
|
|
301
301
|
|
|
302
302
|
@exclude_resource_tags.setter
|
|
@@ -332,7 +332,7 @@ class CfnRule(
|
|
|
332
332
|
def resource_tags(
|
|
333
333
|
self,
|
|
334
334
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]]:
|
|
335
|
-
'''[Tag-level retention rules only]
|
|
335
|
+
'''[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.'''
|
|
336
336
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]], jsii.get(self, "resourceTags"))
|
|
337
337
|
|
|
338
338
|
@resource_tags.setter
|
|
@@ -361,7 +361,7 @@ class CfnRule(
|
|
|
361
361
|
@builtins.property
|
|
362
362
|
@jsii.member(jsii_name="tags")
|
|
363
363
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
364
|
-
'''Information about the tags
|
|
364
|
+
'''Information about the tags to assign to the retention rule.'''
|
|
365
365
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
366
366
|
|
|
367
367
|
@tags.setter
|
|
@@ -630,14 +630,14 @@ class CfnRuleProps:
|
|
|
630
630
|
) -> None:
|
|
631
631
|
'''Properties for defining a ``CfnRule``.
|
|
632
632
|
|
|
633
|
-
:param resource_type: The resource type retained by the retention rule.
|
|
633
|
+
:param resource_type: The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify ``EBS_SNAPSHOT`` . To retain EBS-backed AMIs, specify ``EC2_IMAGE`` .
|
|
634
634
|
:param retention_period: Information about the retention period for which the retention rule is to retain resources.
|
|
635
635
|
:param description: The retention rule description.
|
|
636
|
-
:param exclude_resource_tags:
|
|
636
|
+
:param exclude_resource_tags: [Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule upon deletion. You can't specify exclusion tags for tag-level retention rules.
|
|
637
637
|
:param lock_configuration: Information about the retention rule lock configuration.
|
|
638
|
-
:param resource_tags: [Tag-level retention rules only]
|
|
638
|
+
:param resource_tags: [Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
|
|
639
639
|
:param status: The state of the retention rule. Only retention rules that are in the ``available`` state retain resources.
|
|
640
|
-
:param tags: Information about the tags
|
|
640
|
+
:param tags: Information about the tags to assign to the retention rule.
|
|
641
641
|
|
|
642
642
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html
|
|
643
643
|
:exampleMetadata: fixture=_generated
|
|
@@ -705,7 +705,9 @@ class CfnRuleProps:
|
|
|
705
705
|
|
|
706
706
|
@builtins.property
|
|
707
707
|
def resource_type(self) -> builtins.str:
|
|
708
|
-
'''The resource type retained by the retention rule.
|
|
708
|
+
'''The resource type to be retained by the retention rule.
|
|
709
|
+
|
|
710
|
+
Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify ``EBS_SNAPSHOT`` . To retain EBS-backed AMIs, specify ``EC2_IMAGE`` .
|
|
709
711
|
|
|
710
712
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-resourcetype
|
|
711
713
|
'''
|
|
@@ -738,7 +740,11 @@ class CfnRuleProps:
|
|
|
738
740
|
def exclude_resource_tags(
|
|
739
741
|
self,
|
|
740
742
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnRule.ResourceTagProperty]]]]:
|
|
741
|
-
'''
|
|
743
|
+
'''[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule.
|
|
744
|
+
|
|
745
|
+
Resources that have any of these tags are not retained by the retention rule upon deletion.
|
|
746
|
+
|
|
747
|
+
You can't specify exclusion tags for tag-level retention rules.
|
|
742
748
|
|
|
743
749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-excluderesourcetags
|
|
744
750
|
'''
|
|
@@ -760,7 +766,13 @@ class CfnRuleProps:
|
|
|
760
766
|
def resource_tags(
|
|
761
767
|
self,
|
|
762
768
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnRule.ResourceTagProperty]]]]:
|
|
763
|
-
'''[Tag-level retention rules only]
|
|
769
|
+
'''[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.
|
|
770
|
+
|
|
771
|
+
For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.
|
|
772
|
+
|
|
773
|
+
You can add the same tag key and value pair to a maximum or five retention rules.
|
|
774
|
+
|
|
775
|
+
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
|
|
764
776
|
|
|
765
777
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-resourcetags
|
|
766
778
|
'''
|
|
@@ -780,7 +792,7 @@ class CfnRuleProps:
|
|
|
780
792
|
|
|
781
793
|
@builtins.property
|
|
782
794
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
783
|
-
'''Information about the tags
|
|
795
|
+
'''Information about the tags to assign to the retention rule.
|
|
784
796
|
|
|
785
797
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-tags
|
|
786
798
|
'''
|