aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 +528 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +1357 -120
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +163 -139
- aws_cdk/aws_autoscaling/__init__.py +96 -30
- aws_cdk/aws_bedrock/__init__.py +80 -44
- aws_cdk/aws_chatbot/__init__.py +803 -2
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +15 -7
- aws_cdk/aws_cloudtrail/__init__.py +802 -13
- 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 +1032 -43
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +454 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +976 -27
- aws_cdk/aws_ecs/__init__.py +37 -20
- aws_cdk/aws_eks/__init__.py +771 -0
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
- aws_cdk/aws_events/__init__.py +550 -30
- 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 +70 -26
- aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
- aws_cdk/aws_iotsitewise/__init__.py +158 -0
- 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 +272 -164
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +289 -0
- 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_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +2021 -67
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +170 -8
- aws_cdk/aws_resourcegroups/__init__.py +362 -4
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +297 -91
- aws_cdk/aws_route53resolver/__init__.py +19 -8
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +421 -9
- aws_cdk/aws_sagemaker/__init__.py +905 -119
- 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 +188 -41
- 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 +8509 -1502
- aws_cdk/aws_workspacesweb/__init__.py +1081 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
|
@@ -8308,16 +8308,21 @@ class MathExpression(
|
|
|
8308
8308
|
|
|
8309
8309
|
Example::
|
|
8310
8310
|
|
|
8311
|
-
#
|
|
8312
|
-
|
|
8311
|
+
# matchmaking_rule_set: gamelift.MatchmakingRuleSet
|
|
8313
8312
|
|
|
8314
|
-
|
|
8315
|
-
|
|
8313
|
+
# Alarm that triggers when the per-second average of not placed matches exceed 10%
|
|
8314
|
+
rule_evaluation_ratio = cloudwatch.MathExpression(
|
|
8315
|
+
expression="1 - (ruleEvaluationsPassed / ruleEvaluationsFailed)",
|
|
8316
8316
|
using_metrics={
|
|
8317
|
-
"
|
|
8318
|
-
"
|
|
8317
|
+
"rule_evaluations_passed": matchmaking_rule_set.metric_rule_evaluations_passed(statistic=cloudwatch.Statistic.SUM),
|
|
8318
|
+
"rule_evaluations_failed": matchmaking_rule_set.metric("ruleEvaluationsFailed")
|
|
8319
8319
|
}
|
|
8320
8320
|
)
|
|
8321
|
+
cloudwatch.Alarm(self, "Alarm",
|
|
8322
|
+
metric=rule_evaluation_ratio,
|
|
8323
|
+
threshold=0.1,
|
|
8324
|
+
evaluation_periods=3
|
|
8325
|
+
)
|
|
8321
8326
|
'''
|
|
8322
8327
|
|
|
8323
8328
|
def __init__(
|
|
@@ -8333,7 +8338,7 @@ class MathExpression(
|
|
|
8333
8338
|
) -> None:
|
|
8334
8339
|
'''
|
|
8335
8340
|
:param expression: The expression defining the metric. When an expression contains a SEARCH function, it cannot be used within an Alarm.
|
|
8336
|
-
:param using_metrics: The metrics used in the expression, in a map. The key is the identifier that represents the given metric in the expression, and the value is the actual Metric object. Default: - Empty map.
|
|
8341
|
+
:param using_metrics: The metrics used in the expression, in a map. The key is the identifier that represents the given metric in the expression, and the value is the actual Metric object. The ``period`` of each metric in ``usingMetrics`` is ignored and instead overridden by the ``period`` specified for the ``MathExpression`` construct. Even if no ``period`` is specified for the ``MathExpression``, it will be overridden by the default value (``Duration.minutes(5)``). Example:: declare const metrics: elbv2.IApplicationLoadBalancerMetrics; new cloudwatch.MathExpression({ expression: 'm1+m2', label: 'AlbErrors', usingMetrics: { m1: metrics.custom('HTTPCode_ELB_500_Count', { period: Duration.minutes(1), // <- This period will be ignored statistic: 'Sum', label: 'HTTPCode_ELB_500_Count', }), m2: metrics.custom('HTTPCode_ELB_502_Count', { period: Duration.minutes(1), // <- This period will be ignored statistic: 'Sum', label: 'HTTPCode_ELB_502_Count', }), }, period: Duration.minutes(3), // <- This overrides the period of each metric in `usingMetrics` // (Even if not specified, it is overridden by the default value) }); Default: - Empty map.
|
|
8337
8342
|
:param color: Color for this metric when added to a Graph in a Dashboard. Default: - Automatic color
|
|
8338
8343
|
:param label: Label for this expression when added to a Graph in a Dashboard. If this expression evaluates to more than one time series (for example, through the use of ``METRICS()`` or ``SEARCH()`` expressions), each time series will appear in the graph using a combination of the expression label and the individual metric label. Specify the empty string (``''``) to suppress the expression label and only keep the metric label. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. If the math expression produces more than one time series, the maximum will be shown for each individual time series produce by this math expression. Default: - Expression value is used as label
|
|
8339
8344
|
:param period: The period over which the expression's statistics are applied. This period overrides all periods in the metrics used in this math expression. Default: Duration.minutes(5)
|
|
@@ -8688,22 +8693,27 @@ class MathExpressionProps(MathExpressionOptions):
|
|
|
8688
8693
|
:param search_account: Account to evaluate search expressions within. Specifying a searchAccount has no effect to the account used for metrics within the expression (passed via usingMetrics). Default: - Deployment account.
|
|
8689
8694
|
:param search_region: Region to evaluate search expressions within. Specifying a searchRegion has no effect to the region used for metrics within the expression (passed via usingMetrics). Default: - Deployment region.
|
|
8690
8695
|
:param expression: The expression defining the metric. When an expression contains a SEARCH function, it cannot be used within an Alarm.
|
|
8691
|
-
:param using_metrics: The metrics used in the expression, in a map. The key is the identifier that represents the given metric in the expression, and the value is the actual Metric object. Default: - Empty map.
|
|
8696
|
+
:param using_metrics: The metrics used in the expression, in a map. The key is the identifier that represents the given metric in the expression, and the value is the actual Metric object. The ``period`` of each metric in ``usingMetrics`` is ignored and instead overridden by the ``period`` specified for the ``MathExpression`` construct. Even if no ``period`` is specified for the ``MathExpression``, it will be overridden by the default value (``Duration.minutes(5)``). Example:: declare const metrics: elbv2.IApplicationLoadBalancerMetrics; new cloudwatch.MathExpression({ expression: 'm1+m2', label: 'AlbErrors', usingMetrics: { m1: metrics.custom('HTTPCode_ELB_500_Count', { period: Duration.minutes(1), // <- This period will be ignored statistic: 'Sum', label: 'HTTPCode_ELB_500_Count', }), m2: metrics.custom('HTTPCode_ELB_502_Count', { period: Duration.minutes(1), // <- This period will be ignored statistic: 'Sum', label: 'HTTPCode_ELB_502_Count', }), }, period: Duration.minutes(3), // <- This overrides the period of each metric in `usingMetrics` // (Even if not specified, it is overridden by the default value) }); Default: - Empty map.
|
|
8692
8697
|
|
|
8693
8698
|
:exampleMetadata: infused
|
|
8694
8699
|
|
|
8695
8700
|
Example::
|
|
8696
8701
|
|
|
8697
|
-
#
|
|
8698
|
-
|
|
8702
|
+
# matchmaking_rule_set: gamelift.MatchmakingRuleSet
|
|
8699
8703
|
|
|
8700
|
-
|
|
8701
|
-
|
|
8704
|
+
# Alarm that triggers when the per-second average of not placed matches exceed 10%
|
|
8705
|
+
rule_evaluation_ratio = cloudwatch.MathExpression(
|
|
8706
|
+
expression="1 - (ruleEvaluationsPassed / ruleEvaluationsFailed)",
|
|
8702
8707
|
using_metrics={
|
|
8703
|
-
"
|
|
8704
|
-
"
|
|
8708
|
+
"rule_evaluations_passed": matchmaking_rule_set.metric_rule_evaluations_passed(statistic=cloudwatch.Statistic.SUM),
|
|
8709
|
+
"rule_evaluations_failed": matchmaking_rule_set.metric("ruleEvaluationsFailed")
|
|
8705
8710
|
}
|
|
8706
8711
|
)
|
|
8712
|
+
cloudwatch.Alarm(self, "Alarm",
|
|
8713
|
+
metric=rule_evaluation_ratio,
|
|
8714
|
+
threshold=0.1,
|
|
8715
|
+
evaluation_periods=3
|
|
8716
|
+
)
|
|
8707
8717
|
'''
|
|
8708
8718
|
if __debug__:
|
|
8709
8719
|
type_hints = typing.get_type_hints(_typecheckingstub__7cfb588e44acd0977aa0e09f00c3e2435bad84385ab7b6d163b332963d844e0a)
|
|
@@ -8821,6 +8831,33 @@ class MathExpressionProps(MathExpressionOptions):
|
|
|
8821
8831
|
The key is the identifier that represents the given metric in the
|
|
8822
8832
|
expression, and the value is the actual Metric object.
|
|
8823
8833
|
|
|
8834
|
+
The ``period`` of each metric in ``usingMetrics`` is ignored and instead overridden
|
|
8835
|
+
by the ``period`` specified for the ``MathExpression`` construct. Even if no ``period``
|
|
8836
|
+
is specified for the ``MathExpression``, it will be overridden by the default
|
|
8837
|
+
value (``Duration.minutes(5)``).
|
|
8838
|
+
|
|
8839
|
+
Example::
|
|
8840
|
+
|
|
8841
|
+
# metrics: elbv2.IApplicationLoadBalancerMetrics
|
|
8842
|
+
|
|
8843
|
+
cloudwatch.MathExpression(
|
|
8844
|
+
expression="m1+m2",
|
|
8845
|
+
label="AlbErrors",
|
|
8846
|
+
using_metrics={
|
|
8847
|
+
"m1": metrics.custom("HTTPCode_ELB_500_Count",
|
|
8848
|
+
period=Duration.minutes(1), # <- This period will be ignored
|
|
8849
|
+
statistic="Sum",
|
|
8850
|
+
label="HTTPCode_ELB_500_Count"
|
|
8851
|
+
),
|
|
8852
|
+
"m2": metrics.custom("HTTPCode_ELB_502_Count",
|
|
8853
|
+
period=Duration.minutes(1), # <- This period will be ignored
|
|
8854
|
+
statistic="Sum",
|
|
8855
|
+
label="HTTPCode_ELB_502_Count"
|
|
8856
|
+
)
|
|
8857
|
+
},
|
|
8858
|
+
period=Duration.minutes(3)
|
|
8859
|
+
)
|
|
8860
|
+
|
|
8824
8861
|
:default: - Empty map.
|
|
8825
8862
|
'''
|
|
8826
8863
|
result = self._values.get("using_metrics")
|
|
@@ -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
|
'''
|