aws-cdk-lib 2.172.0__py3-none-any.whl → 2.173.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.
- aws_cdk/__init__.py +57 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.172.0.jsii.tgz → aws-cdk-lib@2.173.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +111 -64
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_autoscaling/__init__.py +15 -6
- aws_cdk/aws_bedrock/__init__.py +32 -44
- aws_cdk/aws_chatbot/__init__.py +72 -46
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudfront/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +104 -68
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +221 -53
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +25 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +130 -48
- aws_cdk/aws_ecs/__init__.py +25 -13
- aws_cdk/aws_eks/__init__.py +86 -24
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +138 -128
- aws_cdk/aws_events/__init__.py +39 -26
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +28 -22
- aws_cdk/aws_iotfleetwise/__init__.py +473 -332
- aws_cdk/aws_iotsitewise/__init__.py +6 -4
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +258 -156
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_qbusiness/__init__.py +2018 -66
- aws_cdk/aws_rds/__init__.py +30 -0
- aws_cdk/aws_resourcegroups/__init__.py +26 -17
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +224 -100
- aws_cdk/aws_route53resolver/__init__.py +4 -2
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +30 -19
- aws_cdk/aws_sagemaker/__init__.py +783 -9
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +109 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +2698 -232
- aws_cdk/aws_workspacesweb/__init__.py +118 -61
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/top_level.txt +0 -0
|
@@ -3416,6 +3416,7 @@ class CfnProject(
|
|
|
3416
3416
|
),
|
|
3417
3417
|
|
|
3418
3418
|
# the properties below are optional
|
|
3419
|
+
auto_retry_limit=123,
|
|
3419
3420
|
badge_enabled=False,
|
|
3420
3421
|
build_batch_config=codebuild.CfnProject.ProjectBuildBatchConfigProperty(
|
|
3421
3422
|
batch_report_mode="batchReportMode",
|
|
@@ -3546,6 +3547,7 @@ class CfnProject(
|
|
|
3546
3547
|
environment: typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.EnvironmentProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
3547
3548
|
service_role: builtins.str,
|
|
3548
3549
|
source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
3550
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
3549
3551
|
badge_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3550
3552
|
build_batch_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.ProjectBuildBatchConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3551
3553
|
cache: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.ProjectCacheProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3574,6 +3576,7 @@ class CfnProject(
|
|
|
3574
3576
|
:param environment: The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
|
|
3575
3577
|
:param service_role: The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
|
|
3576
3578
|
:param source: The source code settings for the project, such as the source code's repository type and location.
|
|
3579
|
+
:param auto_retry_limit:
|
|
3577
3580
|
:param badge_enabled: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see `Build Badges Sample <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-badges.html>`_ in the *AWS CodeBuild User Guide* . .. epigraph:: Including build badges with your project is currently not supported if the source type is CodePipeline. If you specify ``CODEPIPELINE`` for the ``Source`` property, do not specify the ``BadgeEnabled`` property.
|
|
3578
3581
|
:param build_batch_config: A ``ProjectBuildBatchConfig`` object that defines the batch build options for the project.
|
|
3579
3582
|
:param cache: Settings that AWS CodeBuild uses to store and reuse build dependencies.
|
|
@@ -3604,6 +3607,7 @@ class CfnProject(
|
|
|
3604
3607
|
environment=environment,
|
|
3605
3608
|
service_role=service_role,
|
|
3606
3609
|
source=source,
|
|
3610
|
+
auto_retry_limit=auto_retry_limit,
|
|
3607
3611
|
badge_enabled=badge_enabled,
|
|
3608
3612
|
build_batch_config=build_batch_config,
|
|
3609
3613
|
cache=cache,
|
|
@@ -3753,6 +3757,18 @@ class CfnProject(
|
|
|
3753
3757
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3754
3758
|
jsii.set(self, "source", value) # pyright: ignore[reportArgumentType]
|
|
3755
3759
|
|
|
3760
|
+
@builtins.property
|
|
3761
|
+
@jsii.member(jsii_name="autoRetryLimit")
|
|
3762
|
+
def auto_retry_limit(self) -> typing.Optional[jsii.Number]:
|
|
3763
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "autoRetryLimit"))
|
|
3764
|
+
|
|
3765
|
+
@auto_retry_limit.setter
|
|
3766
|
+
def auto_retry_limit(self, value: typing.Optional[jsii.Number]) -> None:
|
|
3767
|
+
if __debug__:
|
|
3768
|
+
type_hints = typing.get_type_hints(_typecheckingstub__982f9c7096ad20ce601ce4532b3b19f5ed1ae300d09c6f58822544aaae67a03b)
|
|
3769
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3770
|
+
jsii.set(self, "autoRetryLimit", value) # pyright: ignore[reportArgumentType]
|
|
3771
|
+
|
|
3756
3772
|
@builtins.property
|
|
3757
3773
|
@jsii.member(jsii_name="badgeEnabled")
|
|
3758
3774
|
def badge_enabled(
|
|
@@ -6586,6 +6602,7 @@ class CfnProject(
|
|
|
6586
6602
|
"environment": "environment",
|
|
6587
6603
|
"service_role": "serviceRole",
|
|
6588
6604
|
"source": "source",
|
|
6605
|
+
"auto_retry_limit": "autoRetryLimit",
|
|
6589
6606
|
"badge_enabled": "badgeEnabled",
|
|
6590
6607
|
"build_batch_config": "buildBatchConfig",
|
|
6591
6608
|
"cache": "cache",
|
|
@@ -6616,6 +6633,7 @@ class CfnProjectProps:
|
|
|
6616
6633
|
environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.EnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6617
6634
|
service_role: builtins.str,
|
|
6618
6635
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6636
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
6619
6637
|
badge_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6620
6638
|
build_batch_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectBuildBatchConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6621
6639
|
cache: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectCacheProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6643,6 +6661,7 @@ class CfnProjectProps:
|
|
|
6643
6661
|
:param environment: The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.
|
|
6644
6662
|
:param service_role: The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
|
|
6645
6663
|
:param source: The source code settings for the project, such as the source code's repository type and location.
|
|
6664
|
+
:param auto_retry_limit:
|
|
6646
6665
|
:param badge_enabled: Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. For more information, see `Build Badges Sample <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-badges.html>`_ in the *AWS CodeBuild User Guide* . .. epigraph:: Including build badges with your project is currently not supported if the source type is CodePipeline. If you specify ``CODEPIPELINE`` for the ``Source`` property, do not specify the ``BadgeEnabled`` property.
|
|
6647
6666
|
:param build_batch_config: A ``ProjectBuildBatchConfig`` object that defines the batch build options for the project.
|
|
6648
6667
|
:param cache: Settings that AWS CodeBuild uses to store and reuse build dependencies.
|
|
@@ -6738,6 +6757,7 @@ class CfnProjectProps:
|
|
|
6738
6757
|
),
|
|
6739
6758
|
|
|
6740
6759
|
# the properties below are optional
|
|
6760
|
+
auto_retry_limit=123,
|
|
6741
6761
|
badge_enabled=False,
|
|
6742
6762
|
build_batch_config=codebuild.CfnProject.ProjectBuildBatchConfigProperty(
|
|
6743
6763
|
batch_report_mode="batchReportMode",
|
|
@@ -6864,6 +6884,7 @@ class CfnProjectProps:
|
|
|
6864
6884
|
check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
|
|
6865
6885
|
check_type(argname="argument service_role", value=service_role, expected_type=type_hints["service_role"])
|
|
6866
6886
|
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
6887
|
+
check_type(argname="argument auto_retry_limit", value=auto_retry_limit, expected_type=type_hints["auto_retry_limit"])
|
|
6867
6888
|
check_type(argname="argument badge_enabled", value=badge_enabled, expected_type=type_hints["badge_enabled"])
|
|
6868
6889
|
check_type(argname="argument build_batch_config", value=build_batch_config, expected_type=type_hints["build_batch_config"])
|
|
6869
6890
|
check_type(argname="argument cache", value=cache, expected_type=type_hints["cache"])
|
|
@@ -6890,6 +6911,8 @@ class CfnProjectProps:
|
|
|
6890
6911
|
"service_role": service_role,
|
|
6891
6912
|
"source": source,
|
|
6892
6913
|
}
|
|
6914
|
+
if auto_retry_limit is not None:
|
|
6915
|
+
self._values["auto_retry_limit"] = auto_retry_limit
|
|
6893
6916
|
if badge_enabled is not None:
|
|
6894
6917
|
self._values["badge_enabled"] = badge_enabled
|
|
6895
6918
|
if build_batch_config is not None:
|
|
@@ -6975,6 +6998,14 @@ class CfnProjectProps:
|
|
|
6975
6998
|
assert result is not None, "Required property 'source' is missing"
|
|
6976
6999
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnProject.SourceProperty], result)
|
|
6977
7000
|
|
|
7001
|
+
@builtins.property
|
|
7002
|
+
def auto_retry_limit(self) -> typing.Optional[jsii.Number]:
|
|
7003
|
+
'''
|
|
7004
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-autoretrylimit
|
|
7005
|
+
'''
|
|
7006
|
+
result = self._values.get("auto_retry_limit")
|
|
7007
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7008
|
+
|
|
6978
7009
|
@builtins.property
|
|
6979
7010
|
def badge_enabled(
|
|
6980
7011
|
self,
|
|
@@ -18365,6 +18396,7 @@ def _typecheckingstub__7b09683005eb57000f0fc4ae40bb6720b934248e0cfb890644ad74d57
|
|
|
18365
18396
|
environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.EnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
18366
18397
|
service_role: builtins.str,
|
|
18367
18398
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
18399
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
18368
18400
|
badge_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
18369
18401
|
build_batch_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectBuildBatchConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18370
18402
|
cache: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectCacheProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -18425,6 +18457,12 @@ def _typecheckingstub__1c380bec8add38a9402c557e44b425d5b187bcc5edacf6ce6379ab4da
|
|
|
18425
18457
|
"""Type checking stubs"""
|
|
18426
18458
|
pass
|
|
18427
18459
|
|
|
18460
|
+
def _typecheckingstub__982f9c7096ad20ce601ce4532b3b19f5ed1ae300d09c6f58822544aaae67a03b(
|
|
18461
|
+
value: typing.Optional[jsii.Number],
|
|
18462
|
+
) -> None:
|
|
18463
|
+
"""Type checking stubs"""
|
|
18464
|
+
pass
|
|
18465
|
+
|
|
18428
18466
|
def _typecheckingstub__b88d7a5e667269d00acc9148cb550d229e0c38feacefc2756938b6a6e77bd47b(
|
|
18429
18467
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
18430
18468
|
) -> None:
|
|
@@ -18752,6 +18790,7 @@ def _typecheckingstub__771488c432b07e7a9597fd7e3125dfaabba88ae360a8be97bedd4b41e
|
|
|
18752
18790
|
environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.EnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
18753
18791
|
service_role: builtins.str,
|
|
18754
18792
|
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
18793
|
+
auto_retry_limit: typing.Optional[jsii.Number] = None,
|
|
18755
18794
|
badge_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
18756
18795
|
build_batch_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectBuildBatchConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18757
18796
|
cache: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ProjectCacheProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3699,7 +3699,7 @@ class CfnPipeline(
|
|
|
3699
3699
|
) -> None:
|
|
3700
3700
|
'''The condition for the stage.
|
|
3701
3701
|
|
|
3702
|
-
A condition is made up of the rules and the result for the condition.
|
|
3702
|
+
A condition is made up of the rules and the result for the condition. For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ . For more information about rules, see the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
3703
3703
|
|
|
3704
3704
|
:param result: The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
|
|
3705
3705
|
:param rules: The rules that make up the condition.
|
|
@@ -4829,11 +4829,11 @@ class CfnPipeline(
|
|
|
4829
4829
|
) -> None:
|
|
4830
4830
|
'''Represents information about the rule to be created for an associated condition.
|
|
4831
4831
|
|
|
4832
|
-
An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.
|
|
4832
|
+
An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage. For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ . For more information about rules, see the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
4833
4833
|
|
|
4834
4834
|
:param configuration: The action configuration fields for the rule.
|
|
4835
4835
|
:param input_artifacts: The input artifacts fields for the rule, such as specifying an input file for the rule.
|
|
4836
|
-
:param name: The name of the rule that is created for the condition, such as
|
|
4836
|
+
:param name: The name of the rule that is created for the condition, such as ``VariableCheck`` .
|
|
4837
4837
|
:param region: The Region for the condition associated with the rule.
|
|
4838
4838
|
:param role_arn: The pipeline role ARN associated with the rule.
|
|
4839
4839
|
:param rule_type_id: The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
|
|
@@ -4909,7 +4909,7 @@ class CfnPipeline(
|
|
|
4909
4909
|
|
|
4910
4910
|
@builtins.property
|
|
4911
4911
|
def name(self) -> typing.Optional[builtins.str]:
|
|
4912
|
-
'''The name of the rule that is created for the condition, such as
|
|
4912
|
+
'''The name of the rule that is created for the condition, such as ``VariableCheck`` .
|
|
4913
4913
|
|
|
4914
4914
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-name
|
|
4915
4915
|
'''
|