aws-cdk-lib 2.95.0__py3-none-any.whl → 2.96.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 +38 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.95.0.jsii.tgz → aws-cdk-lib@2.96.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +4 -4
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +15057 -385
- aws_cdk/aws_budgets/__init__.py +9 -4
- aws_cdk/aws_cloudformation/__init__.py +38 -5
- aws_cdk/aws_cloudtrail/__init__.py +25 -3
- aws_cdk/aws_codepipeline/__init__.py +2 -2
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -3
- aws_cdk/aws_config/__init__.py +54 -13
- aws_cdk/aws_datasync/__init__.py +104 -45
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +2 -2
- aws_cdk/aws_ec2/__init__.py +12 -7
- aws_cdk/aws_ecs/__init__.py +55 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -2
- aws_cdk/aws_events_targets/__init__.py +3 -3
- aws_cdk/aws_iam/__init__.py +8 -6
- aws_cdk/aws_internetmonitor/__init__.py +69 -30
- aws_cdk/aws_iotwireless/__init__.py +2 -4
- aws_cdk/aws_lambda/__init__.py +8 -8
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +2 -3
- aws_cdk/aws_quicksight/__init__.py +185 -103
- aws_cdk/aws_rds/__init__.py +7 -7
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_s3/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +108 -42
- aws_cdk/aws_sns/__init__.py +5 -5
- aws_cdk/aws_stepfunctions/__init__.py +36 -25
- aws_cdk/aws_stepfunctions_tasks/__init__.py +13 -12
- aws_cdk/aws_transfer/__init__.py +9 -2
- aws_cdk/aws_wafv2/__init__.py +6 -6
- aws_cdk/pipelines/__init__.py +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/RECORD +42 -42
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -27898,7 +27898,7 @@ class CfnModuleDefaultVersion(
|
|
|
27898
27898
|
|
|
27899
27899
|
The default version of the module will be used in CloudFormation operations for this account and Region.
|
|
27900
27900
|
|
|
27901
|
-
To register a module version, use the ``[AWS::CloudFormation::ModuleVersion](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html)`` resource.
|
|
27901
|
+
To register a module version, use the ``[``AWS::CloudFormation::ModuleVersion``](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html)`` resource.
|
|
27902
27902
|
|
|
27903
27903
|
For more information using modules, see `Using modules to encapsulate and reuse resource configurations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html>`_ and `Registering extensions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-register>`_ in the *AWS CloudFormation User Guide* . For information on developing modules, see `Developing modules <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/modules.html>`_ in the *AWS CloudFormation CLI User Guide* .
|
|
27904
27904
|
|
|
@@ -28029,7 +28029,7 @@ class CfnModuleVersion(
|
|
|
28029
28029
|
|
|
28030
28030
|
Registering a module makes it available for use in CloudFormation templates in your AWS account and Region.
|
|
28031
28031
|
|
|
28032
|
-
To specify a module version as the default version, use the ``[AWS::CloudFormation::ModuleDefaultVersion](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html)`` resource.
|
|
28032
|
+
To specify a module version as the default version, use the ``[``AWS::CloudFormation::ModuleDefaultVersion``](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html)`` resource.
|
|
28033
28033
|
|
|
28034
28034
|
For more information using modules, see `Using modules to encapsulate and reuse resource configurations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html>`_ and `Registering extensions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-register>`_ in the *CloudFormation User Guide* . For information on developing modules, see `Developing modules <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/modules.html>`_ in the *CloudFormation CLI User Guide* .
|
|
28035
28035
|
|
|
@@ -29027,7 +29027,39 @@ class CfnStack(CfnResource, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.CfnS
|
|
|
29027
29027
|
When you apply template changes to update a top-level stack, CloudFormation updates the top-level stack and initiates an update to its nested stacks. CloudFormation updates the resources of modified nested stacks, but doesn't update the resources of unmodified nested stacks. For more information, see `CloudFormation stack updates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html>`_ .
|
|
29028
29028
|
.. epigraph::
|
|
29029
29029
|
|
|
29030
|
-
You must acknowledge IAM capabilities for nested stacks that contain IAM resources. Also, verify that you have cancel update stack permissions, which is required if an update rolls back. For more information about IAM and CloudFormation , see `Controlling access with AWS Identity and Access Management <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html>`_ .
|
|
29030
|
+
You must acknowledge IAM capabilities for nested stacks that contain IAM resources. Also, verify that you have cancel update stack permissions, which is required if an update rolls back. For more information about IAM and CloudFormation , see `Controlling access with AWS Identity and Access Management <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html>`_ . > A subset of ``AWS::CloudFormation::Stack`` resource type properties listed below are available to customers using AWS CloudFormation , AWS CDK , and AWS Cloud Control API to configure.
|
|
29031
|
+
|
|
29032
|
+
- ``NotificationARNs``
|
|
29033
|
+
- ``Parameters``
|
|
29034
|
+
- ``Tags``
|
|
29035
|
+
- ``TemplateURL``
|
|
29036
|
+
- ``TimeoutInMinutes``
|
|
29037
|
+
|
|
29038
|
+
These properties can be configured only when using AWS Cloud Control API . This is because the below properties are set by the parent stack, and thus cannot be configured using AWS CloudFormation or AWS CDK but only AWS Cloud Control API .
|
|
29039
|
+
|
|
29040
|
+
- ``Capabilities``
|
|
29041
|
+
- ``Description``
|
|
29042
|
+
- ``DisableRollback``
|
|
29043
|
+
- ``EnableTerminationProtection``
|
|
29044
|
+
- ``RoleARN``
|
|
29045
|
+
- ``StackName``
|
|
29046
|
+
- ``StackPolicyBody``
|
|
29047
|
+
- ``StackPolicyURL``
|
|
29048
|
+
- ``StackStatusReason``
|
|
29049
|
+
- ``TemplateBody``
|
|
29050
|
+
|
|
29051
|
+
Customers that configure ``AWS::CloudFormation::Stack`` using AWS CloudFormation and AWS CDK can do so for nesting a CloudFormation stack as a resource in their top-level template.
|
|
29052
|
+
|
|
29053
|
+
These read-only properties can be accessed only when using AWS Cloud Control API .
|
|
29054
|
+
|
|
29055
|
+
- ``ChangeSetId``
|
|
29056
|
+
- ``CreationTime``
|
|
29057
|
+
- ``LastUpdateDate``
|
|
29058
|
+
- ``Outputs``
|
|
29059
|
+
- ``ParentId``
|
|
29060
|
+
- ``RootId``
|
|
29061
|
+
- ``StackId``
|
|
29062
|
+
- ``StackStatus``
|
|
29031
29063
|
|
|
29032
29064
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html
|
|
29033
29065
|
:exampleMetadata: fixture=_generated
|
|
@@ -29717,7 +29749,7 @@ class CfnStackSet(
|
|
|
29717
29749
|
|
|
29718
29750
|
:param account_filter_type: Limit deployment targets to individual accounts or include additional accounts with provided OUs. The following is a list of possible values for the ``AccountFilterType`` operation. - ``INTERSECTION`` : StackSets deploys to the accounts specified in ``Accounts`` parameter. - ``DIFFERENCE`` : StackSets excludes the accounts specified in ``Accounts`` parameter. This enables user to avoid certain accounts within an OU such as suspended accounts. - ``UNION`` : StackSets includes additional accounts deployment targets. This is the default value if ``AccountFilterType`` is not provided. This enables user to update an entire OU and individual accounts from a different OU in one request, which used to be two separate requests. - ``NONE`` : Deploys to all the accounts in specified organizational units (OU).
|
|
29719
29751
|
:param accounts: The names of one or more AWS accounts for which you want to deploy stack set updates. *Pattern* : ``^[0-9]{12}$``
|
|
29720
|
-
:param accounts_url:
|
|
29752
|
+
:param accounts_url: Returns the value of the ``AccountsUrl`` property.
|
|
29721
29753
|
:param organizational_unit_ids: The organization root ID or organizational unit (OU) IDs to which StackSets deploys. *Pattern* : ``^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$``
|
|
29722
29754
|
|
|
29723
29755
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html
|
|
@@ -29784,7 +29816,8 @@ class CfnStackSet(
|
|
|
29784
29816
|
|
|
29785
29817
|
@builtins.property
|
|
29786
29818
|
def accounts_url(self) -> typing.Optional[builtins.str]:
|
|
29787
|
-
'''
|
|
29819
|
+
'''Returns the value of the ``AccountsUrl`` property.
|
|
29820
|
+
|
|
29788
29821
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountsurl
|
|
29789
29822
|
'''
|
|
29790
29823
|
result = self._values.get("accounts_url")
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -16,7 +16,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
16
16
|
import constructs._jsii
|
|
17
17
|
|
|
18
18
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
19
|
-
"aws-cdk-lib", "2.
|
|
19
|
+
"aws-cdk-lib", "2.96.0", __name__[0:-6], "aws-cdk-lib@2.96.0.jsii.tgz"
|
|
20
20
|
)
|
|
21
21
|
|
|
22
22
|
__all__ = [
|
|
Binary file
|
|
@@ -1004,7 +1004,7 @@ app = App()
|
|
|
1004
1004
|
stack = Stack(app, "RequestAuthorizerInteg")
|
|
1005
1005
|
|
|
1006
1006
|
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
1007
|
-
runtime=lambda_.Runtime.
|
|
1007
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
1008
1008
|
handler="index.handler",
|
|
1009
1009
|
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.request-authorizer.handler"))
|
|
1010
1010
|
)
|
|
@@ -16429,7 +16429,7 @@ class IntegrationOptions:
|
|
|
16429
16429
|
stack = Stack(app, "RequestAuthorizerInteg")
|
|
16430
16430
|
|
|
16431
16431
|
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
16432
|
-
runtime=lambda_.Runtime.
|
|
16432
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
16433
16433
|
handler="index.handler",
|
|
16434
16434
|
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.request-authorizer.handler"))
|
|
16435
16435
|
)
|
|
@@ -19561,7 +19561,7 @@ class MockIntegration(
|
|
|
19561
19561
|
stack = Stack(app, "RequestAuthorizerInteg")
|
|
19562
19562
|
|
|
19563
19563
|
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
19564
|
-
runtime=lambda_.Runtime.
|
|
19564
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
19565
19565
|
handler="index.handler",
|
|
19566
19566
|
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.request-authorizer.handler"))
|
|
19567
19567
|
)
|
|
@@ -20162,7 +20162,7 @@ class PassthroughBehavior(enum.Enum):
|
|
|
20162
20162
|
stack = Stack(app, "RequestAuthorizerInteg")
|
|
20163
20163
|
|
|
20164
20164
|
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
20165
|
-
runtime=lambda_.Runtime.
|
|
20165
|
+
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
20166
20166
|
handler="index.handler",
|
|
20167
20167
|
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.request-authorizer.handler"))
|
|
20168
20168
|
)
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -518,7 +518,7 @@ class BackupPlanRule(
|
|
|
518
518
|
) -> None:
|
|
519
519
|
'''
|
|
520
520
|
:param backup_vault: The backup vault where backups are. Default: - use the vault defined at the plan level. If not defined a new common vault for the plan will be created
|
|
521
|
-
:param completion_window: The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup. Default: -
|
|
521
|
+
:param completion_window: The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup. Default: - 7 days
|
|
522
522
|
:param copy_actions: Copy operations to perform on recovery points created by this rule. Default: - no copy actions
|
|
523
523
|
:param delete_after: Specifies the duration after creation that a recovery point is deleted. Must be greater than ``moveToColdStorageAfter``. Default: - recovery point is never deleted
|
|
524
524
|
:param enable_continuous_backup: Enables continuous backup and point-in-time restores (PITR). Property ``deleteAfter`` defines the retention period for the backup. It is mandatory if PITR is enabled. If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR. Property ``moveToColdStorageAfter`` must not be specified because PITR does not support this option. Default: false
|
|
@@ -659,7 +659,7 @@ class BackupPlanRuleProps:
|
|
|
659
659
|
'''Properties for a BackupPlanRule.
|
|
660
660
|
|
|
661
661
|
:param backup_vault: The backup vault where backups are. Default: - use the vault defined at the plan level. If not defined a new common vault for the plan will be created
|
|
662
|
-
:param completion_window: The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup. Default: -
|
|
662
|
+
:param completion_window: The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup. Default: - 7 days
|
|
663
663
|
:param copy_actions: Copy operations to perform on recovery points created by this rule. Default: - no copy actions
|
|
664
664
|
:param delete_after: Specifies the duration after creation that a recovery point is deleted. Must be greater than ``moveToColdStorageAfter``. Default: - recovery point is never deleted
|
|
665
665
|
:param enable_continuous_backup: Enables continuous backup and point-in-time restores (PITR). Property ``deleteAfter`` defines the retention period for the backup. It is mandatory if PITR is enabled. If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR. Property ``moveToColdStorageAfter`` must not be specified because PITR does not support this option. Default: false
|
|
@@ -734,7 +734,7 @@ class BackupPlanRuleProps:
|
|
|
734
734
|
def completion_window(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
735
735
|
'''The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup.
|
|
736
736
|
|
|
737
|
-
:default: -
|
|
737
|
+
:default: - 7 days
|
|
738
738
|
'''
|
|
739
739
|
result = self._values.get("completion_window")
|
|
740
740
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|