aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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 (85) hide show
  1. aws_cdk/__init__.py +303 -119
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +136 -0
  5. aws_cdk/aws_apigateway/__init__.py +69 -17
  6. aws_cdk/aws_apigatewayv2/__init__.py +88 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_appsync/__init__.py +14 -5
  9. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  10. aws_cdk/aws_bedrock/__init__.py +637 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +4 -2
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_cloudfront/__init__.py +11 -0
  16. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  17. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  18. aws_cdk/aws_codebuild/__init__.py +32 -1
  19. aws_cdk/aws_codepipeline/__init__.py +47 -32
  20. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  21. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  22. aws_cdk/aws_cognito/__init__.py +8 -2
  23. aws_cdk/aws_config/__init__.py +2 -5
  24. aws_cdk/aws_datazone/__init__.py +287 -226
  25. aws_cdk/aws_detective/__init__.py +3 -3
  26. aws_cdk/aws_dynamodb/__init__.py +37 -0
  27. aws_cdk/aws_ec2/__init__.py +2448 -442
  28. aws_cdk/aws_ecr/__init__.py +143 -0
  29. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  30. aws_cdk/aws_ecs/__init__.py +51 -0
  31. aws_cdk/aws_eks/__init__.py +222 -6
  32. aws_cdk/aws_events/__init__.py +8 -11
  33. aws_cdk/aws_events_targets/__init__.py +136 -0
  34. aws_cdk/aws_forecast/__init__.py +1 -1
  35. aws_cdk/aws_fsx/__init__.py +2 -2
  36. aws_cdk/aws_gamelift/__init__.py +11 -11
  37. aws_cdk/aws_iam/__init__.py +6 -4
  38. aws_cdk/aws_identitystore/__init__.py +6 -4
  39. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  40. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  41. aws_cdk/aws_kms/__init__.py +10 -11
  42. aws_cdk/aws_lakeformation/__init__.py +3 -3
  43. aws_cdk/aws_lambda/__init__.py +105 -4
  44. aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
  45. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  46. aws_cdk/aws_lex/__init__.py +985 -5
  47. aws_cdk/aws_logs/__init__.py +18 -0
  48. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  49. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  50. aws_cdk/aws_mwaa/__init__.py +9 -9
  51. aws_cdk/aws_networkfirewall/__init__.py +44 -0
  52. aws_cdk/aws_notifications/__init__.py +4 -4
  53. aws_cdk/aws_omics/__init__.py +225 -1
  54. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  55. aws_cdk/aws_organizations/__init__.py +1 -1
  56. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  57. aws_cdk/aws_quicksight/__init__.py +268 -50
  58. aws_cdk/aws_rds/__init__.py +186 -10
  59. aws_cdk/aws_route53/__init__.py +5 -5
  60. aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
  61. aws_cdk/aws_rum/__init__.py +13 -10
  62. aws_cdk/aws_s3/__init__.py +3 -6
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +47 -4
  66. aws_cdk/aws_scheduler_targets/__init__.py +4 -16
  67. aws_cdk/aws_securitylake/__init__.py +2 -2
  68. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  69. aws_cdk/aws_sns/__init__.py +1 -1
  70. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  71. aws_cdk/aws_stepfunctions/__init__.py +23 -17
  72. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  73. aws_cdk/aws_synthetics/__init__.py +9 -0
  74. aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
  75. aws_cdk/aws_transfer/__init__.py +19 -10
  76. aws_cdk/aws_wafv2/__init__.py +512 -1141
  77. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  78. aws_cdk/cx_api/__init__.py +38 -2
  79. aws_cdk/pipelines/__init__.py +52 -2
  80. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
  81. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
  82. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
  83. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
  84. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
  85. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
@@ -604,7 +604,10 @@ class AssetManifest:
604
604
  executable=["executable"],
605
605
  network_mode="networkMode",
606
606
  platform="platform"
607
- )
607
+ ),
608
+
609
+ # the properties below are optional
610
+ display_name="displayName"
608
611
  )
