aws-cdk-lib 2.73.0__py3-none-any.whl → 2.76.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.

Files changed (111) hide show
  1. aws_cdk/__init__.py +245 -259
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
  5. aws_cdk/aws_apigateway/__init__.py +95 -148
  6. aws_cdk/aws_appconfig/__init__.py +8 -4
  7. aws_cdk/aws_appflow/__init__.py +27 -52
  8. aws_cdk/aws_appmesh/__init__.py +91 -200
  9. aws_cdk/aws_apprunner/__init__.py +4 -16
  10. aws_cdk/aws_appstream/__init__.py +18 -82
  11. aws_cdk/aws_athena/__init__.py +18 -32
  12. aws_cdk/aws_backup/__init__.py +48 -86
  13. aws_cdk/aws_batch/__init__.py +9 -2
  14. aws_cdk/aws_billingconductor/__init__.py +12 -7
  15. aws_cdk/aws_budgets/__init__.py +8 -17
  16. aws_cdk/aws_certificatemanager/__init__.py +7 -4
  17. aws_cdk/aws_cloudfront/__init__.py +14 -11
  18. aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
  19. aws_cdk/aws_cloudtrail/__init__.py +7 -14
  20. aws_cdk/aws_cloudwatch/__init__.py +63 -35
  21. aws_cdk/aws_codebuild/__init__.py +10 -13
  22. aws_cdk/aws_codecommit/__init__.py +0 -1
  23. aws_cdk/aws_codedeploy/__init__.py +165 -162
  24. aws_cdk/aws_codegurureviewer/__init__.py +4 -4
  25. aws_cdk/aws_codepipeline/__init__.py +0 -4
  26. aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
  27. aws_cdk/aws_cognito/__init__.py +195 -100
  28. aws_cdk/aws_config/__init__.py +28 -51
  29. aws_cdk/aws_connectcampaigns/__init__.py +5 -6
  30. aws_cdk/aws_databrew/__init__.py +5 -6
  31. aws_cdk/aws_dlm/__init__.py +33 -71
  32. aws_cdk/aws_docdb/__init__.py +20 -76
  33. aws_cdk/aws_dynamodb/__init__.py +29 -22
  34. aws_cdk/aws_ec2/__init__.py +2414 -603
  35. aws_cdk/aws_ecr/__init__.py +1 -2
  36. aws_cdk/aws_ecr_assets/__init__.py +27 -14
  37. aws_cdk/aws_ecs/__init__.py +458 -163
  38. aws_cdk/aws_ecs_patterns/__init__.py +13 -11
  39. aws_cdk/aws_eks/__init__.py +13 -8
  40. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
  41. aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
  42. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
  43. aws_cdk/aws_elasticsearch/__init__.py +0 -7
  44. aws_cdk/aws_emr/__init__.py +7 -16
  45. aws_cdk/aws_emrserverless/__init__.py +14 -18
  46. aws_cdk/aws_events/__init__.py +33 -29
  47. aws_cdk/aws_events_targets/__init__.py +248 -89
  48. aws_cdk/aws_frauddetector/__init__.py +3 -4
  49. aws_cdk/aws_fsx/__init__.py +13 -7
  50. aws_cdk/aws_gamelift/__init__.py +11 -20
  51. aws_cdk/aws_grafana/__init__.py +4 -4
  52. aws_cdk/aws_iam/__init__.py +21 -25
  53. aws_cdk/aws_imagebuilder/__init__.py +58 -80
  54. aws_cdk/aws_internetmonitor/__init__.py +18 -10
  55. aws_cdk/aws_iot/__init__.py +16 -10
  56. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
  57. aws_cdk/aws_iotevents/__init__.py +6 -4
  58. aws_cdk/aws_iotfleetwise/__init__.py +27 -40
  59. aws_cdk/aws_iotsitewise/__init__.py +8 -5
  60. aws_cdk/aws_iotwireless/__init__.py +14 -9
  61. aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
  62. aws_cdk/aws_lambda/__init__.py +76 -53
  63. aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
  64. aws_cdk/aws_logs/__init__.py +5 -7
  65. aws_cdk/aws_macie/__init__.py +28 -23
  66. aws_cdk/aws_mediaconnect/__init__.py +5 -8
  67. aws_cdk/aws_mediaconvert/__init__.py +2 -2
  68. aws_cdk/aws_medialive/__init__.py +2 -4
  69. aws_cdk/aws_mediapackage/__init__.py +9 -18
  70. aws_cdk/aws_memorydb/__init__.py +5 -10
  71. aws_cdk/aws_mwaa/__init__.py +8 -4
  72. aws_cdk/aws_neptune/__init__.py +4 -4
  73. aws_cdk/aws_networkfirewall/__init__.py +8 -4
  74. aws_cdk/aws_networkmanager/__init__.py +4 -4
  75. aws_cdk/aws_nimblestudio/__init__.py +25 -45
  76. aws_cdk/aws_opensearchservice/__init__.py +0 -1
  77. aws_cdk/aws_panorama/__init__.py +11 -12
  78. aws_cdk/aws_personalize/__init__.py +46 -72
  79. aws_cdk/aws_pinpoint/__init__.py +36 -65
  80. aws_cdk/aws_quicksight/__init__.py +9972 -13374
  81. aws_cdk/aws_rds/__init__.py +53 -22
  82. aws_cdk/aws_route53/__init__.py +8 -16
  83. aws_cdk/aws_route53_targets/__init__.py +2 -4
  84. aws_cdk/aws_s3/__init__.py +41 -90
  85. aws_cdk/aws_s3_notifications/__init__.py +0 -3
  86. aws_cdk/aws_sagemaker/__init__.py +16 -10
  87. aws_cdk/aws_secretsmanager/__init__.py +17 -14
  88. aws_cdk/aws_servicecatalog/__init__.py +60 -83
  89. aws_cdk/aws_servicediscovery/__init__.py +4 -6
  90. aws_cdk/aws_ses/__init__.py +734 -28
  91. aws_cdk/aws_sns/__init__.py +4 -8
  92. aws_cdk/aws_ssm/__init__.py +19 -23
  93. aws_cdk/aws_ssmcontacts/__init__.py +10 -6
  94. aws_cdk/aws_ssmincidents/__init__.py +2 -1
  95. aws_cdk/aws_sso/__init__.py +4 -4
  96. aws_cdk/aws_stepfunctions/__init__.py +6 -15
  97. aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
  98. aws_cdk/aws_timestream/__init__.py +22 -28
  99. aws_cdk/aws_transfer/__init__.py +188 -86
  100. aws_cdk/aws_wafv2/__init__.py +54 -38
  101. aws_cdk/aws_xray/__init__.py +15 -22
  102. aws_cdk/cloud_assembly_schema/__init__.py +14 -6
  103. aws_cdk/custom_resources/__init__.py +2 -3
  104. aws_cdk/pipelines/__init__.py +104 -134
  105. aws_cdk/triggers/__init__.py +46 -61
  106. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
  107. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
  108. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
  109. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
  110. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
  111. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,6 @@ import aws_cdk.aws_codepipeline_actions as codepipeline_actions
