aws-cdk-lib 2.159.1__py3-none-any.whl → 2.160.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 CHANGED
@@ -173,8 +173,8 @@ class MyNestedStack(cfn.NestedStack):
173
173
  s3.Bucket(self, "NestedBucket")
174
174
 
175
175
  class MyParentStack(Stack):
176
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
177
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
176
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
177
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
178
178
 
179
179
  MyNestedStack(self, "Nested1")
180
180
  MyNestedStack(self, "Nested2")
@@ -2074,26 +2074,38 @@ class ArnComponents:
2074
2074
 
2075
2075
  Example::
2076
2076
 
2077
- sub_zone = route53.PublicHostedZone(self, "SubZone",
2078
- zone_name="sub.someexample.com"
2079
- )
2077
+ from aws_cdk.aws_apigatewayv2_authorizers import WebSocketIamAuthorizer
2078
+ from aws_cdk.aws_apigatewayv2_integrations import WebSocketLambdaIntegration
2079
+
2080
+ # This function handles your connect route
2081
+ # connect_handler: lambda.Function
2082
+
2080
2083
 
2081
- # import the delegation role by constructing the roleArn
2082
- delegation_role_arn = Stack.of(self).format_arn(
2083
- region="", # IAM is global in each partition
2084
- service="iam",
2085
- account="parent-account-id",
2086
- resource="role",
2087
- resource_name="MyDelegationRole"
2084
+ web_socket_api = apigwv2.WebSocketApi(self, "WebSocketApi")
2085
+
2086
+ web_socket_api.add_route("$connect",
2087
+ integration=WebSocketLambdaIntegration("Integration", connect_handler),
2088
+ authorizer=WebSocketIamAuthorizer()
2088
2089
  )
2089
- delegation_role = iam.Role.from_role_arn(self, "DelegationRole", delegation_role_arn)
2090
2090
 
2091
- route53.CrossAccountZoneDelegationRecord(self, "delegate",
2092
- delegated_zone=sub_zone,
2093
- parent_hosted_zone_name="someexample.com", # or you can use parentHostedZoneId
2094
- delegation_role=delegation_role,
2095
- assume_role_region="us-east-1"
2091
+ # Create an IAM user (identity)
2092
+ user = iam.User(self, "User")
2093
+
2094
+ web_socket_arn = Stack.of(self).format_arn(
2095
+ service="execute-api",
2096
+ resource=web_socket_api.api_id
2096
2097
  )
2098
+
2099
+ # Grant access to the IAM user
2100
+ user.attach_inline_policy(iam.Policy(self, "AllowInvoke",
2101
+ statements=[
2102
+ iam.PolicyStatement(
2103
+ actions=["execute-api:Invoke"],
2104
+ effect=iam.Effect.ALLOW,
2105
+ resources=[web_socket_arn]
2106
+ )
2107
+ ]
2108
+ ))
2097
2109
  '''
2098
2110
  if __debug__:
2099
2111
  type_hints = typing.get_type_hints(_typecheckingstub__4565cb9b5469dd4d4c1d23e54f8933087065a599bfce16e56da30ffbcbeccfc0)
@@ -2373,6 +2385,7 @@ class AssetManifestBuilder(
2373
2385
  *,
2374
2386
  image_tag: builtins.str,
2375
2387
  repository_name: builtins.str,
2388
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2376
2389
  assume_role_arn: typing.Optional[builtins.str] = None,
2377
2390
  assume_role_external_id: typing.Optional[builtins.str] = None,
2378
2391
  region: typing.Optional[builtins.str] = None,
@@ -2386,6 +2399,7 @@ class AssetManifestBuilder(
2386
2399
  :param source: -
2387
2400
  :param image_tag: Tag of the image to publish.
2388
2401
  :param repository_name: Name of the ECR repository to publish to.
2402
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
2389
2403
  :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
2390
2404
  :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
2391
2405
  :param region: The region where this asset will need to be published. Default: - Current region
@@ -2398,6 +2412,7 @@ class AssetManifestBuilder(
2398
2412
  dest = _DockerImageDestination_132046c7(
2399
2413
  image_tag=image_tag,
2400
2414
  repository_name=repository_name,
2415
+ assume_role_additional_options=assume_role_additional_options,
2401
2416
  assume_role_arn=assume_role_arn,
2402
2417
  assume_role_external_id=assume_role_external_id,
2403
2418
  region=region,
@@ -2414,6 +2429,7 @@ class AssetManifestBuilder(
2414
2429
  *,
2415
2430
  bucket_name: builtins.str,
2416
2431
  object_key: builtins.str,
2432
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2417
2433
  assume_role_arn: typing.Optional[builtins.str] = None,
2418
2434
  assume_role_external_id: typing.Optional[builtins.str] = None,
2419
2435
  region: typing.Optional[builtins.str] = None,
@@ -2427,6 +2443,7 @@ class AssetManifestBuilder(
2427
2443
  :param source: -
2428
2444
  :param bucket_name: The name of the bucket.
2429
2445
  :param object_key: The destination object key.
2446
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
2430
2447
  :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
2431
2448
  :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
2432
2449
  :param region: The region where this asset will need to be published. Default: - Current region
@@ -2439,6 +2456,7 @@ class AssetManifestBuilder(
2439
2456
  dest = _FileDestination_7d285b38(
2440
2457
  bucket_name=bucket_name,
2441
2458
  object_key=object_key,
2459
+ assume_role_additional_options=assume_role_additional_options,
2442
2460
  assume_role_arn=assume_role_arn,
2443
2461
  assume_role_external_id=assume_role_external_id,
2444
2462
  region=region,
@@ -2573,6 +2591,8 @@ class AssetManifestDockerImageDestination:
2573
2591
  # The values are placeholders you should change.
2574
2592
  import aws_cdk as cdk
2575
2593
 
2594
+ # assume_role_additional_options: Any
2595
+
2576
2596
  asset_manifest_docker_image_destination = cdk.AssetManifestDockerImageDestination(
2577
2597
  repository_name="repositoryName",
2578
2598
 
@@ -2582,6 +2602,9 @@ class AssetManifestDockerImageDestination:
2582
2602
  assume_role_arn="assumeRoleArn",
2583
2603
 
2584
2604
  # the properties below are optional
2605
+ assume_role_additional_options={
2606
+ "assume_role_additional_options_key": assume_role_additional_options
2607
+ },
2585
2608
  assume_role_external_id="assumeRoleExternalId"
2586
2609
  )
2587
2610
  )
@@ -2669,6 +2692,8 @@ class AssetManifestFileDestination:
2669
2692
  # The values are placeholders you should change.
2670
2693
  import aws_cdk as cdk
2671
2694
 
2695
+ # assume_role_additional_options: Any
2696
+
2672
2697
  asset_manifest_file_destination = cdk.AssetManifestFileDestination(
2673
2698
  bucket_name="bucketName",
2674
2699
 
@@ -2678,6 +2703,9 @@ class AssetManifestFileDestination:
2678
2703
  assume_role_arn="assumeRoleArn",
2679
2704
 
2680
2705
  # the properties below are optional
2706
+ assume_role_additional_options={
2707
+ "assume_role_additional_options_key": assume_role_additional_options
2708
+ },
2681
2709
  assume_role_external_id="assumeRoleExternalId"
2682
2710
  )
2683
2711
  )
@@ -10607,16 +10635,20 @@ class CustomResourceProviderRuntime(enum.Enum):
10607
10635
  "bootstrap_stack_version_ssm_parameter": "bootstrapStackVersionSsmParameter",
10608
10636
  "bucket_prefix": "bucketPrefix",
10609
10637
  "cloud_formation_execution_role": "cloudFormationExecutionRole",
10638
+ "deploy_role_additional_options": "deployRoleAdditionalOptions",
10610
10639
  "deploy_role_arn": "deployRoleArn",
10611
10640
  "deploy_role_external_id": "deployRoleExternalId",
10612
10641
  "docker_tag_prefix": "dockerTagPrefix",
10613
10642
  "file_asset_publishing_external_id": "fileAssetPublishingExternalId",
10643
+ "file_asset_publishing_role_additional_options": "fileAssetPublishingRoleAdditionalOptions",
10614
10644
  "file_asset_publishing_role_arn": "fileAssetPublishingRoleArn",
10615
10645
  "file_assets_bucket_name": "fileAssetsBucketName",
10616
10646
  "generate_bootstrap_version_rule": "generateBootstrapVersionRule",
10617
10647
  "image_asset_publishing_external_id": "imageAssetPublishingExternalId",
10648
+ "image_asset_publishing_role_additional_options": "imageAssetPublishingRoleAdditionalOptions",
10618
10649
  "image_asset_publishing_role_arn": "imageAssetPublishingRoleArn",
10619
10650
  "image_assets_repository_name": "imageAssetsRepositoryName",
10651
+ "lookup_role_additional_options": "lookupRoleAdditionalOptions",
10620
10652
  "lookup_role_arn": "lookupRoleArn",
10621
10653
  "lookup_role_external_id": "lookupRoleExternalId",
10622
10654
  "qualifier": "qualifier",
@@ -10630,16 +10662,20 @@ class DefaultStackSynthesizerProps:
10630
10662
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
10631
10663
  bucket_prefix: typing.Optional[builtins.str] = None,
10632
10664
  cloud_formation_execution_role: typing.Optional[builtins.str] = None,
10665
+ deploy_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
10633
10666
  deploy_role_arn: typing.Optional[builtins.str] = None,
10634
10667
  deploy_role_external_id: typing.Optional[builtins.str] = None,
10635
10668
  docker_tag_prefix: typing.Optional[builtins.str] = None,
10636
10669
  file_asset_publishing_external_id: typing.Optional[builtins.str] = None,
10670
+ file_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
10637
10671
  file_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
10638
10672
  file_assets_bucket_name: typing.Optional[builtins.str] = None,
10639
10673
  generate_bootstrap_version_rule: typing.Optional[builtins.bool] = None,
10640
10674
  image_asset_publishing_external_id: typing.Optional[builtins.str] = None,
10675
+ image_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
10641
10676
  image_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
10642
10677
  image_assets_repository_name: typing.Optional[builtins.str] = None,
10678
+ lookup_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
10643
10679
  lookup_role_arn: typing.Optional[builtins.str] = None,
10644
10680
  lookup_role_external_id: typing.Optional[builtins.str] = None,
10645
10681
  qualifier: typing.Optional[builtins.str] = None,
@@ -10650,16 +10686,20 @@ class DefaultStackSynthesizerProps:
10650
10686
  :param bootstrap_stack_version_ssm_parameter: Bootstrap stack version SSM parameter. The placeholder ``${Qualifier}`` will be replaced with the value of qualifier. Default: DefaultStackSynthesizer.DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
10651
10687
  :param bucket_prefix: bucketPrefix to use while storing S3 Assets. Default: - DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX
10652
10688
  :param cloud_formation_execution_role: The role CloudFormation will assume when deploying the Stack. You must supply this if you have given a non-standard name to the execution role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_CLOUDFORMATION_ROLE_ARN
10689
+ :param deploy_role_additional_options: Additional options to pass to STS when assuming the deploy role. - ``RoleArn`` should not be used. Use the dedicated ``deployRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``deployRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
10653
10690
  :param deploy_role_arn: The role to assume to initiate a deployment in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_DEPLOY_ROLE_ARN
10654
10691
  :param deploy_role_external_id: External ID to use when assuming role for cloudformation deployments. Default: - No external ID
10655
10692
  :param docker_tag_prefix: A prefix to use while tagging and uploading Docker images to ECR. This does not add any separators - the source hash will be appended to this string directly. Default: - DefaultStackSynthesizer.DEFAULT_DOCKER_ASSET_PREFIX
10656
10693
  :param file_asset_publishing_external_id: External ID to use when assuming role for file asset publishing. Default: - No external ID
10694
+ :param file_asset_publishing_role_additional_options: Additional options to pass to STS when assuming the file asset publishing. - ``RoleArn`` should not be used. Use the dedicated ``fileAssetPublishingRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``fileAssetPublishingExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
10657
10695
  :param file_asset_publishing_role_arn: The role to use to publish file assets to the S3 bucket in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
10658
10696
  :param file_assets_bucket_name: Name of the S3 bucket to hold file assets. You must supply this if you have given a non-standard name to the staging bucket. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSETS_BUCKET_NAME
10659
10697
  :param generate_bootstrap_version_rule: Whether to add a Rule to the stack template verifying the bootstrap stack version. This generally should be left set to ``true``, unless you explicitly want to be able to deploy to an unbootstrapped environment. Default: true
10660
10698
  :param image_asset_publishing_external_id: External ID to use when assuming role for image asset publishing. Default: - No external ID
10699
+ :param image_asset_publishing_role_additional_options: Additional options to pass to STS when assuming the image asset publishing. - ``RoleArn`` should not be used. Use the dedicated ``imageAssetPublishingRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``imageAssetPublishingExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
10661
10700
  :param image_asset_publishing_role_arn: The role to use to publish image assets to the ECR repository in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
10662
10701
  :param image_assets_repository_name: Name of the ECR repository to hold Docker Image assets. You must supply this if you have given a non-standard name to the ECR repository. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
10702
+ :param lookup_role_additional_options: Additional options to pass to STS when assuming the lookup role. - ``RoleArn`` should not be used. Use the dedicated ``lookupRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``lookupRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
10663
10703
  :param lookup_role_arn: The role to use to look up values from the target AWS account during synthesis. Default: - None
10664
10704
  :param lookup_role_external_id: External ID to use when assuming lookup role. Default: - No external ID
10665
10705
  :param qualifier: Qualifier to disambiguate multiple environments in the same account. You can use this and leave the other naming properties empty if you have deployed the bootstrap environment with standard names but only different qualifiers. Default: - Value of context key '@aws-cdk/core:bootstrapQualifier' if set, otherwise ``DefaultStackSynthesizer.DEFAULT_QUALIFIER``
@@ -10680,16 +10720,20 @@ class DefaultStackSynthesizerProps:
10680
10720
  check_type(argname="argument bootstrap_stack_version_ssm_parameter", value=bootstrap_stack_version_ssm_parameter, expected_type=type_hints["bootstrap_stack_version_ssm_parameter"])
10681
10721
  check_type(argname="argument bucket_prefix", value=bucket_prefix, expected_type=type_hints["bucket_prefix"])
10682
10722
  check_type(argname="argument cloud_formation_execution_role", value=cloud_formation_execution_role, expected_type=type_hints["cloud_formation_execution_role"])
10723
+ check_type(argname="argument deploy_role_additional_options", value=deploy_role_additional_options, expected_type=type_hints["deploy_role_additional_options"])
10683
10724
  check_type(argname="argument deploy_role_arn", value=deploy_role_arn, expected_type=type_hints["deploy_role_arn"])
10684
10725
  check_type(argname="argument deploy_role_external_id", value=deploy_role_external_id, expected_type=type_hints["deploy_role_external_id"])
10685
10726
  check_type(argname="argument docker_tag_prefix", value=docker_tag_prefix, expected_type=type_hints["docker_tag_prefix"])
10686
10727
  check_type(argname="argument file_asset_publishing_external_id", value=file_asset_publishing_external_id, expected_type=type_hints["file_asset_publishing_external_id"])
10728
+ check_type(argname="argument file_asset_publishing_role_additional_options", value=file_asset_publishing_role_additional_options, expected_type=type_hints["file_asset_publishing_role_additional_options"])
10687
10729
  check_type(argname="argument file_asset_publishing_role_arn", value=file_asset_publishing_role_arn, expected_type=type_hints["file_asset_publishing_role_arn"])
10688
10730
  check_type(argname="argument file_assets_bucket_name", value=file_assets_bucket_name, expected_type=type_hints["file_assets_bucket_name"])
10689
10731
  check_type(argname="argument generate_bootstrap_version_rule", value=generate_bootstrap_version_rule, expected_type=type_hints["generate_bootstrap_version_rule"])
10690
10732
  check_type(argname="argument image_asset_publishing_external_id", value=image_asset_publishing_external_id, expected_type=type_hints["image_asset_publishing_external_id"])
10733
+ check_type(argname="argument image_asset_publishing_role_additional_options", value=image_asset_publishing_role_additional_options, expected_type=type_hints["image_asset_publishing_role_additional_options"])
10691
10734
  check_type(argname="argument image_asset_publishing_role_arn", value=image_asset_publishing_role_arn, expected_type=type_hints["image_asset_publishing_role_arn"])
10692
10735
  check_type(argname="argument image_assets_repository_name", value=image_assets_repository_name, expected_type=type_hints["image_assets_repository_name"])
10736
+ check_type(argname="argument lookup_role_additional_options", value=lookup_role_additional_options, expected_type=type_hints["lookup_role_additional_options"])
10693
10737
  check_type(argname="argument lookup_role_arn", value=lookup_role_arn, expected_type=type_hints["lookup_role_arn"])
10694
10738
  check_type(argname="argument lookup_role_external_id", value=lookup_role_external_id, expected_type=type_hints["lookup_role_external_id"])
10695
10739
  check_type(argname="argument qualifier", value=qualifier, expected_type=type_hints["qualifier"])
@@ -10701,6 +10745,8 @@ class DefaultStackSynthesizerProps:
10701
10745
  self._values["bucket_prefix"] = bucket_prefix
10702
10746
  if cloud_formation_execution_role is not None:
10703
10747
  self._values["cloud_formation_execution_role"] = cloud_formation_execution_role
10748
+ if deploy_role_additional_options is not None:
10749
+ self._values["deploy_role_additional_options"] = deploy_role_additional_options
10704
10750
  if deploy_role_arn is not None:
10705
10751
  self._values["deploy_role_arn"] = deploy_role_arn
10706
10752
  if deploy_role_external_id is not None:
@@ -10709,6 +10755,8 @@ class DefaultStackSynthesizerProps:
10709
10755
  self._values["docker_tag_prefix"] = docker_tag_prefix
10710
10756
  if file_asset_publishing_external_id is not None:
10711
10757
  self._values["file_asset_publishing_external_id"] = file_asset_publishing_external_id
10758
+ if file_asset_publishing_role_additional_options is not None:
10759
+ self._values["file_asset_publishing_role_additional_options"] = file_asset_publishing_role_additional_options
10712
10760
  if file_asset_publishing_role_arn is not None:
10713
10761
  self._values["file_asset_publishing_role_arn"] = file_asset_publishing_role_arn
10714
10762
  if file_assets_bucket_name is not None:
@@ -10717,10 +10765,14 @@ class DefaultStackSynthesizerProps:
10717
10765
  self._values["generate_bootstrap_version_rule"] = generate_bootstrap_version_rule
10718
10766
  if image_asset_publishing_external_id is not None:
10719
10767
  self._values["image_asset_publishing_external_id"] = image_asset_publishing_external_id
10768
+ if image_asset_publishing_role_additional_options is not None:
10769
+ self._values["image_asset_publishing_role_additional_options"] = image_asset_publishing_role_additional_options
10720
10770
  if image_asset_publishing_role_arn is not None:
10721
10771
  self._values["image_asset_publishing_role_arn"] = image_asset_publishing_role_arn
10722
10772
  if image_assets_repository_name is not None:
10723
10773
  self._values["image_assets_repository_name"] = image_assets_repository_name
10774
+ if lookup_role_additional_options is not None:
10775
+ self._values["lookup_role_additional_options"] = lookup_role_additional_options
10724
10776
  if lookup_role_arn is not None:
10725
10777
  self._values["lookup_role_arn"] = lookup_role_arn
10726
10778
  if lookup_role_external_id is not None:
@@ -10765,6 +10817,23 @@ class DefaultStackSynthesizerProps:
10765
10817
  result = self._values.get("cloud_formation_execution_role")
10766
10818
  return typing.cast(typing.Optional[builtins.str], result)
10767
10819
 
10820
+ @builtins.property
10821
+ def deploy_role_additional_options(
10822
+ self,
10823
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
10824
+ '''Additional options to pass to STS when assuming the deploy role.
10825
+
10826
+ - ``RoleArn`` should not be used. Use the dedicated ``deployRoleArn`` property instead.
10827
+ - ``ExternalId`` should not be used. Use the dedicated ``deployRoleExternalId`` instead.
10828
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
10829
+
10830
+ :default: - No additional options.
10831
+
10832
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
10833
+ '''
10834
+ result = self._values.get("deploy_role_additional_options")
10835
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
10836
+
10768
10837
  @builtins.property
10769
10838
  def deploy_role_arn(self) -> typing.Optional[builtins.str]:
10770
10839
  '''The role to assume to initiate a deployment in this environment.
@@ -10810,6 +10879,23 @@ class DefaultStackSynthesizerProps:
10810
10879
  result = self._values.get("file_asset_publishing_external_id")
10811
10880
  return typing.cast(typing.Optional[builtins.str], result)
10812
10881
 
10882
+ @builtins.property
10883
+ def file_asset_publishing_role_additional_options(
10884
+ self,
10885
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
10886
+ '''Additional options to pass to STS when assuming the file asset publishing.
10887
+
10888
+ - ``RoleArn`` should not be used. Use the dedicated ``fileAssetPublishingRoleArn`` property instead.
10889
+ - ``ExternalId`` should not be used. Use the dedicated ``fileAssetPublishingExternalId`` instead.
10890
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
10891
+
10892
+ :default: - No additional options.
10893
+
10894
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
10895
+ '''
10896
+ result = self._values.get("file_asset_publishing_role_additional_options")
10897
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
10898
+
10813
10899
  @builtins.property
10814
10900
  def file_asset_publishing_role_arn(self) -> typing.Optional[builtins.str]:
10815
10901
  '''The role to use to publish file assets to the S3 bucket in this environment.
@@ -10861,6 +10947,23 @@ class DefaultStackSynthesizerProps:
10861
10947
  result = self._values.get("image_asset_publishing_external_id")
10862
10948
  return typing.cast(typing.Optional[builtins.str], result)
10863
10949
 
10950
+ @builtins.property
10951
+ def image_asset_publishing_role_additional_options(
10952
+ self,
10953
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
10954
+ '''Additional options to pass to STS when assuming the image asset publishing.
10955
+
10956
+ - ``RoleArn`` should not be used. Use the dedicated ``imageAssetPublishingRoleArn`` property instead.
10957
+ - ``ExternalId`` should not be used. Use the dedicated ``imageAssetPublishingExternalId`` instead.
10958
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
10959
+
10960
+ :default: - No additional options.
10961
+
10962
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
10963
+ '''
10964
+ result = self._values.get("image_asset_publishing_role_additional_options")
10965
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
10966
+
10864
10967
  @builtins.property
10865
10968
  def image_asset_publishing_role_arn(self) -> typing.Optional[builtins.str]:
10866
10969
  '''The role to use to publish image assets to the ECR repository in this environment.
@@ -10891,6 +10994,23 @@ class DefaultStackSynthesizerProps:
10891
10994
  result = self._values.get("image_assets_repository_name")
10892
10995
  return typing.cast(typing.Optional[builtins.str], result)
10893
10996
 
10997
+ @builtins.property
10998
+ def lookup_role_additional_options(
10999
+ self,
11000
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
11001
+ '''Additional options to pass to STS when assuming the lookup role.
11002
+
11003
+ - ``RoleArn`` should not be used. Use the dedicated ``lookupRoleArn`` property instead.
11004
+ - ``ExternalId`` should not be used. Use the dedicated ``lookupRoleExternalId`` instead.
11005
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
11006
+
11007
+ :default: - No additional options.
11008
+
11009
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
11010
+ '''
11011
+ result = self._values.get("lookup_role_additional_options")
11012
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
11013
+
10894
11014
  @builtins.property
10895
11015
  def lookup_role_arn(self) -> typing.Optional[builtins.str]:
10896
11016
  '''The role to use to look up values from the target AWS account during synthesis.
@@ -18967,6 +19087,7 @@ class ReverseOptions:
18967
19087
  jsii_struct_bases=[],
18968
19088
  name_mapping={
18969
19089
  "assume_role_arn": "assumeRoleArn",
19090
+ "assume_role_additional_options": "assumeRoleAdditionalOptions",
18970
19091
  "assume_role_external_id": "assumeRoleExternalId",
18971
19092
  },
18972
19093
  )
@@ -18975,11 +19096,13 @@ class RoleOptions:
18975
19096
  self,
18976
19097
  *,
18977
19098
  assume_role_arn: builtins.str,
19099
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
18978
19100
  assume_role_external_id: typing.Optional[builtins.str] = None,
18979
19101
  ) -> None:
18980
19102
  '''Options for specifying a role.
18981
19103
 
18982
19104
  :param assume_role_arn: ARN of the role to assume.
19105
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role for cloudformation deployments. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
18983
19106
  :param assume_role_external_id: External ID to use when assuming the role. Default: - No external ID
18984
19107
 
18985
19108
  :exampleMetadata: fixture=_generated
@@ -18990,20 +19113,28 @@ class RoleOptions:
18990
19113
  # The values are placeholders you should change.
18991
19114
  import aws_cdk as cdk
18992
19115
 
19116
+ # assume_role_additional_options: Any
19117
+
18993
19118
  role_options = cdk.RoleOptions(
18994
19119
  assume_role_arn="assumeRoleArn",
18995
19120
 
18996
19121
  # the properties below are optional
19122
+ assume_role_additional_options={
19123
+ "assume_role_additional_options_key": assume_role_additional_options
19124
+ },
18997
19125
  assume_role_external_id="assumeRoleExternalId"
18998
19126
  )
18999
19127
  '''
19000
19128
  if __debug__:
19001
19129
  type_hints = typing.get_type_hints(_typecheckingstub__350c3eeb771368884765de415edb2b16931d742fbdb5253af2222e0e84a150c0)
19002
19130
  check_type(argname="argument assume_role_arn", value=assume_role_arn, expected_type=type_hints["assume_role_arn"])
19131
+ check_type(argname="argument assume_role_additional_options", value=assume_role_additional_options, expected_type=type_hints["assume_role_additional_options"])
19003
19132
  check_type(argname="argument assume_role_external_id", value=assume_role_external_id, expected_type=type_hints["assume_role_external_id"])
19004
19133
  self._values: typing.Dict[builtins.str, typing.Any] = {
19005
19134
  "assume_role_arn": assume_role_arn,
19006
19135
  }
19136
+ if assume_role_additional_options is not None:
19137
+ self._values["assume_role_additional_options"] = assume_role_additional_options
19007
19138
  if assume_role_external_id is not None:
19008
19139
  self._values["assume_role_external_id"] = assume_role_external_id
19009
19140
 
@@ -19014,6 +19145,23 @@ class RoleOptions:
19014
19145
  assert result is not None, "Required property 'assume_role_arn' is missing"
19015
19146
  return typing.cast(builtins.str, result)
19016
19147
 
19148
+ @builtins.property
19149
+ def assume_role_additional_options(
19150
+ self,
19151
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
19152
+ '''Additional options to pass to STS when assuming the role for cloudformation deployments.
19153
+
19154
+ - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead.
19155
+ - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead.
19156
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
19157
+
19158
+ :default: - No additional options.
19159
+
19160
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
19161
+ '''
19162
+ result = self._values.get("assume_role_additional_options")
19163
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
19164
+
19017
19165
  @builtins.property
19018
19166
  def assume_role_external_id(self) -> typing.Optional[builtins.str]:
19019
19167
  '''External ID to use when assuming the role.
@@ -19802,6 +19950,7 @@ class Stack(
19802
19950
  cross_region_references: typing.Optional[builtins.bool] = None,
19803
19951
  description: typing.Optional[builtins.str] = None,
19804
19952
  env: typing.Optional[typing.Union[Environment, typing.Dict[builtins.str, typing.Any]]] = None,
19953
+ notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
19805
19954
  permissions_boundary: typing.Optional[PermissionsBoundary] = None,
19806
19955
  stack_name: typing.Optional[builtins.str] = None,
19807
19956
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
@@ -19817,6 +19966,7 @@ class Stack(
19817
19966
  :param cross_region_references: Enable this flag to allow native cross region stack references. Enabling this will create a CloudFormation custom resource in both the producing stack and consuming stack in order to perform the export/import This feature is currently experimental Default: false
19818
19967
  :param description: A description of the stack. Default: - No description.
19819
19968
  :param env: The AWS environment (account/region) where this stack will be deployed. Set the ``region``/``account`` fields of ``env`` to either a concrete value to select the indicated environment (recommended for production stacks), or to the values of environment variables ``CDK_DEFAULT_REGION``/``CDK_DEFAULT_ACCOUNT`` to let the target environment depend on the AWS credentials/configuration that the CDK CLI is executed under (recommended for development stacks). If the ``Stack`` is instantiated inside a ``Stage``, any undefined ``region``/``account`` fields from ``env`` will default to the same field on the encompassing ``Stage``, if configured there. If either ``region`` or ``account`` are not set nor inherited from ``Stage``, the Stack will be considered "*environment-agnostic*"". Environment-agnostic stacks can be deployed to any environment but may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups such as ``ec2.Vpc.fromLookup`` and will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements. Default: - The environment of the containing ``Stage`` if available, otherwise create the stack will be environment-agnostic.
19969
+ :param notification_arns: SNS Topic ARNs that will receive stack events. Default: - no notfication arns.
19820
19970
  :param permissions_boundary: Options for applying a permissions boundary to all IAM Roles and Users created within this Stage. Default: - no permissions boundary is applied
19821
19971
  :param stack_name: Name to deploy the stack with. Default: - Derived from construct path.
19822
19972
  :param suppress_template_indentation: Enable this flag to suppress indentation in generated CloudFormation templates. If not specified, the value of the ``@aws-cdk/core:suppressTemplateIndentation`` context key will be used. If that is not specified, then the default value ``false`` will be used. Default: - the value of ``@aws-cdk/core:suppressTemplateIndentation``, or ``false`` if that is not set.
@@ -19833,6 +19983,7 @@ class Stack(
19833
19983
  cross_region_references=cross_region_references,
19834
19984
  description=description,
19835
19985
  env=env,
19986
+ notification_arns=notification_arns,
19836
19987
  permissions_boundary=permissions_boundary,
19837
19988
  stack_name=stack_name,
19838
19989
  suppress_template_indentation=suppress_template_indentation,
@@ -20492,6 +20643,7 @@ class Stack(
20492
20643
  "cross_region_references": "crossRegionReferences",
20493
20644
  "description": "description",
20494
20645
  "env": "env",
20646
+ "notification_arns": "notificationArns",
20495
20647
  "permissions_boundary": "permissionsBoundary",
20496
20648
  "stack_name": "stackName",
20497
20649
  "suppress_template_indentation": "suppressTemplateIndentation",
@@ -20508,6 +20660,7 @@ class StackProps:
20508
20660
  cross_region_references: typing.Optional[builtins.bool] = None,
20509
20661
  description: typing.Optional[builtins.str] = None,
20510
20662
  env: typing.Optional[typing.Union[Environment, typing.Dict[builtins.str, typing.Any]]] = None,
20663
+ notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
20511
20664
  permissions_boundary: typing.Optional[PermissionsBoundary] = None,
20512
20665
  stack_name: typing.Optional[builtins.str] = None,
20513
20666
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
@@ -20520,6 +20673,7 @@ class StackProps:
20520
20673
  :param cross_region_references: Enable this flag to allow native cross region stack references. Enabling this will create a CloudFormation custom resource in both the producing stack and consuming stack in order to perform the export/import This feature is currently experimental Default: false
20521
20674
  :param description: A description of the stack. Default: - No description.
20522
20675
  :param env: The AWS environment (account/region) where this stack will be deployed. Set the ``region``/``account`` fields of ``env`` to either a concrete value to select the indicated environment (recommended for production stacks), or to the values of environment variables ``CDK_DEFAULT_REGION``/``CDK_DEFAULT_ACCOUNT`` to let the target environment depend on the AWS credentials/configuration that the CDK CLI is executed under (recommended for development stacks). If the ``Stack`` is instantiated inside a ``Stage``, any undefined ``region``/``account`` fields from ``env`` will default to the same field on the encompassing ``Stage``, if configured there. If either ``region`` or ``account`` are not set nor inherited from ``Stage``, the Stack will be considered "*environment-agnostic*"". Environment-agnostic stacks can be deployed to any environment but may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups such as ``ec2.Vpc.fromLookup`` and will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements. Default: - The environment of the containing ``Stage`` if available, otherwise create the stack will be environment-agnostic.
20676
+ :param notification_arns: SNS Topic ARNs that will receive stack events. Default: - no notfication arns.
20523
20677
  :param permissions_boundary: Options for applying a permissions boundary to all IAM Roles and Users created within this Stage. Default: - no permissions boundary is applied
20524
20678
  :param stack_name: Name to deploy the stack with. Default: - Derived from construct path.
20525
20679
  :param suppress_template_indentation: Enable this flag to suppress indentation in generated CloudFormation templates. If not specified, the value of the ``@aws-cdk/core:suppressTemplateIndentation`` context key will be used. If that is not specified, then the default value ``false`` will be used. Default: - the value of ``@aws-cdk/core:suppressTemplateIndentation``, or ``false`` if that is not set.
@@ -20564,6 +20718,7 @@ class StackProps:
20564
20718
  check_type(argname="argument cross_region_references", value=cross_region_references, expected_type=type_hints["cross_region_references"])
20565
20719
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
20566
20720
  check_type(argname="argument env", value=env, expected_type=type_hints["env"])
20721
+ check_type(argname="argument notification_arns", value=notification_arns, expected_type=type_hints["notification_arns"])
20567
20722
  check_type(argname="argument permissions_boundary", value=permissions_boundary, expected_type=type_hints["permissions_boundary"])
20568
20723
  check_type(argname="argument stack_name", value=stack_name, expected_type=type_hints["stack_name"])
20569
20724
  check_type(argname="argument suppress_template_indentation", value=suppress_template_indentation, expected_type=type_hints["suppress_template_indentation"])
@@ -20579,6 +20734,8 @@ class StackProps:
20579
20734
  self._values["description"] = description
20580
20735
  if env is not None:
20581
20736
  self._values["env"] = env
20737
+ if notification_arns is not None:
20738
+ self._values["notification_arns"] = notification_arns
20582
20739
  if permissions_boundary is not None:
20583
20740
  self._values["permissions_boundary"] = permissions_boundary
20584
20741
  if stack_name is not None:
@@ -20697,6 +20854,15 @@ class StackProps:
20697
20854
  result = self._values.get("env")
20698
20855
  return typing.cast(typing.Optional[Environment], result)
20699
20856
 
20857
+ @builtins.property
20858
+ def notification_arns(self) -> typing.Optional[typing.List[builtins.str]]:
20859
+ '''SNS Topic ARNs that will receive stack events.
20860
+
20861
+ :default: - no notfication arns.
20862
+ '''
20863
+ result = self._values.get("notification_arns")
20864
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
20865
+
20700
20866
  @builtins.property
20701
20867
  def permissions_boundary(self) -> typing.Optional[PermissionsBoundary]:
20702
20868
  '''Options for applying a permissions boundary to all IAM Roles and Users created within this Stage.
@@ -20913,6 +21079,7 @@ class StackSynthesizer(
20913
21079
  *,
20914
21080
  image_tag: builtins.str,
20915
21081
  repository_name: builtins.str,
21082
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20916
21083
  assume_role_arn: typing.Optional[builtins.str] = None,
20917
21084
  assume_role_external_id: typing.Optional[builtins.str] = None,
20918
21085
  region: typing.Optional[builtins.str] = None,
@@ -20923,6 +21090,7 @@ class StackSynthesizer(
20923
21090
 
20924
21091
  :param image_tag: Tag of the image to publish.
20925
21092
  :param repository_name: Name of the ECR repository to publish to.
21093
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
20926
21094
  :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
20927
21095
  :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
20928
21096
  :param region: The region where this asset will need to be published. Default: - Current region
@@ -20930,6 +21098,7 @@ class StackSynthesizer(
20930
21098
  dest = _DockerImageDestination_132046c7(
20931
21099
  image_tag=image_tag,
20932
21100
  repository_name=repository_name,
21101
+ assume_role_additional_options=assume_role_additional_options,
20933
21102
  assume_role_arn=assume_role_arn,
20934
21103
  assume_role_external_id=assume_role_external_id,
20935
21104
  region=region,
@@ -20943,6 +21112,7 @@ class StackSynthesizer(
20943
21112
  *,
20944
21113
  bucket_name: builtins.str,
20945
21114
  object_key: builtins.str,
21115
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20946
21116
  assume_role_arn: typing.Optional[builtins.str] = None,
20947
21117
  assume_role_external_id: typing.Optional[builtins.str] = None,
20948
21118
  region: typing.Optional[builtins.str] = None,
@@ -20953,6 +21123,7 @@ class StackSynthesizer(
20953
21123
 
20954
21124
  :param bucket_name: The name of the bucket.
20955
21125
  :param object_key: The destination object key.
21126
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
20956
21127
  :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
20957
21128
  :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
20958
21129
  :param region: The region where this asset will need to be published. Default: - Current region
@@ -20960,6 +21131,7 @@ class StackSynthesizer(
20960
21131
  location = _FileDestination_7d285b38(
20961
21132
  bucket_name=bucket_name,
20962
21133
  object_key=object_key,
21134
+ assume_role_additional_options=assume_role_additional_options,
20963
21135
  assume_role_arn=assume_role_arn,
20964
21136
  assume_role_external_id=assume_role_external_id,
20965
21137
  region=region,
@@ -20973,6 +21145,7 @@ class StackSynthesizer(
20973
21145
  session: ISynthesisSession,
20974
21146
  *,
20975
21147
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
21148
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20976
21149
  assume_role_arn: typing.Optional[builtins.str] = None,
20977
21150
  assume_role_external_id: typing.Optional[builtins.str] = None,
20978
21151
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
@@ -20990,6 +21163,7 @@ class StackSynthesizer(
20990
21163
 
20991
21164
  :param session: -
20992
21165
  :param additional_dependencies: Identifiers of additional dependencies. Default: - No additional dependencies
21166
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role for cloudformation deployments. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
20993
21167
  :param assume_role_arn: The role that needs to be assumed to deploy the stack. Default: - No role is assumed (current credentials are used)
20994
21168
  :param assume_role_external_id: The externalID to use with the assumeRoleArn. Default: - No externalID is used
20995
21169
  :param bootstrap_stack_version_ssm_parameter: SSM parameter where the bootstrap stack version number can be found. Only used if ``requiresBootstrapStackVersion`` is set. - If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs. - If this value is set, the bootstrap stack can have any name because we won't need to look it up. Default: - Bootstrap stack version number looked up
@@ -21004,6 +21178,7 @@ class StackSynthesizer(
21004
21178
  check_type(argname="argument session", value=session, expected_type=type_hints["session"])
21005
21179
  options = SynthesizeStackArtifactOptions(
21006
21180
  additional_dependencies=additional_dependencies,
21181
+ assume_role_additional_options=assume_role_additional_options,
21007
21182
  assume_role_arn=assume_role_arn,
21008
21183
  assume_role_external_id=assume_role_external_id,
21009
21184
  bootstrap_stack_version_ssm_parameter=bootstrap_stack_version_ssm_parameter,
@@ -21023,6 +21198,7 @@ class StackSynthesizer(
21023
21198
  session: ISynthesisSession,
21024
21199
  *,
21025
21200
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
21201
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
21026
21202
  assume_role_arn: typing.Optional[builtins.str] = None,
21027
21203
  assume_role_external_id: typing.Optional[builtins.str] = None,
21028
21204
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
@@ -21040,6 +21216,7 @@ class StackSynthesizer(
21040
21216
  :param stack: -
21041
21217
  :param session: -
21042
21218
  :param additional_dependencies: Identifiers of additional dependencies. Default: - No additional dependencies
21219
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role for cloudformation deployments. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
21043
21220
  :param assume_role_arn: The role that needs to be assumed to deploy the stack. Default: - No role is assumed (current credentials are used)
21044
21221
  :param assume_role_external_id: The externalID to use with the assumeRoleArn. Default: - No externalID is used
21045
21222
  :param bootstrap_stack_version_ssm_parameter: SSM parameter where the bootstrap stack version number can be found. Only used if ``requiresBootstrapStackVersion`` is set. - If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs. - If this value is set, the bootstrap stack can have any name because we won't need to look it up. Default: - Bootstrap stack version number looked up
@@ -21059,6 +21236,7 @@ class StackSynthesizer(
21059
21236
  check_type(argname="argument session", value=session, expected_type=type_hints["session"])
21060
21237
  options = SynthesizeStackArtifactOptions(
21061
21238
  additional_dependencies=additional_dependencies,
21239
+ assume_role_additional_options=assume_role_additional_options,
21062
21240
  assume_role_arn=assume_role_arn,
21063
21241
  assume_role_external_id=assume_role_external_id,
21064
21242
  bootstrap_stack_version_ssm_parameter=bootstrap_stack_version_ssm_parameter,
@@ -21106,6 +21284,8 @@ class StackSynthesizer(
21106
21284
  self,
21107
21285
  session: ISynthesisSession,
21108
21286
  lookup_role_arn: typing.Optional[builtins.str] = None,
21287
+ lookup_role_external_id: typing.Optional[builtins.str] = None,
21288
+ lookup_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
21109
21289
  ) -> FileAssetSource:
21110
21290
  '''Write the stack template to the given session.
21111
21291
 
@@ -21125,12 +21305,16 @@ class StackSynthesizer(
21125
21305
 
21126
21306
  :param session: -
21127
21307
  :param lookup_role_arn: -
21308
+ :param lookup_role_external_id: -
21309
+ :param lookup_role_additional_options: -
21128
21310
  '''
21129
21311
  if __debug__:
21130
21312
  type_hints = typing.get_type_hints(_typecheckingstub__62d696ba90df4decdd974f310bc9aa4c4febb6430ac2286452a198208b370d88)
21131
21313
  check_type(argname="argument session", value=session, expected_type=type_hints["session"])
21132
21314
  check_type(argname="argument lookup_role_arn", value=lookup_role_arn, expected_type=type_hints["lookup_role_arn"])
21133
- return typing.cast(FileAssetSource, jsii.invoke(self, "synthesizeTemplate", [session, lookup_role_arn]))
21315
+ check_type(argname="argument lookup_role_external_id", value=lookup_role_external_id, expected_type=type_hints["lookup_role_external_id"])
21316
+ check_type(argname="argument lookup_role_additional_options", value=lookup_role_additional_options, expected_type=type_hints["lookup_role_additional_options"])
21317
+ return typing.cast(FileAssetSource, jsii.invoke(self, "synthesizeTemplate", [session, lookup_role_arn, lookup_role_external_id, lookup_role_additional_options]))
21134
21318
 
21135
21319
  @builtins.property
21136
21320
  @jsii.member(jsii_name="boundStack")
@@ -21776,6 +21960,7 @@ class SymlinkFollowMode(enum.Enum):
21776
21960
  jsii_struct_bases=[],
21777
21961
  name_mapping={
21778
21962
  "additional_dependencies": "additionalDependencies",
21963
+ "assume_role_additional_options": "assumeRoleAdditionalOptions",
21779
21964
  "assume_role_arn": "assumeRoleArn",
21780
21965
  "assume_role_external_id": "assumeRoleExternalId",
21781
21966
  "bootstrap_stack_version_ssm_parameter": "bootstrapStackVersionSsmParameter",
@@ -21791,6 +21976,7 @@ class SynthesizeStackArtifactOptions:
21791
21976
  self,
21792
21977
  *,
21793
21978
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
21979
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
21794
21980
  assume_role_arn: typing.Optional[builtins.str] = None,
21795
21981
  assume_role_external_id: typing.Optional[builtins.str] = None,
21796
21982
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
@@ -21806,6 +21992,7 @@ class SynthesizeStackArtifactOptions:
21806
21992
  configurable by synthesizers, plus ``additionalDependencies``.
21807
21993
 
21808
21994
  :param additional_dependencies: Identifiers of additional dependencies. Default: - No additional dependencies
21995
+ :param assume_role_additional_options: Additional options to pass to STS when assuming the role for cloudformation deployments. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
21809
21996
  :param assume_role_arn: The role that needs to be assumed to deploy the stack. Default: - No role is assumed (current credentials are used)
21810
21997
  :param assume_role_external_id: The externalID to use with the assumeRoleArn. Default: - No externalID is used
21811
21998
  :param bootstrap_stack_version_ssm_parameter: SSM parameter where the bootstrap stack version number can be found. Only used if ``requiresBootstrapStackVersion`` is set. - If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs. - If this value is set, the bootstrap stack can have any name because we won't need to look it up. Default: - Bootstrap stack version number looked up
@@ -21823,8 +22010,13 @@ class SynthesizeStackArtifactOptions:
21823
22010
  # The values are placeholders you should change.
21824
22011
  import aws_cdk as cdk
21825
22012
 
22013
+ # assume_role_additional_options: Any
22014
+
21826
22015
  synthesize_stack_artifact_options = cdk.SynthesizeStackArtifactOptions(
21827
22016
  additional_dependencies=["additionalDependencies"],
22017
+ assume_role_additional_options={
22018
+ "assume_role_additional_options_key": assume_role_additional_options
22019
+ },
21828
22020
  assume_role_arn="assumeRoleArn",
21829
22021
  assume_role_external_id="assumeRoleExternalId",
21830
22022
  bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
@@ -21833,6 +22025,9 @@ class SynthesizeStackArtifactOptions:
21833
22025
  arn="arn",
21834
22026
 
21835
22027
  # the properties below are optional
22028
+ assume_role_additional_options={
22029
+ "assume_role_additional_options_key": assume_role_additional_options
22030
+ },
21836
22031
  assume_role_external_id="assumeRoleExternalId",
21837
22032
  bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
21838
22033
  requires_bootstrap_stack_version=123
@@ -21849,6 +22044,7 @@ class SynthesizeStackArtifactOptions:
21849
22044
  if __debug__:
21850
22045
  type_hints = typing.get_type_hints(_typecheckingstub__e6e282c65acf49e595fc28dcbaa190dcad640aa58c70588087857d69dd7559b0)
21851
22046
  check_type(argname="argument additional_dependencies", value=additional_dependencies, expected_type=type_hints["additional_dependencies"])
22047
+ check_type(argname="argument assume_role_additional_options", value=assume_role_additional_options, expected_type=type_hints["assume_role_additional_options"])
21852
22048
  check_type(argname="argument assume_role_arn", value=assume_role_arn, expected_type=type_hints["assume_role_arn"])
21853
22049
  check_type(argname="argument assume_role_external_id", value=assume_role_external_id, expected_type=type_hints["assume_role_external_id"])
21854
22050
  check_type(argname="argument bootstrap_stack_version_ssm_parameter", value=bootstrap_stack_version_ssm_parameter, expected_type=type_hints["bootstrap_stack_version_ssm_parameter"])
@@ -21860,6 +22056,8 @@ class SynthesizeStackArtifactOptions:
21860
22056
  self._values: typing.Dict[builtins.str, typing.Any] = {}
21861
22057
  if additional_dependencies is not None:
21862
22058
  self._values["additional_dependencies"] = additional_dependencies
22059
+ if assume_role_additional_options is not None:
22060
+ self._values["assume_role_additional_options"] = assume_role_additional_options
21863
22061
  if assume_role_arn is not None:
21864
22062
  self._values["assume_role_arn"] = assume_role_arn
21865
22063
  if assume_role_external_id is not None:
@@ -21886,6 +22084,23 @@ class SynthesizeStackArtifactOptions:
21886
22084
  result = self._values.get("additional_dependencies")
21887
22085
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
21888
22086
 
22087
+ @builtins.property
22088
+ def assume_role_additional_options(
22089
+ self,
22090
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
22091
+ '''Additional options to pass to STS when assuming the role for cloudformation deployments.
22092
+
22093
+ - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead.
22094
+ - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead.
22095
+ - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
22096
+
22097
+ :default: - No additional options.
22098
+
22099
+ :see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
22100
+ '''
22101
+ result = self._values.get("assume_role_additional_options")
22102
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
22103
+
21889
22104
  @builtins.property
21890
22105
  def assume_role_arn(self) -> typing.Optional[builtins.str]:
21891
22106
  '''The role that needs to be assumed to deploy the stack.
@@ -33038,16 +33253,20 @@ class DefaultStackSynthesizer(
33038
33253
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
33039
33254
  bucket_prefix: typing.Optional[builtins.str] = None,
33040
33255
  cloud_formation_execution_role: typing.Optional[builtins.str] = None,
33256
+ deploy_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
33041
33257
  deploy_role_arn: typing.Optional[builtins.str] = None,
33042
33258
  deploy_role_external_id: typing.Optional[builtins.str] = None,
33043
33259
  docker_tag_prefix: typing.Optional[builtins.str] = None,
33044
33260
  file_asset_publishing_external_id: typing.Optional[builtins.str] = None,
33261
+ file_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
33045
33262
  file_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
33046
33263
  file_assets_bucket_name: typing.Optional[builtins.str] = None,
33047
33264
  generate_bootstrap_version_rule: typing.Optional[builtins.bool] = None,
33048
33265
  image_asset_publishing_external_id: typing.Optional[builtins.str] = None,
33266
+ image_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
33049
33267
  image_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
33050
33268
  image_assets_repository_name: typing.Optional[builtins.str] = None,
33269
+ lookup_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
33051
33270
  lookup_role_arn: typing.Optional[builtins.str] = None,
33052
33271
  lookup_role_external_id: typing.Optional[builtins.str] = None,
33053
33272
  qualifier: typing.Optional[builtins.str] = None,
@@ -33057,16 +33276,20 @@ class DefaultStackSynthesizer(
33057
33276
  :param bootstrap_stack_version_ssm_parameter: Bootstrap stack version SSM parameter. The placeholder ``${Qualifier}`` will be replaced with the value of qualifier. Default: DefaultStackSynthesizer.DEFAULT_BOOTSTRAP_STACK_VERSION_SSM_PARAMETER
33058
33277
  :param bucket_prefix: bucketPrefix to use while storing S3 Assets. Default: - DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX
33059
33278
  :param cloud_formation_execution_role: The role CloudFormation will assume when deploying the Stack. You must supply this if you have given a non-standard name to the execution role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_CLOUDFORMATION_ROLE_ARN
33279
+ :param deploy_role_additional_options: Additional options to pass to STS when assuming the deploy role. - ``RoleArn`` should not be used. Use the dedicated ``deployRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``deployRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
33060
33280
  :param deploy_role_arn: The role to assume to initiate a deployment in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_DEPLOY_ROLE_ARN
33061
33281
  :param deploy_role_external_id: External ID to use when assuming role for cloudformation deployments. Default: - No external ID
33062
33282
  :param docker_tag_prefix: A prefix to use while tagging and uploading Docker images to ECR. This does not add any separators - the source hash will be appended to this string directly. Default: - DefaultStackSynthesizer.DEFAULT_DOCKER_ASSET_PREFIX
33063
33283
  :param file_asset_publishing_external_id: External ID to use when assuming role for file asset publishing. Default: - No external ID
33284
+ :param file_asset_publishing_role_additional_options: Additional options to pass to STS when assuming the file asset publishing. - ``RoleArn`` should not be used. Use the dedicated ``fileAssetPublishingRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``fileAssetPublishingExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
33064
33285
  :param file_asset_publishing_role_arn: The role to use to publish file assets to the S3 bucket in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PUBLISHING_ROLE_ARN
33065
33286
  :param file_assets_bucket_name: Name of the S3 bucket to hold file assets. You must supply this if you have given a non-standard name to the staging bucket. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSETS_BUCKET_NAME
33066
33287
  :param generate_bootstrap_version_rule: Whether to add a Rule to the stack template verifying the bootstrap stack version. This generally should be left set to ``true``, unless you explicitly want to be able to deploy to an unbootstrapped environment. Default: true
33067
33288
  :param image_asset_publishing_external_id: External ID to use when assuming role for image asset publishing. Default: - No external ID
33289
+ :param image_asset_publishing_role_additional_options: Additional options to pass to STS when assuming the image asset publishing. - ``RoleArn`` should not be used. Use the dedicated ``imageAssetPublishingRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``imageAssetPublishingExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
33068
33290
  :param image_asset_publishing_role_arn: The role to use to publish image assets to the ECR repository in this environment. You must supply this if you have given a non-standard name to the publishing role. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSET_PUBLISHING_ROLE_ARN
33069
33291
  :param image_assets_repository_name: Name of the ECR repository to hold Docker Image assets. You must supply this if you have given a non-standard name to the ECR repository. The placeholders ``${Qualifier}``, ``${AWS::AccountId}`` and ``${AWS::Region}`` will be replaced with the values of qualifier and the stack's account and region, respectively. Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
33292
+ :param lookup_role_additional_options: Additional options to pass to STS when assuming the lookup role. - ``RoleArn`` should not be used. Use the dedicated ``lookupRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``lookupRoleExternalId`` instead. - ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default. Default: - No additional options.
33070
33293
  :param lookup_role_arn: The role to use to look up values from the target AWS account during synthesis. Default: - None
33071
33294
  :param lookup_role_external_id: External ID to use when assuming lookup role. Default: - No external ID
33072
33295
  :param qualifier: Qualifier to disambiguate multiple environments in the same account. You can use this and leave the other naming properties empty if you have deployed the bootstrap environment with standard names but only different qualifiers. Default: - Value of context key '@aws-cdk/core:bootstrapQualifier' if set, otherwise ``DefaultStackSynthesizer.DEFAULT_QUALIFIER``
@@ -33076,16 +33299,20 @@ class DefaultStackSynthesizer(
33076
33299
  bootstrap_stack_version_ssm_parameter=bootstrap_stack_version_ssm_parameter,
33077
33300
  bucket_prefix=bucket_prefix,
33078
33301
  cloud_formation_execution_role=cloud_formation_execution_role,
33302
+ deploy_role_additional_options=deploy_role_additional_options,
33079
33303
  deploy_role_arn=deploy_role_arn,
33080
33304
  deploy_role_external_id=deploy_role_external_id,
33081
33305
  docker_tag_prefix=docker_tag_prefix,
33082
33306
  file_asset_publishing_external_id=file_asset_publishing_external_id,
33307
+ file_asset_publishing_role_additional_options=file_asset_publishing_role_additional_options,
33083
33308
  file_asset_publishing_role_arn=file_asset_publishing_role_arn,
33084
33309
  file_assets_bucket_name=file_assets_bucket_name,
33085
33310
  generate_bootstrap_version_rule=generate_bootstrap_version_rule,
33086
33311
  image_asset_publishing_external_id=image_asset_publishing_external_id,
33312
+ image_asset_publishing_role_additional_options=image_asset_publishing_role_additional_options,
33087
33313
  image_asset_publishing_role_arn=image_asset_publishing_role_arn,
33088
33314
  image_assets_repository_name=image_assets_repository_name,
33315
+ lookup_role_additional_options=lookup_role_additional_options,
33089
33316
  lookup_role_arn=lookup_role_arn,
33090
33317
  lookup_role_external_id=lookup_role_external_id,
33091
33318
  qualifier=qualifier,
@@ -34449,6 +34676,7 @@ def _typecheckingstub__e4e4609083793a8b31752be2f457b6b1f1220145a70469bafc48a1428
34449
34676
  *,
34450
34677
  image_tag: builtins.str,
34451
34678
  repository_name: builtins.str,
34679
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
34452
34680
  assume_role_arn: typing.Optional[builtins.str] = None,
34453
34681
  assume_role_external_id: typing.Optional[builtins.str] = None,
34454
34682
  region: typing.Optional[builtins.str] = None,
@@ -34463,6 +34691,7 @@ def _typecheckingstub__f12f649e9db582bca540895dead136ba4f8ce5c52abc11eb50e5224da
34463
34691
  *,
34464
34692
  bucket_name: builtins.str,
34465
34693
  object_key: builtins.str,
34694
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
34466
34695
  assume_role_arn: typing.Optional[builtins.str] = None,
34467
34696
  assume_role_external_id: typing.Optional[builtins.str] = None,
34468
34697
  region: typing.Optional[builtins.str] = None,
@@ -35404,16 +35633,20 @@ def _typecheckingstub__06784f4f0c2d983d957b0f4fbf46c4e4e85e842ac87bb6c7b582ce30b
35404
35633
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
35405
35634
  bucket_prefix: typing.Optional[builtins.str] = None,
35406
35635
  cloud_formation_execution_role: typing.Optional[builtins.str] = None,
35636
+ deploy_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35407
35637
  deploy_role_arn: typing.Optional[builtins.str] = None,
35408
35638
  deploy_role_external_id: typing.Optional[builtins.str] = None,
35409
35639
  docker_tag_prefix: typing.Optional[builtins.str] = None,
35410
35640
  file_asset_publishing_external_id: typing.Optional[builtins.str] = None,
35641
+ file_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35411
35642
  file_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
35412
35643
  file_assets_bucket_name: typing.Optional[builtins.str] = None,
35413
35644
  generate_bootstrap_version_rule: typing.Optional[builtins.bool] = None,
35414
35645
  image_asset_publishing_external_id: typing.Optional[builtins.str] = None,
35646
+ image_asset_publishing_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35415
35647
  image_asset_publishing_role_arn: typing.Optional[builtins.str] = None,
35416
35648
  image_assets_repository_name: typing.Optional[builtins.str] = None,
35649
+ lookup_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35417
35650
  lookup_role_arn: typing.Optional[builtins.str] = None,
35418
35651
  lookup_role_external_id: typing.Optional[builtins.str] = None,
35419
35652
  qualifier: typing.Optional[builtins.str] = None,
@@ -36580,6 +36813,7 @@ def _typecheckingstub__55afe4d64fb4d5ea0191f49597eab03d77d7784d61bfdf374b068db65
36580
36813
  def _typecheckingstub__350c3eeb771368884765de415edb2b16931d742fbdb5253af2222e0e84a150c0(
36581
36814
  *,
36582
36815
  assume_role_arn: builtins.str,
36816
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
36583
36817
  assume_role_external_id: typing.Optional[builtins.str] = None,
36584
36818
  ) -> None:
36585
36819
  """Type checking stubs"""
@@ -36719,6 +36953,7 @@ def _typecheckingstub__835828a2dac25cb8eb22f32985554296e8bd61463c8cc32bb2df4c1f4
36719
36953
  cross_region_references: typing.Optional[builtins.bool] = None,
36720
36954
  description: typing.Optional[builtins.str] = None,
36721
36955
  env: typing.Optional[typing.Union[Environment, typing.Dict[builtins.str, typing.Any]]] = None,
36956
+ notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
36722
36957
  permissions_boundary: typing.Optional[PermissionsBoundary] = None,
36723
36958
  stack_name: typing.Optional[builtins.str] = None,
36724
36959
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
@@ -36843,6 +37078,7 @@ def _typecheckingstub__a36aaf4edf2967c8ed36d2cad24d023f14778db721379dffbd74eb6dd
36843
37078
  cross_region_references: typing.Optional[builtins.bool] = None,
36844
37079
  description: typing.Optional[builtins.str] = None,
36845
37080
  env: typing.Optional[typing.Union[Environment, typing.Dict[builtins.str, typing.Any]]] = None,
37081
+ notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
36846
37082
  permissions_boundary: typing.Optional[PermissionsBoundary] = None,
36847
37083
  stack_name: typing.Optional[builtins.str] = None,
36848
37084
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
@@ -36870,6 +37106,7 @@ def _typecheckingstub__517af770e6da66daf1f297aec61d75cd37b7e192df2078e6838ab6e9e
36870
37106
  session: ISynthesisSession,
36871
37107
  *,
36872
37108
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
37109
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
36873
37110
  assume_role_arn: typing.Optional[builtins.str] = None,
36874
37111
  assume_role_external_id: typing.Optional[builtins.str] = None,
36875
37112
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
@@ -36887,6 +37124,7 @@ def _typecheckingstub__d6ef0ff2bae87721c597af1c828fef5eb405f9029af6b627795d5dc77
36887
37124
  session: ISynthesisSession,
36888
37125
  *,
36889
37126
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
37127
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
36890
37128
  assume_role_arn: typing.Optional[builtins.str] = None,
36891
37129
  assume_role_external_id: typing.Optional[builtins.str] = None,
36892
37130
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,
@@ -36909,6 +37147,8 @@ def _typecheckingstub__aa781da9870510988087be48595677f995a2926d2a52d05d9e70b5990
36909
37147
  def _typecheckingstub__62d696ba90df4decdd974f310bc9aa4c4febb6430ac2286452a198208b370d88(
36910
37148
  session: ISynthesisSession,
36911
37149
  lookup_role_arn: typing.Optional[builtins.str] = None,
37150
+ lookup_role_external_id: typing.Optional[builtins.str] = None,
37151
+ lookup_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
36912
37152
  ) -> None:
36913
37153
  """Type checking stubs"""
36914
37154
  pass
@@ -36974,6 +37214,7 @@ def _typecheckingstub__beea6de86940403553075b97b7789646bdb961b01447c5f8021c6a665
36974
37214
  def _typecheckingstub__e6e282c65acf49e595fc28dcbaa190dcad640aa58c70588087857d69dd7559b0(
36975
37215
  *,
36976
37216
  additional_dependencies: typing.Optional[typing.Sequence[builtins.str]] = None,
37217
+ assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
36977
37218
  assume_role_arn: typing.Optional[builtins.str] = None,
36978
37219
  assume_role_external_id: typing.Optional[builtins.str] = None,
36979
37220
  bootstrap_stack_version_ssm_parameter: typing.Optional[builtins.str] = None,