609
612
  },
610
613
  files={
@@ -627,7 +630,10 @@ class AssetManifest:
627
630
  executable=["executable"],
628
631
  packaging=cloud_assembly_schema.FileAssetPackaging.FILE,
629
632
  path="path"
630
- )
633
+ ),
634
+
635
+ # the properties below are optional
636
+ display_name="displayName"
631
637
  )
632
638
  }
633
639
  )
@@ -4132,7 +4138,11 @@ class DockerCacheOption:
4132
4138
  @jsii.data_type(
4133
4139
  jsii_type="aws-cdk-lib.cloud_assembly_schema.DockerImageAsset",
4134
4140
  jsii_struct_bases=[],
4135
- name_mapping={"destinations": "destinations", "source": "source"},
4141
+ name_mapping={
4142
+ "destinations": "destinations",
4143
+ "source": "source",
4144
+ "display_name": "displayName",
4145
+ },
4136
4146
  )
4137
4147
  class DockerImageAsset:
4138
4148
  def __init__(
@@ -4140,11 +4150,13 @@ class DockerImageAsset:
4140
4150
  *,
4141
4151
  destinations: typing.Mapping[builtins.str, typing.Union["DockerImageDestination", typing.Dict[builtins.str, typing.Any]]],
4142
4152
  source: typing.Union["DockerImageSource", typing.Dict[builtins.str, typing.Any]],
4153
+ display_name: typing.Optional[builtins.str] = None,
4143
4154
  ) -> None:
4144
4155
  '''A file asset.
4145
4156
 
4146
- :param destinations: Destinations for this file asset.
4147
- :param source: Source description for file assets.
4157
+ :param destinations: Destinations for this container asset.
4158
+ :param source: Source description for container assets.
4159
+ :param display_name: A display name for this asset. Default: - The identifier will be used as the display name
4148
4160
 
4149
4161
  :exampleMetadata: fixture=_generated
4150
4162
 
@@ -4203,7 +4215,10 @@ class DockerImageAsset:
4203
4215
  executable=["executable"],
4204
4216
  network_mode="networkMode",
4205
4217
  platform="platform"
4206
- )
4218
+ ),
4219
+
4220
+ # the properties below are optional
4221
+ display_name="displayName"
4207
4222
  )
4208
4223
  '''
4209
4224
  if isinstance(source, dict):
@@ -4212,25 +4227,37 @@ class DockerImageAsset:
4212
4227
  type_hints = typing.get_type_hints(_typecheckingstub__18a2a085c0212f98043b6dccf8c92e1bdc5d9e20c7266a3be7bc908b8b771cd3)
4213
4228
  check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
4214
4229
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
4230
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
4215
4231
  self._values: typing.Dict[builtins.str, typing.Any] = {
4216
4232
  "destinations": destinations,
4217
4233
  "source": source,
4218
4234
  }
4235
+ if display_name is not None:
4236
+ self._values["display_name"] = display_name
4219
4237
 
4220
4238
  @builtins.property
4221
4239
  def destinations(self) -> typing.Mapping[builtins.str, "DockerImageDestination"]:
4222
- '''Destinations for this file asset.'''
4240
+ '''Destinations for this container asset.'''
4223
4241
  result = self._values.get("destinations")
4224
4242
  assert result is not None, "Required property 'destinations' is missing"
4225
4243
  return typing.cast(typing.Mapping[builtins.str, "DockerImageDestination"], result)
4226
4244
 
4227
4245
  @builtins.property
4228
4246
  def source(self) -> "DockerImageSource":
4229
- '''Source description for file assets.'''
4247
+ '''Source description for container assets.'''
4230
4248
  result = self._values.get("source")
4231
4249
  assert result is not None, "Required property 'source' is missing"
4232
4250
  return typing.cast("DockerImageSource", result)
4233
4251
 