15
15
  To use a CodeCommit Repository in a CodePipeline:
16
16
 
17
17
  ```python
18
- # Example automatically generated from non-compiling source. May contain errors.
19
18
  repo = codecommit.Repository(self, "Repo",
20
19
  repository_name="MyRepo"
21
20
  )
@@ -39,7 +38,6 @@ If you want to use existing role which can be used by on commit event rule.
39
38
  You can specify the role object in eventRole property.
40
39
 
41
40
  ```python
42
- # Example automatically generated from non-compiling source. May contain errors.
43
41
  # repo: codecommit.Repository
44
42
  event_role = iam.Role.from_role_arn(self, "Event-role", "roleArn")
45
43
  source_action = codepipeline_actions.CodeCommitSourceAction(
@@ -54,7 +52,6 @@ If you want to clone the entire CodeCommit repository (only available for CodeBu
54
52
  you can set the `codeBuildCloneOutput` property to `true`:
55
53
 
56
54
  ```python
57
- # Example automatically generated from non-compiling source. May contain errors.
58
55
  # project: codebuild.PipelineProject
59
56
  # repo: codecommit.Repository
60
57
 
@@ -77,7 +74,6 @@ build_action = codepipeline_actions.CodeBuildAction(
77
74
  The CodeCommit source action emits variables:
78
75
 
79
76
  ```python
80
- # Example automatically generated from non-compiling source. May contain errors.
81
77
  # project: codebuild.PipelineProject
82
78
  # repo: codecommit.Repository
83
79
 
@@ -120,7 +116,6 @@ If you want to use a GitHub repository as the source, you must create:
120
116
  To use GitHub as the source of a CodePipeline:
121
117
 
122
118
  ```python
123
- # Example automatically generated from non-compiling source. May contain errors.
124
119
  # Read the secret from Secrets Manager
125
120
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
126
121
  source_output = codepipeline.Artifact()
@@ -141,7 +136,6 @@ pipeline.add_stage(
141
136
  The GitHub source action emits variables:
142
137
 
143
138
  ```python
144
- # Example automatically generated from non-compiling source. May contain errors.
145
139
  # source_output: codepipeline.Artifact
146
140
  # project: codebuild.PipelineProject
147
141
 
@@ -186,7 +180,6 @@ After that, you can safely abort creating or editing the pipeline -
186
180
  the connection has already been created.
187
181
 
188
182
  ```python
189
- # Example automatically generated from non-compiling source. May contain errors.
190
183
  source_output = codepipeline.Artifact()
191
184
  source_action = codepipeline_actions.CodeStarConnectionsSourceAction(
192
185
  action_name="BitBucket_Source",
@@ -203,7 +196,6 @@ You can also use the `CodeStarConnectionsSourceAction` to connect to GitHub, in
203
196
  Similarly to `GitHubSourceAction`, `CodeStarConnectionsSourceAction` also emits the variables:
204
197
 
205
198
  ```python
206
- # Example automatically generated from non-compiling source. May contain errors.
207
199
  # project: codebuild.Project
208
200
 
209
201
 
@@ -236,7 +228,6 @@ codepipeline_actions.CodeBuildAction(
236
228
  To use an S3 Bucket as a source in CodePipeline:
237
229
 
238
230
  ```python
239
- # Example automatically generated from non-compiling source. May contain errors.
240
231
  source_bucket = s3.Bucket(self, "MyBucket",
241
232
  versioned=True
242
233
  )
@@ -262,7 +253,6 @@ for an imported bucket,
262
253
  you can specify the region explicitly:
263
254
 
264
255
  ```python
265
- # Example automatically generated from non-compiling source. May contain errors.
266
256
  source_bucket = s3.Bucket.from_bucket_attributes(self, "SourceBucket",
267
257
  bucket_name="my-bucket",
268
258
  region="ap-southeast-1"
@@ -278,7 +268,6 @@ and your Pipeline will not react to changes in the Bucket.
278
268
  You can do it through the CDK:
279
269
 
280
270
  ```python
281
- # Example automatically generated from non-compiling source. May contain errors.
282
271
  import aws_cdk.aws_cloudtrail as cloudtrail
283
272
 
284
273
  # source_bucket: s3.Bucket
@@ -304,7 +293,6 @@ source_action = codepipeline_actions.S3SourceAction(
304
293
  The S3 source action emits variables:
305
294
 
306
295
  ```python
307
- # Example automatically generated from non-compiling source. May contain errors.
308
296
  # source_bucket: s3.Bucket
309
297
 
310
298
  # later:
@@ -335,7 +323,6 @@ codepipeline_actions.CodeBuildAction(
335
323
  To use an ECR Repository as a source in a Pipeline:
336
324
 
337
325
  ```python
338
- # Example automatically generated from non-compiling source. May contain errors.
339
326
  import aws_cdk.aws_ecr as ecr
340
327
 
341
328
  # ecr_repository: ecr.Repository
@@ -357,7 +344,6 @@ pipeline.add_stage(
357
344
  The ECR source action emits variables:
358
345
 
359
346
  ```python
360
- # Example automatically generated from non-compiling source. May contain errors.
361
347
  import aws_cdk.aws_ecr as ecr
362
348
  # ecr_repository: ecr.Repository
363
349
 
@@ -391,7 +377,6 @@ codepipeline_actions.CodeBuildAction(
391
377
  Example of a CodeBuild Project used in a Pipeline, alongside CodeCommit:
392
378
 
393
379
  ```python
394
- # Example automatically generated from non-compiling source. May contain errors.
395
380
  # project: codebuild.PipelineProject
396
381
 
397
382
  repository = codecommit.Repository(self, "MyRepository",
@@ -431,7 +416,6 @@ if you want a `Test` Action instead,
431
416
  override the `type` property:
432
417
 
433
418
  ```python
434
- # Example automatically generated from non-compiling source. May contain errors.
435
419
  # project: codebuild.PipelineProject
436
420
 
437
421
  source_output = codepipeline.Artifact()
@@ -452,7 +436,6 @@ properties of the `Project` class, you need to use the `extraInputs` and
452
436
  Actions. Example:
453
437
 
454
438
  ```python
455
- # Example automatically generated from non-compiling source. May contain errors.
456
439
  # repository1: codecommit.Repository
457
440
  # repository2: codecommit.Repository
458
441
 
@@ -492,7 +475,6 @@ above, so that you know what name to use in the buildspec.
492
475
  Example buildspec for the above project:
493
476
 
494
477
  ```python
495
- # Example automatically generated from non-compiling source. May contain errors.
496
478
  project = codebuild.PipelineProject(self, "MyProject",
497
479
  build_spec=codebuild.BuildSpec.from_object({
498
480
  "version": "0.2",
@@ -520,7 +502,6 @@ in the 'exported-variables' subsection of the 'env' section.
520
502
  Example:
521
503
 
522
504
  ```python
523
- # Example automatically generated from non-compiling source. May contain errors.
524
505
  # later:
525
506
  # project: codebuild.PipelineProject
526
507
  source_output = codepipeline.Artifact()
@@ -561,7 +542,6 @@ In order to use Jenkins Actions in the Pipeline,
561
542
  you first need to create a `JenkinsProvider`:
562
543
 
563
544
  ```python
564
- # Example automatically generated from non-compiling source. May contain errors.
565
545
  jenkins_provider = codepipeline_actions.JenkinsProvider(self, "JenkinsProvider",
566
546
  provider_name="MyJenkinsProvider",
567
547
  server_url="http://my-jenkins.com:8080",
@@ -574,7 +554,6 @@ or outside the CDK (in the CodePipeline AWS Console, for example),
574
554
  you can import it:
575
555
 
576
556
  ```python
577
- # Example automatically generated from non-compiling source. May contain errors.
578
557
  jenkins_provider = codepipeline_actions.JenkinsProvider.from_jenkins_provider_attributes(self, "JenkinsProvider",
579
558
  provider_name="MyJenkinsProvider",
580
559
  server_url="http://my-jenkins.com:8080",
@@ -591,7 +570,6 @@ With a `JenkinsProvider`,
591
570
  we can create a Jenkins Action:
592
571
 
593
572
  ```python
594
- # Example automatically generated from non-compiling source. May contain errors.
595
573
  # jenkins_provider: codepipeline_actions.JenkinsProvider
596
574
 
597
575
  build_action = codepipeline_actions.JenkinsAction(
@@ -696,7 +674,6 @@ The actions available for updating StackSets are:
696
674
  Here's an example of using both of these actions:
697
675
 
698
676
  ```python
699
- # Example automatically generated from non-compiling source. May contain errors.
700
677
  # pipeline: codepipeline.Pipeline
701
678
  # source_output: codepipeline.Artifact
702
679
 
@@ -863,7 +840,6 @@ If you want to update stacks in a different account,
863
840
  pass the `account` property when creating the action:
864
841
 
865
842
  ```python
866
- # Example automatically generated from non-compiling source. May contain errors.
867
843
  source_output = codepipeline.Artifact()
868
844
  codepipeline_actions.CloudFormationCreateUpdateStackAction(
869
845
  action_name="CloudFormationCreateUpdate",
@@ -883,7 +859,6 @@ in that case, the `account` property is ignored,
883
859
  and the action will operate in the same account the role belongs to:
884
860
 
885
861
  ```python
886
- # Example automatically generated from non-compiling source. May contain errors.
887
862
  from aws_cdk import PhysicalName
888
863
 
889
864
  # in stack for account 123456789012...
@@ -913,7 +888,6 @@ codepipeline_actions.CloudFormationCreateUpdateStackAction(
913
888
  To use CodeDeploy for EC2/on-premise deployments in a Pipeline:
914
889
 
915
890
  ```python
916
- # Example automatically generated from non-compiling source. May contain errors.
917
891
  # deployment_group: codedeploy.ServerDeploymentGroup
918
892
  pipeline = codepipeline.Pipeline(self, "MyPipeline",
919
893
  pipeline_name="MyPipeline"
@@ -937,7 +911,6 @@ pipeline.add_stage(
937
911
  To use CodeDeploy for blue-green Lambda deployments in a Pipeline:
938
912
 
939
913
  ```python
940
- # Example automatically generated from non-compiling source. May contain errors.
941
914
  lambda_code = lambda_.Code.from_cfn_parameters()
942
915
  func = lambda_.Function(self, "Lambda",
943
916
  code=lambda_code,
@@ -968,7 +941,6 @@ CodePipeline can deploy an ECS service.
968
941
  The deploy Action receives one input Artifact which contains the [image definition file](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-create.html#pipelines-create-image-definitions):
969
942
 
970
943
  ```python
971
- # Example automatically generated from non-compiling source. May contain errors.
972
944
  import aws_cdk.aws_ecs as ecs
973
945
 
974
946
  # service: ecs.FargateService
@@ -1002,7 +974,6 @@ CodePipeline can deploy to an existing ECS service which uses the
1002
974
  This also works if the service is in a different account and/or region than the pipeline:
1003
975
 
1004
976
  ```python
1005
- # Example automatically generated from non-compiling source. May contain errors.
1006
977
  import aws_cdk.aws_ecs as ecs
1007
978
 
1008
979
 
@@ -1207,7 +1178,6 @@ EcsAppStack(app, "EcsStackDeployedInPipeline",
1207
1178
  To use an S3 Bucket as a deployment target in CodePipeline:
1208
1179
 
1209
1180
  ```python
1210
- # Example automatically generated from non-compiling source. May contain errors.
1211
1181
  source_output = codepipeline.Artifact()
1212
1182
  target_bucket = s3.Bucket(self, "MyBucket")
1213
1183
 
@@ -1230,7 +1200,6 @@ One workaround is to add another build step after the deploy step,
1230
1200
  and use the AWS CLI to invalidate the cache:
1231
1201
 
1232
1202
  ```python
1233
- # Example automatically generated from non-compiling source. May contain errors.
1234
1203
  # Create a Cloudfront Web Distribution
1235
1204
  import aws_cdk.aws_cloudfront as cloudfront
1236
1205
  # distribution: cloudfront.Distribution
@@ -1290,7 +1259,6 @@ codepipeline.Pipeline(self, "Pipeline",
1290
1259
  To deploy an Elastic Beanstalk Application in CodePipeline:
1291
1260
 
1292
1261
  ```python
1293
- # Example automatically generated from non-compiling source. May contain errors.
1294
1262
  source_output = codepipeline.Artifact()
1295
1263
  target_bucket = s3.Bucket(self, "MyBucket")
1296
1264
 
@@ -1313,7 +1281,6 @@ deploy_stage = pipeline.add_stage(
1313
1281
  You can deploy to Alexa using CodePipeline with the following Action:
1314
1282
 
1315
1283
  ```python
1316
- # Example automatically generated from non-compiling source. May contain errors.
1317
1284
  # Read the secrets from ParameterStore
1318
1285
  client_id = SecretValue.secrets_manager("AlexaClientId")
1319
1286
  client_secret = SecretValue.secrets_manager("AlexaClientSecret")
@@ -1335,7 +1302,6 @@ codepipeline_actions.AlexaSkillDeployAction(
1335
1302
  If you need manifest overrides you can specify them as `parameterOverridesArtifact` in the action:
1336
1303
 
1337
1304
  ```python
1338
- # Example automatically generated from non-compiling source. May contain errors.
1339
1305
  # Deploy some CFN change set and store output
1340
1306
  execute_output = codepipeline.Artifact("CloudFormation")
1341
1307
  execute_change_set_action = codepipeline_actions.CloudFormationExecuteChangeSetAction(
@@ -1369,7 +1335,6 @@ codepipeline_actions.AlexaSkillDeployAction(
1369
1335
  You can deploy a CloudFormation template to an existing Service Catalog product with the following Action:
1370
1336
 
1371
1337
  ```python
1372
- # Example automatically generated from non-compiling source. May contain errors.
1373
1338
  cdk_build_output = codepipeline.Artifact()
1374
1339
  service_catalog_deploy_action = codepipeline_actions.ServiceCatalogDeployActionBeta1(
1375
1340
  action_name="ServiceCatalogDeploy",
@@ -1387,7 +1352,6 @@ service_catalog_deploy_action = codepipeline_actions.ServiceCatalogDeployActionB
1387
1352
  This package contains an Action that stops the Pipeline until someone manually clicks the approve button:
1388
1353
 
1389
1354
  ```python
1390
- # Example automatically generated from non-compiling source. May contain errors.
1391
1355
  import aws_cdk.aws_sns as sns
1392
1356
 
1393
1357
 
@@ -1412,7 +1376,6 @@ If you want to grant a principal permissions to approve the changes,
1412
1376
  you can invoke the method `grantManualApproval` passing it a `IGrantable`:
1413
1377
 
1414
1378
  ```python
1415
- # Example automatically generated from non-compiling source. May contain errors.
1416
1379
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
1417
1380
  approve_stage = pipeline.add_stage(stage_name="Approve")
1418
1381
  manual_approval_action = codepipeline_actions.ManualApprovalAction(
@@ -1429,7 +1392,6 @@ manual_approval_action.grant_manual_approval(role)
1429
1392
  This module contains an Action that allows you to invoke a Lambda function in a Pipeline:
1430
1393
 
1431
1394
  ```python
1432
- # Example automatically generated from non-compiling source. May contain errors.
1433
1395
  # fn: lambda.Function
1434
1396
 
1435
1397
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
@@ -1447,7 +1409,6 @@ The Lambda Action can have up to 5 inputs,
1447
1409
  and up to 5 outputs:
1448
1410
 
1449
1411
  ```python
1450
- # Example automatically generated from non-compiling source. May contain errors.
1451
1412
  # fn: lambda.Function
1452
1413
 
1453
1414
  source_output = codepipeline.Artifact()
@@ -1468,7 +1429,6 @@ The Lambda Action supports custom user parameters that pipeline
1468
1429
  will pass to the Lambda function:
1469
1430
 
1470
1431
  ```python
1471
- # Example automatically generated from non-compiling source. May contain errors.
1472
1432
  # fn: lambda.Function
1473
1433
 
1474
1434
 
@@ -1492,7 +1452,6 @@ API with the `outputVariables` property filled with the map of variables
1492
1452
  Example:
1493
1453
 
1494
1454
  ```python
1495
- # Example automatically generated from non-compiling source. May contain errors.
1496
1455
  # later:
1497
1456
  # project: codebuild.PipelineProject
1498
1457
  lambda_invoke_action = codepipeline_actions.LambdaInvokeAction(
@@ -1537,7 +1496,6 @@ on how to write a Lambda function invoked from CodePipeline.
1537
1496
  This module contains an Action that allows you to invoke a Step Function in a Pipeline:
1538
1497
 
1539
1498
  ```python
1540
- # Example automatically generated from non-compiling source. May contain errors.
1541
1499
  import aws_cdk.aws_stepfunctions as stepfunctions
1542
1500
 
1543
1501
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
@@ -1560,7 +1518,6 @@ The `StateMachineInput` can be created with one of 2 static factory methods:
1560
1518
  `literal`, which takes an arbitrary map as its only argument, or `filePath`:
1561
1519
 
1562
1520
  ```python
1563
- # Example automatically generated from non-compiling source. May contain errors.
1564
1521
  import aws_cdk.aws_stepfunctions as stepfunctions
1565
1522
 
1566
1523
 
@@ -1734,7 +1691,6 @@ class AlexaSkillDeployAction(
1734
1691
 
1735
1692
  Example::
1736
1693
 
1737
- # Example automatically generated from non-compiling source. May contain errors.
1738
1694
  # Read the secrets from ParameterStore
1739
1695
  client_id = SecretValue.secrets_manager("AlexaClientId")
1740
1696
  client_secret = SecretValue.secrets_manager("AlexaClientSecret")
@@ -1861,7 +1817,6 @@ class AlexaSkillDeployActionProps(_CommonActionProps_e3aaeecb):
1861
1817
 
1862
1818
  Example::
1863
1819
 
1864
- # Example automatically generated from non-compiling source. May contain errors.
1865
1820
  # Read the secrets from ParameterStore
1866
1821
  client_id = SecretValue.secrets_manager("AlexaClientId")
1867
1822
  client_secret = SecretValue.secrets_manager("AlexaClientSecret")
@@ -2709,7 +2664,6 @@ class CloudFormationCreateUpdateStackAction(
2709
2664
 
2710
2665
  Example::
2711
2666
 
2712
- # Example automatically generated from non-compiling source. May contain errors.
2713
2667
  from aws_cdk import PhysicalName
2714
2668
 
2715
2669
  # in stack for account 123456789012...
@@ -2907,7 +2861,6 @@ class CloudFormationCreateUpdateStackActionProps(_CommonAwsActionProps_8b809bb6)
2907
2861
 
2908
2862
  Example::
2909
2863
 
2910
- # Example automatically generated from non-compiling source. May contain errors.
2911
2864
  from aws_cdk import PhysicalName
2912
2865
 
2913
2866
  # in stack for account 123456789012...
@@ -3785,7 +3738,6 @@ class CloudFormationDeployStackInstancesAction(
3785
3738
 
3786
3739
  Example::
3787
3740
 
3788
- # Example automatically generated from non-compiling source. May contain errors.
3789
3741
  # pipeline: codepipeline.Pipeline
3790
3742
  # source_output: codepipeline.Artifact
3791
3743
 
@@ -3918,7 +3870,6 @@ class CloudFormationDeployStackSetAction(
3918
3870
 
3919
3871
  Example::
3920
3872
 
3921
- # Example automatically generated from non-compiling source. May contain errors.
3922
3873
  # pipeline: codepipeline.Pipeline
3923
3874
  # source_output: codepipeline.Artifact
3924
3875
 
@@ -4424,7 +4375,6 @@ class CodeBuildAction(
4424
4375
 
4425
4376
  Example::
4426
4377
 
4427
- # Example automatically generated from non-compiling source. May contain errors.
4428
4378
  # Create a Cloudfront Web Distribution
4429
4379
  import aws_cdk.aws_cloudfront as cloudfront
4430
4380
  # distribution: cloudfront.Distribution
@@ -4627,7 +4577,6 @@ class CodeBuildActionProps(_CommonAwsActionProps_8b809bb6):
4627
4577
 
4628
4578
  Example::
4629
4579
 
4630
- # Example automatically generated from non-compiling source. May contain errors.
4631
4580
  # Create a Cloudfront Web Distribution
4632
4581
  import aws_cdk.aws_cloudfront as cloudfront
4633
4582
  # distribution: cloudfront.Distribution
@@ -4895,7 +4844,6 @@ class CodeBuildActionType(enum.Enum):
4895
4844
 
4896
4845
  Example::
4897
4846
 
4898
- # Example automatically generated from non-compiling source. May contain errors.
4899
4847
  # project: codebuild.PipelineProject
4900
4848
 
4901
4849
  source_output = codepipeline.Artifact()
@@ -5963,7 +5911,6 @@ class CodeDeployServerDeployAction(
5963
5911
 
5964
5912
  Example::
5965
5913
 
5966
- # Example automatically generated from non-compiling source. May contain errors.
5967
5914
  # deployment_group: codedeploy.ServerDeploymentGroup
5968
5915
  pipeline = codepipeline.Pipeline(self, "MyPipeline",
5969
5916
  pipeline_name="MyPipeline"
@@ -6072,7 +6019,6 @@ class CodeDeployServerDeployActionProps(_CommonAwsActionProps_8b809bb6):
6072
6019
 
6073
6020
  Example::
6074
6021
 
6075
- # Example automatically generated from non-compiling source. May contain errors.
6076
6022
  # deployment_group: codedeploy.ServerDeploymentGroup
6077
6023
  pipeline = codepipeline.Pipeline(self, "MyPipeline",
6078
6024
  pipeline_name="MyPipeline"
@@ -6198,7 +6144,6 @@ class CodeStarConnectionsSourceAction(
6198
6144
 
6199
6145
  Example::
6200
6146
 
6201
- # Example automatically generated from non-compiling source. May contain errors.
6202
6147
  source_output = codepipeline.Artifact()
6203
6148
  source_action = codepipeline_actions.CodeStarConnectionsSourceAction(
6204
6149
  action_name="BitBucket_Source",
@@ -6335,7 +6280,6 @@ class CodeStarConnectionsSourceActionProps(_CommonAwsActionProps_8b809bb6):
6335
6280
 
6336
6281
  Example::
6337
6282
 
6338
- # Example automatically generated from non-compiling source. May contain errors.
6339
6283
  source_output = codepipeline.Artifact()
6340
6284
  source_action = codepipeline_actions.CodeStarConnectionsSourceAction(
6341
6285
  action_name="BitBucket_Source",
@@ -6437,7 +6381,6 @@ class CodeStarConnectionsSourceActionProps(_CommonAwsActionProps_8b809bb6):
6437
6381
 
6438
6382
  Example::
6439
6383
 
6440
- # Example automatically generated from non-compiling source. May contain errors.
6441
6384
  "arn:aws:codestar-connections:us-east-1:123456789012:connection/12345678-abcd-12ab-34cdef5678gh"
6442
6385
  '''
6443
6386
  result = self._values.get("connection_arn")
@@ -6460,7 +6403,6 @@ class CodeStarConnectionsSourceActionProps(_CommonAwsActionProps_8b809bb6):
6460
6403
 
6461
6404
  Example::
6462
6405
 
6463
- # Example automatically generated from non-compiling source. May contain errors.
6464
6406
  "aws"
6465
6407
  '''
6466
6408
  result = self._values.get("owner")
@@ -6473,7 +6415,6 @@ class CodeStarConnectionsSourceActionProps(_CommonAwsActionProps_8b809bb6):
6473
6415
 
6474
6416
  Example::
6475
6417
 
6476
- # Example automatically generated from non-compiling source. May contain errors.
6477
6418
  "aws-cdk"
6478
6419
  '''
6479
6420
  result = self._values.get("repo")
@@ -6767,7 +6708,6 @@ class EcrSourceAction(
6767
6708
 
6768
6709
  Example::
6769
6710
 
6770
- # Example automatically generated from non-compiling source. May contain errors.
6771
6711
  import aws_cdk.aws_ecr as ecr
6772
6712
 
6773
6713
  # ecr_repository: ecr.Repository
@@ -6888,7 +6828,6 @@ class EcrSourceActionProps(_CommonAwsActionProps_8b809bb6):
6888
6828
 
6889
6829
  Example::
6890
6830
 
6891
- # Example automatically generated from non-compiling source. May contain errors.
6892
6831
  import aws_cdk.aws_ecr as ecr
6893
6832
 
6894
6833
  # ecr_repository: ecr.Repository
@@ -7137,7 +7076,6 @@ class EcsDeployAction(
7137
7076
 
7138
7077
  Example::
7139
7078
 
7140
- # Example automatically generated from non-compiling source. May contain errors.
7141
7079
  import aws_cdk.aws_ecs as ecs
7142
7080
 
7143
7081
  # service: ecs.FargateService
@@ -7266,7 +7204,6 @@ class EcsDeployActionProps(_CommonAwsActionProps_8b809bb6):
7266
7204
 
7267
7205
  Example::
7268
7206
 
7269
- # Example automatically generated from non-compiling source. May contain errors.
7270
7207
  import aws_cdk.aws_ecs as ecs
7271
7208
 
7272
7209
  # service: ecs.FargateService
@@ -7448,7 +7385,6 @@ class ElasticBeanstalkDeployAction(
7448
7385
 
7449
7386
  Example::
7450
7387
 
7451
- # Example automatically generated from non-compiling source. May contain errors.
7452
7388
  source_output = codepipeline.Artifact()
7453
7389
  target_bucket = s3.Bucket(self, "MyBucket")
7454
7390
 
@@ -7562,7 +7498,6 @@ class ElasticBeanstalkDeployActionProps(_CommonAwsActionProps_8b809bb6):
7562
7498
 
7563
7499
  Example::
7564
7500
 
7565
- # Example automatically generated from non-compiling source. May contain errors.
7566
7501
  source_output = codepipeline.Artifact()
7567
7502
  target_bucket = s3.Bucket(self, "MyBucket")
7568
7503
 
@@ -7696,7 +7631,6 @@ class GitHubSourceAction(
7696
7631
 
7697
7632
  Example::
7698
7633
 
7699
- # Example automatically generated from non-compiling source. May contain errors.
7700
7634
  # Read the secret from Secrets Manager
7701
7635
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
7702
7636
  source_output = codepipeline.Artifact()
@@ -7828,7 +7762,6 @@ class GitHubSourceActionProps(_CommonActionProps_e3aaeecb):
7828
7762
 
7829
7763
  Example::
7830
7764
 
7831
- # Example automatically generated from non-compiling source. May contain errors.
7832
7765
  # Read the secret from Secrets Manager
7833
7766
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
7834
7767
  source_output = codepipeline.Artifact()
@@ -8202,7 +8135,6 @@ class JenkinsAction(
8202
8135
 
8203
8136
  Example::
8204
8137
 
8205
- # Example automatically generated from non-compiling source. May contain errors.
8206
8138
  # jenkins_provider: codepipeline_actions.JenkinsProvider
8207
8139
 
8208
8140
  build_action = codepipeline_actions.JenkinsAction(
@@ -8315,7 +8247,6 @@ class JenkinsActionProps(_CommonActionProps_e3aaeecb):
8315
8247
 
8316
8248
  Example::
8317
8249
 
8318
- # Example automatically generated from non-compiling source. May contain errors.
8319
8250
  # jenkins_provider: codepipeline_actions.JenkinsProvider
8320
8251
 
8321
8252
  build_action = codepipeline_actions.JenkinsAction(
@@ -8399,7 +8330,6 @@ class JenkinsActionProps(_CommonActionProps_e3aaeecb):
8399
8330
 
8400
8331
  Example::
8401
8332
 
8402
- # Example automatically generated from non-compiling source. May contain errors.
8403
8333
  "MyJob"
8404
8334
  '''
8405
8335
  result = self._values.get("project_name")
@@ -8447,7 +8377,6 @@ class JenkinsActionType(enum.Enum):
8447
8377
 
8448
8378
  Example::
8449
8379
 
8450
- # Example automatically generated from non-compiling source. May contain errors.
8451
8380
  # jenkins_provider: codepipeline_actions.JenkinsProvider
8452
8381
 
8453
8382
  build_action = codepipeline_actions.JenkinsAction(
@@ -8491,7 +8420,6 @@ class JenkinsProviderAttributes:
8491
8420
 
8492
8421
  Example::
8493
8422
 
8494
- # Example automatically generated from non-compiling source. May contain errors.
8495
8423
  jenkins_provider = codepipeline_actions.JenkinsProvider.from_jenkins_provider_attributes(self, "JenkinsProvider",
8496
8424
  provider_name="MyJenkinsProvider",
8497
8425
  server_url="http://my-jenkins.com:8080",
@@ -8516,7 +8444,6 @@ class JenkinsProviderAttributes:
8516
8444
 
8517
8445
  Example::
8518
8446
 
8519
- # Example automatically generated from non-compiling source. May contain errors.
8520
8447
  "MyJenkinsProvider"
8521
8448
  '''
8522
8449
  result = self._values.get("provider_name")
@@ -8529,7 +8456,6 @@ class JenkinsProviderAttributes:
8529
8456
 
8530
8457
  Example::
8531
8458
 
8532
- # Example automatically generated from non-compiling source. May contain errors.
8533
8459
  "http://myjenkins.com:8080"
8534
8460
  '''
8535
8461
  result = self._values.get("server_url")
@@ -8589,7 +8515,6 @@ class JenkinsProviderProps:
8589
8515
 
8590
8516
  Example::
8591
8517
 
8592
- # Example automatically generated from non-compiling source. May contain errors.
8593
8518
  jenkins_provider = codepipeline_actions.JenkinsProvider(self, "JenkinsProvider",
8594
8519
  provider_name="MyJenkinsProvider",
8595
8520
  server_url="http://my-jenkins.com:8080",
@@ -8620,7 +8545,6 @@ class JenkinsProviderProps:
8620
8545
 
8621
8546
  Example::
8622
8547
 
8623
- # Example automatically generated from non-compiling source. May contain errors.
8624
8548
  "MyJenkinsProvider"
8625
8549
  '''
8626
8550
  result = self._values.get("provider_name")
@@ -8633,7 +8557,6 @@ class JenkinsProviderProps:
8633
8557
 
8634
8558
  Example::
8635
8559
 
8636
- # Example automatically generated from non-compiling source. May contain errors.
8637
8560
  "http://myjenkins.com:8080"
8638
8561
  '''
8639
8562
  result = self._values.get("server_url")
@@ -8695,40 +8618,16 @@ class LambdaInvokeAction(
8695
8618
 
8696
8619
  Example::
8697
8620
 
8698
- # Example automatically generated from non-compiling source. May contain errors.
8699
- # later:
8700
- # project: codebuild.PipelineProject
8701
- lambda_invoke_action = codepipeline_actions.LambdaInvokeAction(
8702
- action_name="Lambda",
8703
- lambda_=lambda_.Function(self, "Func",
8704
- runtime=lambda_.Runtime.NODEJS_14_X,
8705
- handler="index.handler",
8706
- code=lambda_.Code.from_inline("""
8707
- const AWS = require('aws-sdk');
8621
+ # fn: lambda.Function
8708
8622
 
8709
- exports.handler = async function(event, context) {
8710
- const codepipeline = new AWS.CodePipeline();
8711
- await codepipeline.putJobSuccessResult({
8712
- jobId: event['CodePipeline.job'].id,
8713
- outputVariables: {
8714
- MY_VAR: "some value",
8715
- },
8716
- }).promise();
8717
- }
8718
- """)
8719
- ),
8720
- variables_namespace="MyNamespace"
8623
+ pipeline = codepipeline.Pipeline(self, "MyPipeline")
8624
+ lambda_action = codepipeline_actions.LambdaInvokeAction(
8625
+ action_name="Lambda",
8626
+ lambda_=fn
8721
8627
  )
8722
- source_output = codepipeline.Artifact()
8723
- codepipeline_actions.CodeBuildAction(
8724
- action_name="CodeBuild",
8725
- project=project,
8726
- input=source_output,
8727
- environment_variables={
8728
- "MyVar": codebuild.BuildEnvironmentVariable(
8729
- value=lambda_invoke_action.variable("MY_VAR")
8730
- )
8731
- }
8628
+ pipeline.add_stage(
8629
+ stage_name="Lambda",
8630
+ actions=[lambda_action]
8732
8631
  )
8733
8632
  '''
8734
8633
 
@@ -8856,40 +8755,16 @@ class LambdaInvokeActionProps(_CommonAwsActionProps_8b809bb6):
8856
8755
 
8857
8756
  Example::
8858
8757
 
8859
- # Example automatically generated from non-compiling source. May contain errors.
8860
- # later:
8861
- # project: codebuild.PipelineProject
8862
- lambda_invoke_action = codepipeline_actions.LambdaInvokeAction(
8863
- action_name="Lambda",
8864
- lambda_=lambda_.Function(self, "Func",
8865
- runtime=lambda_.Runtime.NODEJS_14_X,
8866
- handler="index.handler",
8867
- code=lambda_.Code.from_inline("""
8868
- const AWS = require('aws-sdk');
8758
+ # fn: lambda.Function
8869
8759
 
8870
- exports.handler = async function(event, context) {
8871
- const codepipeline = new AWS.CodePipeline();
8872
- await codepipeline.putJobSuccessResult({
8873
- jobId: event['CodePipeline.job'].id,
8874
- outputVariables: {
8875
- MY_VAR: "some value",
8876
- },
8877
- }).promise();
8878
- }
8879
- """)
8880
- ),
8881
- variables_namespace="MyNamespace"
8760
+ pipeline = codepipeline.Pipeline(self, "MyPipeline")
8761
+ lambda_action = codepipeline_actions.LambdaInvokeAction(
8762
+ action_name="Lambda",
8763
+ lambda_=fn
8882
8764
  )
8883
- source_output = codepipeline.Artifact()
8884
- codepipeline_actions.CodeBuildAction(
8885
- action_name="CodeBuild",
8886
- project=project,
8887
- input=source_output,
8888
- environment_variables={
8889
- "MyVar": codebuild.BuildEnvironmentVariable(
8890
- value=lambda_invoke_action.variable("MY_VAR")
8891
- )
8892
- }
8765
+ pipeline.add_stage(
8766
+ stage_name="Lambda",
8767
+ actions=[lambda_action]
8893
8768
  )
8894
8769
  '''
8895
8770
  if __debug__:
@@ -9058,7 +8933,6 @@ class ManualApprovalAction(
9058
8933
 
9059
8934
  Example::
9060
8935
 
9061
- # Example automatically generated from non-compiling source. May contain errors.
9062
8936
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
9063
8937
  approve_stage = pipeline.add_stage(stage_name="Approve")
9064
8938
  manual_approval_action = codepipeline_actions.ManualApprovalAction(
@@ -9191,7 +9065,6 @@ class ManualApprovalActionProps(_CommonAwsActionProps_8b809bb6):
9191
9065
 
9192
9066
  Example::
9193
9067
 
9194
- # Example automatically generated from non-compiling source. May contain errors.
9195
9068
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
9196
9069
  approve_stage = pipeline.add_stage(stage_name="Approve")
9197
9070
  manual_approval_action = codepipeline_actions.ManualApprovalAction(
@@ -9394,7 +9267,6 @@ class S3DeployAction(
9394
9267
 
9395
9268
  Example::
9396
9269
 
9397
- # Example automatically generated from non-compiling source. May contain errors.
9398
9270
  source_output = codepipeline.Artifact()
9399
9271
  target_bucket = s3.Bucket(self, "MyBucket")
9400
9272
 
@@ -9524,7 +9396,6 @@ class S3DeployActionProps(_CommonAwsActionProps_8b809bb6):
9524
9396
 
9525
9397
  Example::
9526
9398
 
9527
- # Example automatically generated from non-compiling source. May contain errors.
9528
9399
  source_output = codepipeline.Artifact()
9529
9400
  target_bucket = s3.Bucket(self, "MyBucket")
9530
9401
 
@@ -9703,7 +9574,6 @@ class S3SourceAction(
9703
9574
 
9704
9575
  Example::
9705
9576
 
9706
- # Example automatically generated from non-compiling source. May contain errors.
9707
9577
  import aws_cdk.aws_cloudtrail as cloudtrail
9708
9578
 
9709
9579
  # source_bucket: s3.Bucket
@@ -9834,7 +9704,6 @@ class S3SourceActionProps(_CommonAwsActionProps_8b809bb6):
9834
9704
 
9835
9705
  Example::
9836
9706
 
9837
- # Example automatically generated from non-compiling source. May contain errors.
9838
9707
  import aws_cdk.aws_cloudtrail as cloudtrail
9839
9708
 
9840
9709
  # source_bucket: s3.Bucket
@@ -9949,7 +9818,6 @@ class S3SourceActionProps(_CommonAwsActionProps_8b809bb6):
9949
9818
 
9950
9819
  Example::
9951
9820
 
9952
- # Example automatically generated from non-compiling source. May contain errors.
9953
9821
  "path/to/file.zip"
9954
9822
  '''
9955
9823
  result = self._values.get("bucket_key")
@@ -10058,7 +9926,6 @@ class S3Trigger(enum.Enum):
10058
9926
 
10059
9927
  Example::
10060
9928
 
10061
- # Example automatically generated from non-compiling source. May contain errors.
10062
9929
  import aws_cdk.aws_cloudtrail as cloudtrail
10063
9930
 
10064
9931
  # source_bucket: s3.Bucket
@@ -10120,7 +9987,6 @@ class SelfManagedDeploymentProps:
10120
9987
 
10121
9988
  Example::
10122
9989
 
10123
- # Example automatically generated from non-compiling source. May contain errors.
10124
9990
  existing_admin_role = iam.Role.from_role_name(self, "AdminRole", "AWSCloudFormationStackSetAdministrationRole")
10125
9991
 
10126
9992
  deployment_model = codepipeline_actions.StackSetDeploymentModel.self_managed(
@@ -10203,7 +10069,6 @@ class ServiceCatalogDeployActionBeta1(
10203
10069
 
10204
10070
  Example::
10205
10071
 
10206
- # Example automatically generated from non-compiling source. May contain errors.
10207
10072
  cdk_build_output = codepipeline.Artifact()
10208
10073
  service_catalog_deploy_action = codepipeline_actions.ServiceCatalogDeployActionBeta1(
10209
10074
  action_name="ServiceCatalogDeploy",
@@ -10316,7 +10181,6 @@ class ServiceCatalogDeployActionBeta1Props(_CommonAwsActionProps_8b809bb6):
10316
10181
 
10317
10182
  Example::
10318
10183
 
10319
- # Example automatically generated from non-compiling source. May contain errors.
10320
10184
  cdk_build_output = codepipeline.Artifact()
10321
10185
  service_catalog_deploy_action = codepipeline_actions.ServiceCatalogDeployActionBeta1(
10322
10186
  action_name="ServiceCatalogDeploy",
@@ -10457,7 +10321,6 @@ class StackInstances(
10457
10321
 
10458
10322
  Example::
10459
10323
 
10460
- # Example automatically generated from non-compiling source. May contain errors.
10461
10324
  # pipeline: codepipeline.Pipeline
10462
10325
  # source_output: codepipeline.Artifact
10463
10326
 
@@ -10597,7 +10460,6 @@ class StackSetDeploymentModel(
10597
10460
 
10598
10461
  Example::
10599
10462
 
10600
- # Example automatically generated from non-compiling source. May contain errors.
10601
10463
  # pipeline: codepipeline.Pipeline
10602
10464
  # source_output: codepipeline.Artifact
10603
10465
 
@@ -10679,7 +10541,6 @@ class StackSetDeploymentModel(
10679
10541
  If you wish to use a pre-created Administration Role, use ``Role.fromRoleName()``
10680
10542
  or ``Role.fromRoleArn()`` to import it, and pass it to this function::
10681
10543
 
10682
- # Example automatically generated from non-compiling source. May contain errors.
10683
10544
  existing_admin_role = iam.Role.from_role_name(self, "AdminRole", "AWSCloudFormationStackSetAdministrationRole")
10684
10545
 
10685
10546
  deployment_model = codepipeline_actions.StackSetDeploymentModel.self_managed(
@@ -10738,7 +10599,6 @@ class StackSetParameters(
10738
10599
 
10739
10600
  Example::
10740
10601
 
10741
- # Example automatically generated from non-compiling source. May contain errors.
10742
10602
  parameters = codepipeline_actions.StackSetParameters.from_literal({
10743
10603
  "BucketName": "my-bucket",
10744
10604
  "Asset1": "true"
@@ -10813,7 +10673,6 @@ class StackSetParameters(
10813
10673
 
10814
10674
  Example::
10815
10675
 
10816
- # Example automatically generated from non-compiling source. May contain errors.
10817
10676
  parameters = codepipeline_actions.StackSetParameters.from_literal({
10818
10677
  "BucketName": "my-bucket",
10819
10678
  "Asset1": "true"
@@ -10843,7 +10702,6 @@ class StackSetTemplate(
10843
10702
 
10844
10703
  Example::
10845
10704
 
10846
- # Example automatically generated from non-compiling source. May contain errors.
10847
10705
  # pipeline: codepipeline.Pipeline
10848
10706
  # source_output: codepipeline.Artifact
10849
10707
 
@@ -10911,7 +10769,6 @@ class StateMachineInput(
10911
10769
 
10912
10770
  Example::
10913
10771
 
10914
- # Example automatically generated from non-compiling source. May contain errors.
10915
10772
  import aws_cdk.aws_stepfunctions as stepfunctions
10916
10773
 
10917
10774
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
@@ -11006,7 +10863,6 @@ class StepFunctionInvokeAction(
11006
10863
 
11007
10864
  Example::
11008
10865
 
11009
- # Example automatically generated from non-compiling source. May contain errors.
11010
10866
  import aws_cdk.aws_stepfunctions as stepfunctions
11011
10867
 
11012
10868
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
@@ -11127,7 +10983,6 @@ class StepFunctionsInvokeActionProps(_CommonAwsActionProps_8b809bb6):
11127
10983
 
11128
10984
  Example::
11129
10985
 
11130
- # Example automatically generated from non-compiling source. May contain errors.
11131
10986
  import aws_cdk.aws_stepfunctions as stepfunctions
11132
10987
 
11133
10988
  pipeline = codepipeline.Pipeline(self, "MyPipeline")
@@ -11385,7 +11240,6 @@ class CloudFormationDeployStackInstancesActionProps(
11385
11240
 
11386
11241
  Example::
11387
11242
 
11388
- # Example automatically generated from non-compiling source. May contain errors.
11389
11243
  # pipeline: codepipeline.Pipeline
11390
11244
  # source_output: codepipeline.Artifact
11391
11245
 
@@ -11645,7 +11499,6 @@ class CloudFormationDeployStackSetActionProps(
11645
11499
 
11646
11500
  Example::
11647
11501
 
11648
- # Example automatically generated from non-compiling source. May contain errors.
11649
11502
  # pipeline: codepipeline.Pipeline
11650
11503
  # source_output: codepipeline.Artifact
11651
11504
 
@@ -11930,7 +11783,6 @@ class JenkinsProvider(
11930
11783
 
11931
11784
  Example::
11932
11785
 
11933
- # Example automatically generated from non-compiling source. May contain errors.
11934
11786
  jenkins_provider = codepipeline_actions.JenkinsProvider(self, "JenkinsProvider",
11935
11787
  provider_name="MyJenkinsProvider",
11936
11788
  server_url="http://my-jenkins.com:8080",