aws-cdk-lib 2.176.0__py3-none-any.whl → 2.178.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 +106 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +97 -97
- aws_cdk/aws_apigatewayv2/__init__.py +35 -10
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
- aws_cdk/aws_appconfig/__init__.py +10 -10
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_applicationsignals/__init__.py +8 -8
- aws_cdk/aws_appmesh/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10387 -7038
- aws_cdk/aws_apptest/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +135 -0
- aws_cdk/aws_athena/__init__.py +10 -10
- aws_cdk/aws_backup/__init__.py +14 -14
- aws_cdk/aws_batch/__init__.py +189 -24
- aws_cdk/aws_bcmdataexports/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +5494 -2518
- aws_cdk/aws_certificatemanager/__init__.py +15 -14
- aws_cdk/aws_chatbot/__init__.py +4 -4
- aws_cdk/aws_cloudformation/__init__.py +22 -18
- aws_cdk/aws_cloudfront/__init__.py +686 -9
- aws_cdk/aws_cloudfront_origins/__init__.py +73 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +53 -53
- aws_cdk/aws_codedeploy/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +59 -6
- aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
- aws_cdk/aws_cognito/__init__.py +204 -159
- aws_cdk/aws_connect/__init__.py +4 -4
- aws_cdk/aws_customerprofiles/__init__.py +6 -4
- aws_cdk/aws_databrew/__init__.py +16 -16
- aws_cdk/aws_datasync/__init__.py +14 -11
- aws_cdk/aws_datazone/__init__.py +199 -129
- aws_cdk/aws_dms/__init__.py +4 -4
- aws_cdk/aws_dynamodb/__init__.py +267 -25
- aws_cdk/aws_ec2/__init__.py +1142 -184
- aws_cdk/aws_ecs/__init__.py +767 -124
- aws_cdk/aws_ecs_patterns/__init__.py +49 -0
- aws_cdk/aws_efs/__init__.py +8 -8
- aws_cdk/aws_eks/__init__.py +55 -35
- aws_cdk/aws_elasticache/__init__.py +10 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
- aws_cdk/aws_elasticsearch/__init__.py +10 -10
- aws_cdk/aws_emr/__init__.py +16 -16
- aws_cdk/aws_emrserverless/__init__.py +93 -4
- aws_cdk/aws_entityresolution/__init__.py +31 -17
- aws_cdk/aws_events/__init__.py +12 -12
- aws_cdk/aws_fis/__init__.py +16 -16
- aws_cdk/aws_fms/__init__.py +46 -0
- aws_cdk/aws_gamelift/__init__.py +8 -10
- aws_cdk/aws_glue/__init__.py +1326 -7
- aws_cdk/aws_greengrassv2/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +521 -0
- aws_cdk/aws_healthlake/__init__.py +10 -2
- aws_cdk/aws_iam/__init__.py +8 -0
- aws_cdk/aws_imagebuilder/__init__.py +88 -74
- aws_cdk/aws_iot/__init__.py +40 -40
- aws_cdk/aws_iotanalytics/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +424 -10
- aws_cdk/aws_iotsitewise/__init__.py +84 -13
- aws_cdk/aws_iottwinmaker/__init__.py +18 -18
- aws_cdk/aws_iotwireless/__init__.py +4 -4
- aws_cdk/aws_kafkaconnect/__init__.py +10 -10
- aws_cdk/aws_kendra/__init__.py +0 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
- aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
- aws_cdk/aws_kms/__init__.py +11 -10
- aws_cdk/aws_lambda/__init__.py +47 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
- aws_cdk/aws_launchwizard/__init__.py +10 -10
- aws_cdk/aws_logs/__init__.py +78 -74
- aws_cdk/aws_mediaconnect/__init__.py +509 -12
- aws_cdk/aws_medialive/__init__.py +16 -16
- aws_cdk/aws_mediatailor/__init__.py +10 -10
- aws_cdk/aws_networkfirewall/__init__.py +12 -12
- aws_cdk/aws_notifications/__init__.py +1927 -0
- aws_cdk/aws_notificationscontacts/__init__.py +593 -0
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +10 -10
- aws_cdk/aws_opsworks/__init__.py +58 -58
- aws_cdk/aws_personalize/__init__.py +8 -8
- aws_cdk/aws_pipes/__init__.py +20 -20
- aws_cdk/aws_qbusiness/__init__.py +119 -0
- aws_cdk/aws_quicksight/__init__.py +247 -92
- aws_cdk/aws_rds/__init__.py +37 -37
- aws_cdk/aws_redshift/__init__.py +19 -15
- aws_cdk/aws_resiliencehub/__init__.py +0 -41
- aws_cdk/aws_route53/__init__.py +10 -4
- aws_cdk/aws_route53_targets/__init__.py +15 -15
- aws_cdk/aws_rum/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +801 -2
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +84 -60
- aws_cdk/aws_sam/__init__.py +48 -48
- aws_cdk/aws_secretsmanager/__init__.py +30 -14
- aws_cdk/aws_securityhub/__init__.py +12 -12
- aws_cdk/aws_sns/__init__.py +137 -12
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
- aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
- aws_cdk/aws_synthetics/__init__.py +109 -36
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_transfer/__init__.py +9 -10
- aws_cdk/aws_wafv2/__init__.py +24 -22
- aws_cdk/aws_wisdom/__init__.py +8 -8
- aws_cdk/aws_workspacesweb/__init__.py +60 -60
- aws_cdk/aws_xray/__init__.py +8 -8
- aws_cdk/cloud_assembly_schema/__init__.py +63 -4
- aws_cdk/cx_api/__init__.py +62 -4
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +120 -118
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
|
@@ -2499,6 +2499,7 @@ class CfnPipeline(
|
|
|
2499
2499
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
2500
2500
|
result="result",
|
|
2501
2501
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
2502
|
+
commands=["commands"],
|
|
2502
2503
|
configuration=configuration,
|
|
2503
2504
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
2504
2505
|
name="name"
|
|
@@ -2523,6 +2524,7 @@ class CfnPipeline(
|
|
|
2523
2524
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
2524
2525
|
result="result",
|
|
2525
2526
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
2527
|
+
commands=["commands"],
|
|
2526
2528
|
configuration=configuration,
|
|
2527
2529
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
2528
2530
|
name="name"
|
|
@@ -2547,6 +2549,7 @@ class CfnPipeline(
|
|
|
2547
2549
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
2548
2550
|
result="result",
|
|
2549
2551
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
2552
|
+
commands=["commands"],
|
|
2550
2553
|
configuration=configuration,
|
|
2551
2554
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
2552
2555
|
name="name"
|
|
@@ -3557,6 +3560,8 @@ class CfnPipeline(
|
|
|
3557
3560
|
) -> None:
|
|
3558
3561
|
'''The conditions for making checks for entry to a stage.
|
|
3559
3562
|
|
|
3563
|
+
For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .
|
|
3564
|
+
|
|
3560
3565
|
:param conditions: The conditions that are configured as entry conditions.
|
|
3561
3566
|
|
|
3562
3567
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html
|
|
@@ -3574,6 +3579,7 @@ class CfnPipeline(
|
|
|
3574
3579
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
3575
3580
|
result="result",
|
|
3576
3581
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
3582
|
+
commands=["commands"],
|
|
3577
3583
|
configuration=configuration,
|
|
3578
3584
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
3579
3585
|
name="name"
|
|
@@ -3700,7 +3706,7 @@ class CfnPipeline(
|
|
|
3700
3706
|
) -> None:
|
|
3701
3707
|
'''The condition for the stage.
|
|
3702
3708
|
|
|
3703
|
-
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>`_ .
|
|
3709
|
+
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>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .. For more information about rules, see the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
3704
3710
|
|
|
3705
3711
|
:param result: The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
|
|
3706
3712
|
:param rules: The rules that make up the condition.
|
|
@@ -3719,6 +3725,7 @@ class CfnPipeline(
|
|
|
3719
3725
|
condition_property = codepipeline.CfnPipeline.ConditionProperty(
|
|
3720
3726
|
result="result",
|
|
3721
3727
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
3728
|
+
commands=["commands"],
|
|
3722
3729
|
configuration=configuration,
|
|
3723
3730
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
3724
3731
|
name="name"
|
|
@@ -3872,7 +3879,9 @@ class CfnPipeline(
|
|
|
3872
3879
|
) -> None:
|
|
3873
3880
|
'''The configuration that specifies the result, such as rollback, to occur upon stage failure.
|
|
3874
3881
|
|
|
3875
|
-
|
|
3882
|
+
For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .
|
|
3883
|
+
|
|
3884
|
+
:param conditions: The conditions that are configured as failure conditions. For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .
|
|
3876
3885
|
:param result: The specified result for when the failure conditions are met, such as rolling back the stage.
|
|
3877
3886
|
:param retry_configuration: The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.
|
|
3878
3887
|
|
|
@@ -3891,6 +3900,7 @@ class CfnPipeline(
|
|
|
3891
3900
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
3892
3901
|
result="result",
|
|
3893
3902
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
3903
|
+
commands=["commands"],
|
|
3894
3904
|
configuration=configuration,
|
|
3895
3905
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
3896
3906
|
name="name"
|
|
@@ -3931,6 +3941,8 @@ class CfnPipeline(
|
|
|
3931
3941
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]]:
|
|
3932
3942
|
'''The conditions that are configured as failure conditions.
|
|
3933
3943
|
|
|
3944
|
+
For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .
|
|
3945
|
+
|
|
3934
3946
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-conditions
|
|
3935
3947
|
'''
|
|
3936
3948
|
result = self._values.get("conditions")
|
|
@@ -4254,8 +4266,14 @@ class CfnPipeline(
|
|
|
4254
4266
|
) -> None:
|
|
4255
4267
|
'''The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.
|
|
4256
4268
|
|
|
4269
|
+
The following are valid values for the events for this filter:
|
|
4270
|
+
|
|
4271
|
+
- CLOSED
|
|
4272
|
+
- OPEN
|
|
4273
|
+
- UPDATED
|
|
4274
|
+
|
|
4257
4275
|
:param branches: The field that specifies to filter on branches for the pull request trigger configuration.
|
|
4258
|
-
:param events: The field that specifies which pull request events to filter on (
|
|
4276
|
+
:param events: The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration.
|
|
4259
4277
|
:param file_paths: The field that specifies to filter on file paths for the pull request trigger configuration.
|
|
4260
4278
|
|
|
4261
4279
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html
|
|
@@ -4305,7 +4323,7 @@ class CfnPipeline(
|
|
|
4305
4323
|
|
|
4306
4324
|
@builtins.property
|
|
4307
4325
|
def events(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4308
|
-
'''The field that specifies which pull request events to filter on (
|
|
4326
|
+
'''The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration.
|
|
4309
4327
|
|
|
4310
4328
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html#cfn-codepipeline-pipeline-gitpullrequestfilter-events
|
|
4311
4329
|
'''
|
|
@@ -4809,6 +4827,7 @@ class CfnPipeline(
|
|
|
4809
4827
|
jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.RuleDeclarationProperty",
|
|
4810
4828
|
jsii_struct_bases=[],
|
|
4811
4829
|
name_mapping={
|
|
4830
|
+
"commands": "commands",
|
|
4812
4831
|
"configuration": "configuration",
|
|
4813
4832
|
"input_artifacts": "inputArtifacts",
|
|
4814
4833
|
"name": "name",
|
|
@@ -4821,6 +4840,7 @@ class CfnPipeline(
|
|
|
4821
4840
|
def __init__(
|
|
4822
4841
|
self,
|
|
4823
4842
|
*,
|
|
4843
|
+
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4824
4844
|
configuration: typing.Any = None,
|
|
4825
4845
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.InputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4826
4846
|
name: typing.Optional[builtins.str] = None,
|
|
@@ -4830,8 +4850,9 @@ class CfnPipeline(
|
|
|
4830
4850
|
) -> None:
|
|
4831
4851
|
'''Represents information about the rule to be created for an associated condition.
|
|
4832
4852
|
|
|
4833
|
-
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>`_ .
|
|
4853
|
+
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>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ . For more information about rules, see the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
4834
4854
|
|
|
4855
|
+
:param commands: The shell commands to run with your commands rule in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .
|
|
4835
4856
|
:param configuration: The action configuration fields for the rule.
|
|
4836
4857
|
:param input_artifacts: The input artifacts fields for the rule, such as specifying an input file for the rule.
|
|
4837
4858
|
:param name: The name of the rule that is created for the condition, such as ``VariableCheck`` .
|
|
@@ -4851,6 +4872,7 @@ class CfnPipeline(
|
|
|
4851
4872
|
# configuration: Any
|
|
4852
4873
|
|
|
4853
4874
|
rule_declaration_property = codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
4875
|
+
commands=["commands"],
|
|
4854
4876
|
configuration=configuration,
|
|
4855
4877
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
4856
4878
|
name="name"
|
|
@@ -4868,6 +4890,7 @@ class CfnPipeline(
|
|
|
4868
4890
|
'''
|
|
4869
4891
|
if __debug__:
|
|
4870
4892
|
type_hints = typing.get_type_hints(_typecheckingstub__8b4c62f005bd4f9080fa5e8c7f7671821e7ac1c9314d5d3b1130fbf53e40fa51)
|
|
4893
|
+
check_type(argname="argument commands", value=commands, expected_type=type_hints["commands"])
|
|
4871
4894
|
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
4872
4895
|
check_type(argname="argument input_artifacts", value=input_artifacts, expected_type=type_hints["input_artifacts"])
|
|
4873
4896
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
@@ -4875,6 +4898,8 @@ class CfnPipeline(
|
|
|
4875
4898
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
4876
4899
|
check_type(argname="argument rule_type_id", value=rule_type_id, expected_type=type_hints["rule_type_id"])
|
|
4877
4900
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4901
|
+
if commands is not None:
|
|
4902
|
+
self._values["commands"] = commands
|
|
4878
4903
|
if configuration is not None:
|
|
4879
4904
|
self._values["configuration"] = configuration
|
|
4880
4905
|
if input_artifacts is not None:
|
|
@@ -4888,6 +4913,20 @@ class CfnPipeline(
|
|
|
4888
4913
|
if rule_type_id is not None:
|
|
4889
4914
|
self._values["rule_type_id"] = rule_type_id
|
|
4890
4915
|
|
|
4916
|
+
@builtins.property
|
|
4917
|
+
def commands(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4918
|
+
'''The shell commands to run with your commands rule in CodePipeline.
|
|
4919
|
+
|
|
4920
|
+
All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.
|
|
4921
|
+
.. epigraph::
|
|
4922
|
+
|
|
4923
|
+
Using compute time for this action will incur separate charges in AWS CodeBuild .
|
|
4924
|
+
|
|
4925
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-commands
|
|
4926
|
+
'''
|
|
4927
|
+
result = self._values.get("commands")
|
|
4928
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
4929
|
+
|
|
4891
4930
|
@builtins.property
|
|
4892
4931
|
def configuration(self) -> typing.Any:
|
|
4893
4932
|
'''The action configuration fields for the rule.
|
|
@@ -4978,9 +5017,11 @@ class CfnPipeline(
|
|
|
4978
5017
|
) -> None:
|
|
4979
5018
|
'''The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
|
|
4980
5019
|
|
|
5020
|
+
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>`_ .
|
|
5021
|
+
|
|
4981
5022
|
:param category: A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is ``Rule`` .
|
|
4982
5023
|
:param owner: The creator of the rule being called. The valid value for the ``Owner`` field in the rule category is ``AWS`` .
|
|
4983
|
-
:param provider: The rule provider, such as the ``DeploymentWindow`` rule.
|
|
5024
|
+
:param provider: The rule provider, such as the ``DeploymentWindow`` rule. For a list of rule provider names, see the rules listed in the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
4984
5025
|
:param version: A string that describes the rule version.
|
|
4985
5026
|
|
|
4986
5027
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html
|
|
@@ -5041,6 +5082,8 @@ class CfnPipeline(
|
|
|
5041
5082
|
def provider(self) -> typing.Optional[builtins.str]:
|
|
5042
5083
|
'''The rule provider, such as the ``DeploymentWindow`` rule.
|
|
5043
5084
|
|
|
5085
|
+
For a list of rule provider names, see the rules listed in the `AWS CodePipeline rule reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html>`_ .
|
|
5086
|
+
|
|
5044
5087
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-provider
|
|
5045
5088
|
'''
|
|
5046
5089
|
result = self._values.get("provider")
|
|
@@ -5145,6 +5188,7 @@ class CfnPipeline(
|
|
|
5145
5188
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5146
5189
|
result="result",
|
|
5147
5190
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5191
|
+
commands=["commands"],
|
|
5148
5192
|
configuration=configuration,
|
|
5149
5193
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5150
5194
|
name="name"
|
|
@@ -5169,6 +5213,7 @@ class CfnPipeline(
|
|
|
5169
5213
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5170
5214
|
result="result",
|
|
5171
5215
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5216
|
+
commands=["commands"],
|
|
5172
5217
|
configuration=configuration,
|
|
5173
5218
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5174
5219
|
name="name"
|
|
@@ -5193,6 +5238,7 @@ class CfnPipeline(
|
|
|
5193
5238
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5194
5239
|
result="result",
|
|
5195
5240
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5241
|
+
commands=["commands"],
|
|
5196
5242
|
configuration=configuration,
|
|
5197
5243
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5198
5244
|
name="name"
|
|
@@ -5396,6 +5442,8 @@ class CfnPipeline(
|
|
|
5396
5442
|
) -> None:
|
|
5397
5443
|
'''The conditions for making checks that, if met, succeed a stage.
|
|
5398
5444
|
|
|
5445
|
+
For more information about conditions, see `Stage conditions <https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html>`_ and `How do stage conditions work? <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html>`_ .
|
|
5446
|
+
|
|
5399
5447
|
:param conditions: The conditions that are success conditions.
|
|
5400
5448
|
|
|
5401
5449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html
|
|
@@ -5413,6 +5461,7 @@ class CfnPipeline(
|
|
|
5413
5461
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5414
5462
|
result="result",
|
|
5415
5463
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5464
|
+
commands=["commands"],
|
|
5416
5465
|
configuration=configuration,
|
|
5417
5466
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5418
5467
|
name="name"
|
|
@@ -5653,6 +5702,7 @@ class CfnPipelineProps:
|
|
|
5653
5702
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5654
5703
|
result="result",
|
|
5655
5704
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5705
|
+
commands=["commands"],
|
|
5656
5706
|
configuration=configuration,
|
|
5657
5707
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5658
5708
|
name="name"
|
|
@@ -5677,6 +5727,7 @@ class CfnPipelineProps:
|
|
|
5677
5727
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5678
5728
|
result="result",
|
|
5679
5729
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5730
|
+
commands=["commands"],
|
|
5680
5731
|
configuration=configuration,
|
|
5681
5732
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5682
5733
|
name="name"
|
|
@@ -5701,6 +5752,7 @@ class CfnPipelineProps:
|
|
|
5701
5752
|
conditions=[codepipeline.CfnPipeline.ConditionProperty(
|
|
5702
5753
|
result="result",
|
|
5703
5754
|
rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
|
|
5755
|
+
commands=["commands"],
|
|
5704
5756
|
configuration=configuration,
|
|
5705
5757
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5706
5758
|
name="name"
|
|
@@ -10978,6 +11030,7 @@ def _typecheckingstub__ffc8deb7765afd70d3fe572ffa86634cd8936e44aafd092f3182c532d
|
|
|
10978
11030
|
|
|
10979
11031
|
def _typecheckingstub__8b4c62f005bd4f9080fa5e8c7f7671821e7ac1c9314d5d3b1130fbf53e40fa51(
|
|
10980
11032
|
*,
|
|
11033
|
+
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10981
11034
|
configuration: typing.Any = None,
|
|
10982
11035
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.InputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10983
11036
|
name: typing.Optional[builtins.str] = None,
|
|
@@ -104,7 +104,7 @@ a `customEventRule` which needs an event pattern (see [here](https://docs.aws.am
|
|
|
104
104
|
|
|
105
105
|
```python
|
|
106
106
|
# repo: codecommit.Repository
|
|
107
|
-
#
|
|
107
|
+
# lambda_function: lambda.Function
|
|
108
108
|
event_pattern = {
|
|
109
109
|
"detail-type": ["CodeCommit Repository State Change"],
|
|
110
110
|
"resources": ["foo"],
|
|
@@ -122,7 +122,7 @@ source_action = codepipeline_actions.CodeCommitSourceAction(
|
|
|
122
122
|
output=source_output,
|
|
123
123
|
custom_event_rule={
|
|
124
124
|
"event_pattern": event_pattern,
|
|
125
|
-
"target": targets.LambdaFunction(
|
|
125
|
+
"target": targets.LambdaFunction(lambda_function)
|
|
126
126
|
}
|
|
127
127
|
)
|
|
128
128
|
```
|