4252
+ @builtins.property
4253
+ def display_name(self) -> typing.Optional[builtins.str]:
4254
+ '''A display name for this asset.
4255
+
4256
+ :default: - The identifier will be used as the display name
4257
+ '''
4258
+ result = self._values.get("display_name")
4259
+ return typing.cast(typing.Optional[builtins.str], result)
4260
+
4234
4261
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4235
4262
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4236
4263
 
@@ -4828,7 +4855,11 @@ class EndpointServiceAvailabilityZonesContextQuery(ContextLookupRoleOptions):
4828
4855
  @jsii.data_type(
4829
4856
  jsii_type="aws-cdk-lib.cloud_assembly_schema.FileAsset",
4830
4857
  jsii_struct_bases=[],
4831
- name_mapping={"destinations": "destinations", "source": "source"},
4858
+ name_mapping={
4859
+ "destinations": "destinations",
4860
+ "source": "source",
4861
+ "display_name": "displayName",
4862
+ },
4832
4863
  )
4833
4864
  class FileAsset:
4834
4865
  def __init__(
@@ -4836,11 +4867,13 @@ class FileAsset:
4836
4867
  *,
4837
4868
  destinations: typing.Mapping[builtins.str, typing.Union["FileDestination", typing.Dict[builtins.str, typing.Any]]],
4838
4869
  source: typing.Union["FileSource", typing.Dict[builtins.str, typing.Any]],
4870
+ display_name: typing.Optional[builtins.str] = None,
4839
4871
  ) -> None:
4840
4872
  '''A file asset.
4841
4873
 
4842
4874
  :param destinations: Destinations for this file asset.
4843
4875
  :param source: Source description for file assets.
4876
+ :param display_name: A display name for this asset. Default: - The identifier will be used as the display name
4844
4877
 
4845
4878
  :exampleMetadata: fixture=_generated
4846
4879
 
@@ -4871,7 +4904,10 @@ class FileAsset:
4871
4904
  executable=["executable"],
4872
4905
  packaging=cloud_assembly_schema.FileAssetPackaging.FILE,
4873
4906
  path="path"
4874
- )
4907
+ ),
4908
+
4909
+ # the properties below are optional
4910
+ display_name="displayName"
4875
4911
  )
4876
4912
  '''
4877
4913
  if isinstance(source, dict):
@@ -4880,10 +4916,13 @@ class FileAsset:
4880
4916
  type_hints = typing.get_type_hints(_typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566bc96c3d8)
4881
4917
  check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
4882
4918
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
4919
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
4883
4920
  self._values: typing.Dict[builtins.str, typing.Any] = {
4884
4921
  "destinations": destinations,
4885
4922
  "source": source,
4886
4923
  }
4924
+ if display_name is not None:
4925
+ self._values["display_name"] = display_name
4887
4926
 
4888
4927
  @builtins.property
4889
4928
  def destinations(self) -> typing.Mapping[builtins.str, "FileDestination"]:
@@ -4899,6 +4938,15 @@ class FileAsset:
4899
4938
  assert result is not None, "Required property 'source' is missing"
4900
4939
  return typing.cast("FileSource", result)
4901
4940
 
4941
+ @builtins.property
4942
+ def display_name(self) -> typing.Optional[builtins.str]:
4943
+ '''A display name for this asset.
4944
+
4945
+ :default: - The identifier will be used as the display name
4946
+ '''
4947
+ result = self._values.get("display_name")
4948
+ return typing.cast(typing.Optional[builtins.str], result)
4949
+
4902
4950
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4903
4951
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4904
4952
 
@@ -9192,6 +9240,7 @@ def _typecheckingstub__18a2a085c0212f98043b6dccf8c92e1bdc5d9e20c7266a3be7bc908b8
9192
9240
  *,
9193
9241
  destinations: typing.Mapping[builtins.str, typing.Union[DockerImageDestination, typing.Dict[builtins.str, typing.Any]]],
9194
9242
  source: typing.Union[DockerImageSource, typing.Dict[builtins.str, typing.Any]],
9243
+ display_name: typing.Optional[builtins.str] = None,
9195
9244
  ) -> None:
9196
9245
  """Type checking stubs"""
9197
9246
  pass
@@ -9243,6 +9292,7 @@ def _typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566b
9243
9292
  *,
9244
9293
  destinations: typing.Mapping[builtins.str, typing.Union[FileDestination, typing.Dict[builtins.str, typing.Any]]],
9245
9294
  source: typing.Union[FileSource, typing.Dict[builtins.str, typing.Any]],
9295
+ display_name: typing.Optional[builtins.str] = None,
9246
9296
  ) -> None:
9247
9297
  """Type checking stubs"""
9248
9298
  pass
@@ -616,16 +616,19 @@ When this feature flag is enabled, CDK expands the scope of usage data collectio
616
616
 
617
617
  * `@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy`
618
618
 
619
- When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
619
+ [Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
620
620
  The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
621
621
  This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
622
+ However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
623
+ This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
624
+ We recommend to unset the feature flag if already set which will restore the original behavior.
622
625
 
623
626
  *cdk.json*
624
627
 
625
628
  ```json
626
629
  {
627
630
  "context": {
628
- "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true
631
+ "@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false
629
632
  }
630
633
  }
631
634
  ```
@@ -682,6 +685,39 @@ When this flag is disabled:
682
685
  }
683
686
  }
684
687
  ```
688
+
689
+ * `@aws-cdk/aws-dynamodb:retainTableReplica`
690
+
691
+ Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
692
+ When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
693
+
694
+ *cdk.json*
695
+
696
+ ```json
697
+ {
698
+ "context": {
699
+ "@aws-cdk/aws-dynamodb:retainTableReplica": true
700
+ }
701
+ }
702
+ ```
703
+
704
+ * `@aws-cdk/cognito:logUserPoolClientSecretValue`
705
+
706
+ When this feature flag is enabled, the SDK API call response to desribe user pool client values will be logged in the custom
707
+ resource lambda function logs.
708
+
709
+ When this feature flag is disabled, the SDK API call response to describe user pool client values will not be logged in the custom
710
+ resource lambda function logs.
711
+
712
+ *cdk.json*
713
+
714
+ ```json
715
+ {
716
+ "context": {
717
+ "@aws-cdk/cognito:logUserPoolClientSecretValue": true
718
+ }
719
+ }
720
+ ```
685
721
  '''
686
722
  from pkgutil import extend_path
687
723
  __path__ = extend_path(__path__, __name__)
@@ -897,6 +897,12 @@ Note that if you provide an existing pipeline, you cannot provide values for
897
897
  `pipelineName`, `crossAccountKeys`, `reuseCrossRegionSupportStacks`, or `role`
898
898
  because those values are passed in directly to the underlying `codepipeline.Pipeline`.
899
899
 
900
+ ### Use pipeline service role as default action role in pipeline
901
+
902
+ By default CDK automatically creates roles for each action (`CodeBuildStep`, etc).
903
+ If you prefer to use the pipeline service role as default instead, set the `usePipelineRoleForActions` property.
904
+ This will tell CDK to default to the pipeline service role in AWS CodePipeline if no action role is provided.
905
+
900
906
  ## Using Docker in the pipeline
901
907
 
902
908
  Docker can be used in 3 different places in the pipeline:
@@ -2387,6 +2393,7 @@ class CodePipelineActionFactoryResult:
2387
2393
  "self_mutation_code_build_defaults": "selfMutationCodeBuildDefaults",
2388
2394
  "synth_code_build_defaults": "synthCodeBuildDefaults",
2389
2395
  "use_change_sets": "useChangeSets",
2396
+ "use_pipeline_role_for_actions": "usePipelineRoleForActions",
2390
2397
  },
2391
2398
  )
2392
2399
  class CodePipelineProps:
@@ -2413,6 +2420,7 @@ class CodePipelineProps:
2413
2420
  self_mutation_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
2414
2421
  synth_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
2415
2422
  use_change_sets: typing.Optional[builtins.bool] = None,
2423
+ use_pipeline_role_for_actions: typing.Optional[builtins.bool] = None,
2416
2424
  ) -> None:
2417
2425
  '''Properties for a ``CodePipeline``.
2418
2426
 
@@ -2436,6 +2444,7 @@ class CodePipelineProps:
2436
2444
  :param self_mutation_code_build_defaults: Additional customizations to apply to the self mutation CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
2437
2445
  :param synth_code_build_defaults: Additional customizations to apply to the synthesize CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
2438
2446
  :param use_change_sets: Deploy every stack by creating a change set and executing it. When enabled, creates a "Prepare" and "Execute" action for each stack. Disable to deploy the stack in one pipeline action. Default: true
2447
+ :param use_pipeline_role_for_actions: Use pipeline service role for actions if no action role configured. Default: - false
2439
2448
 
2440
2449
  :exampleMetadata: infused
2441
2450
 
@@ -2484,6 +2493,7 @@ class CodePipelineProps:
2484
2493
  check_type(argname="argument self_mutation_code_build_defaults", value=self_mutation_code_build_defaults, expected_type=type_hints["self_mutation_code_build_defaults"])
2485
2494
  check_type(argname="argument synth_code_build_defaults", value=synth_code_build_defaults, expected_type=type_hints["synth_code_build_defaults"])
2486
2495
  check_type(argname="argument use_change_sets", value=use_change_sets, expected_type=type_hints["use_change_sets"])
2496
+ check_type(argname="argument use_pipeline_role_for_actions", value=use_pipeline_role_for_actions, expected_type=type_hints["use_pipeline_role_for_actions"])
2487
2497
  self._values: typing.Dict[builtins.str, typing.Any] = {
2488
2498
  "synth": synth,
2489
2499
  }
@@ -2525,6 +2535,8 @@ class CodePipelineProps:
2525
2535
  self._values["synth_code_build_defaults"] = synth_code_build_defaults
2526
2536
  if use_change_sets is not None:
2527
2537
  self._values["use_change_sets"] = use_change_sets
2538
+ if use_pipeline_role_for_actions is not None:
2539
+ self._values["use_pipeline_role_for_actions"] = use_pipeline_role_for_actions
2528
2540
 
2529
2541
  @builtins.property
2530
2542
  def synth(self) -> "IFileSetProducer":
@@ -2793,6 +2805,15 @@ class CodePipelineProps:
2793
2805
  result = self._values.get("use_change_sets")
2794
2806
  return typing.cast(typing.Optional[builtins.bool], result)
2795
2807
 
2808
+ @builtins.property
2809
+ def use_pipeline_role_for_actions(self) -> typing.Optional[builtins.bool]:
2810
+ '''Use pipeline service role for actions if no action role configured.
2811
+
2812
+ :default: - false
2813
+ '''
2814
+ result = self._values.get("use_pipeline_role_for_actions")
2815
+ return typing.cast(typing.Optional[builtins.bool], result)
2816
+
2796
2817
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2797
2818
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2798
2819
 
@@ -4608,6 +4629,7 @@ class ShellStepProps:
4608
4629
  "asset_type": "assetType",
4609
4630
  "is_template": "isTemplate",
4610
4631
  "asset_publishing_role_arn": "assetPublishingRoleArn",
4632
+ "display_name": "displayName",
4611
4633
  },
4612
4634
  )
4613
4635
  class StackAsset:
@@ -4620,6 +4642,7 @@ class StackAsset:
4620
4642
  asset_type: AssetType,
4621
4643
  is_template: builtins.bool,
4622
4644
  asset_publishing_role_arn: typing.Optional[builtins.str] = None,
4645
+ display_name: typing.Optional[builtins.str] = None,
4623
4646
  ) -> None:
4624
4647
  '''An asset used by a Stack.
4625
4648
 
@@ -4629,6 +4652,7 @@ class StackAsset:
4629
4652
  :param asset_type: Type of asset to publish.
4630
4653
  :param is_template: Does this asset represent the CloudFormation template for the stack. Default: false
4631
4654
  :param asset_publishing_role_arn: Role ARN to assume to publish. Default: - No need to assume any role
4655
+ :param display_name: The display name of this asset. Default: - Use some generated string as display name
4632
4656
 
4633
4657
  :exampleMetadata: fixture=_generated
4634
4658
 
@@ -4646,7 +4670,8 @@ class StackAsset:
4646
4670
  is_template=False,
4647
4671
 
4648
4672
  # the properties below are optional
4649
- asset_publishing_role_arn="assetPublishingRoleArn"
4673
+ asset_publishing_role_arn="assetPublishingRoleArn",
4674
+ display_name="displayName"
4650
4675
  )
4651
4676
  '''
4652
4677
  if __debug__:
@@ -4657,6 +4682,7 @@ class StackAsset:
4657
4682
  check_type(argname="argument asset_type", value=asset_type, expected_type=type_hints["asset_type"])
4658
4683
  check_type(argname="argument is_template", value=is_template, expected_type=type_hints["is_template"])
4659
4684
  check_type(argname="argument asset_publishing_role_arn", value=asset_publishing_role_arn, expected_type=type_hints["asset_publishing_role_arn"])
4685
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
4660
4686
  self._values: typing.Dict[builtins.str, typing.Any] = {
4661
4687
  "asset_id": asset_id,
4662
4688
  "asset_manifest_path": asset_manifest_path,
@@ -4666,6 +4692,8 @@ class StackAsset:
4666
4692
  }
4667
4693
  if asset_publishing_role_arn is not None:
4668
4694
  self._values["asset_publishing_role_arn"] = asset_publishing_role_arn
4695
+ if display_name is not None:
4696
+ self._values["display_name"] = display_name
4669
4697
 
4670
4698
  @builtins.property
4671
4699
  def asset_id(self) -> builtins.str:
@@ -4718,6 +4746,15 @@ class StackAsset:
4718
4746
  result = self._values.get("asset_publishing_role_arn")
4719
4747
  return typing.cast(typing.Optional[builtins.str], result)
4720
4748
 
4749
+ @builtins.property
4750
+ def display_name(self) -> typing.Optional[builtins.str]:
4751
+ '''The display name of this asset.
4752
+
4753
+ :default: - Use some generated string as display name
4754
+ '''
4755
+ result = self._values.get("display_name")
4756
+ return typing.cast(typing.Optional[builtins.str], result)
4757
+
4721
4758
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4722
4759
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4723
4760
 
@@ -4992,7 +5029,8 @@ class StackDeploymentProps:
4992
5029
  is_template=False,
4993
5030
 
4994
5031
  # the properties below are optional
4995
- asset_publishing_role_arn="assetPublishingRoleArn"
5032
+ asset_publishing_role_arn="assetPublishingRoleArn",
5033
+ display_name="displayName"
4996
5034
  )],
4997
5035
  assume_role_arn="assumeRoleArn",
4998
5036
  execution_role_arn="executionRoleArn",
@@ -6541,6 +6579,7 @@ class CodePipeline(
6541
6579
  self_mutation_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6542
6580
  synth_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6543
6581
  use_change_sets: typing.Optional[builtins.bool] = None,
6582
+ use_pipeline_role_for_actions: typing.Optional[builtins.bool] = None,
6544
6583
  ) -> None:
6545
6584
  '''
6546
6585
  :param scope: -
@@ -6565,6 +6604,7 @@ class CodePipeline(
6565
6604
  :param self_mutation_code_build_defaults: Additional customizations to apply to the self mutation CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
6566
6605
  :param synth_code_build_defaults: Additional customizations to apply to the synthesize CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
6567
6606
  :param use_change_sets: Deploy every stack by creating a change set and executing it. When enabled, creates a "Prepare" and "Execute" action for each stack. Disable to deploy the stack in one pipeline action. Default: true
6607
+ :param use_pipeline_role_for_actions: Use pipeline service role for actions if no action role configured. Default: - false
6568
6608
  '''
6569
6609
  if __debug__:
6570
6610
  type_hints = typing.get_type_hints(_typecheckingstub__7b4b4a0bcbd5fab3e4b78aa07ff9504469ae96c16799604ca3345bcb94480fc3)
@@ -6591,6 +6631,7 @@ class CodePipeline(
6591
6631
  self_mutation_code_build_defaults=self_mutation_code_build_defaults,
6592
6632
  synth_code_build_defaults=synth_code_build_defaults,
6593
6633
  use_change_sets=use_change_sets,
6634
+ use_pipeline_role_for_actions=use_pipeline_role_for_actions,
6594
6635
  )
6595
6636
 
6596
6637
  jsii.create(self.__class__, self, [scope, id, props])
@@ -6634,6 +6675,12 @@ class CodePipeline(
6634
6675
  '''
6635
6676
  return typing.cast(_IProject_aafae30a, jsii.get(self, "synthProject"))
6636
6677
 
6678
+ @builtins.property
6679
+ @jsii.member(jsii_name="usePipelineRoleForActions")
6680
+ def use_pipeline_role_for_actions(self) -> builtins.bool:
6681
+ '''Allow pipeline service role used for actions if no action role configured instead of creating a new role for each action.'''
6682
+ return typing.cast(builtins.bool, jsii.get(self, "usePipelineRoleForActions"))
6683
+
6637
6684
 
6638
6685
  @jsii.implements(ICodePipelineActionFactory)
6639
6686
  class CodePipelineSource(
@@ -7903,6 +7950,7 @@ def _typecheckingstub__c46bc21ca63efb27c935c31017ebbc8c85b3b93ae1798e54892dd3eae
7903
7950
  self_mutation_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7904
7951
  synth_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7905
7952
  use_change_sets: typing.Optional[builtins.bool] = None,
7953
+ use_pipeline_role_for_actions: typing.Optional[builtins.bool] = None,
7906
7954
  ) -> None:
7907
7955
  """Type checking stubs"""
7908
7956
  pass
@@ -8124,6 +8172,7 @@ def _typecheckingstub__0b53846c07332af34759787d6881e8bb143a9ccedff4818aa79091268
8124
8172
  asset_type: AssetType,
8125
8173
  is_template: builtins.bool,
8126
8174
  asset_publishing_role_arn: typing.Optional[builtins.str] = None,
8175
+ display_name: typing.Optional[builtins.str] = None,
8127
8176
  ) -> None:
8128
8177
  """Type checking stubs"""
8129
8178
  pass
@@ -8365,6 +8414,7 @@ def _typecheckingstub__7b4b4a0bcbd5fab3e4b78aa07ff9504469ae96c16799604ca3345bcb9
8365
8414
  self_mutation_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8366
8415
  synth_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8367
8416
  use_change_sets: typing.Optional[builtins.bool] = None,
8417
+ use_pipeline_role_for_actions: typing.Optional[builtins.bool] = None,
8368
8418
  ) -> None:
8369
8419
  """Type checking stubs"""
8370
8420
  pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk-lib
3
- Version: 2.186.0
3
+ Version: 2.188.0
4
4
  Summary: Version 2 of the AWS Cloud Development Kit library
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -20,11 +20,11 @@ Requires-Python: ~=3.9
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
22
  License-File: NOTICE
23
- Requires-Dist: aws-cdk.asset-awscli-v1<3.0.0,>=2.2.227
23
+ Requires-Dist: aws-cdk.asset-awscli-v1<3.0.0,>=2.2.229
24
24
  Requires-Dist: aws-cdk.asset-node-proxy-agent-v6<3.0.0,>=2.1.0
25
- Requires-Dist: aws-cdk.cloud-assembly-schema<41.0.0,>=40.7.0
25
+ Requires-Dist: aws-cdk.cloud-assembly-schema<42.0.0,>=41.0.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.109.0
27
+ Requires-Dist: jsii<2.0.0,>=1.110.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30