aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 (151) hide show
  1. aws_cdk/__init__.py +60 -28
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +87 -0
  6. aws_cdk/aws_amplify/__init__.py +8 -8
  7. aws_cdk/aws_apigateway/__init__.py +229 -6
  8. aws_cdk/aws_apigatewayv2/__init__.py +60 -2
  9. aws_cdk/aws_appconfig/__init__.py +145 -0
  10. aws_cdk/aws_appflow/__init__.py +116 -0
  11. aws_cdk/aws_appintegrations/__init__.py +116 -0
  12. aws_cdk/aws_appmesh/__init__.py +12 -12
  13. aws_cdk/aws_appstream/__init__.py +101 -4
  14. aws_cdk/aws_appsync/__init__.py +61 -3
  15. aws_cdk/aws_apptest/__init__.py +58 -0
  16. aws_cdk/aws_aps/__init__.py +459 -0
  17. aws_cdk/aws_athena/__init__.py +58 -0
  18. aws_cdk/aws_auditmanager/__init__.py +58 -0
  19. aws_cdk/aws_backup/__init__.py +145 -0
  20. aws_cdk/aws_batch/__init__.py +64 -2
  21. aws_cdk/aws_bedrock/__init__.py +277 -0
  22. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  23. aws_cdk/aws_cassandra/__init__.py +29 -0
  24. aws_cdk/aws_certificatemanager/__init__.py +38 -10
  25. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  26. aws_cdk/aws_cloudformation/__init__.py +14 -14
  27. aws_cdk/aws_cloudfront/__init__.py +69 -8
  28. aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
  29. aws_cdk/aws_cloudtrail/__init__.py +58 -0
  30. aws_cdk/aws_cloudwatch/__init__.py +145 -0
  31. aws_cdk/aws_codebuild/__init__.py +115 -12
  32. aws_cdk/aws_codedeploy/__init__.py +29 -0
  33. aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
  34. aws_cdk/aws_codepipeline/__init__.py +29 -0
  35. aws_cdk/aws_cognito/__init__.py +89 -2
  36. aws_cdk/aws_config/__init__.py +58 -0
  37. aws_cdk/aws_connect/__init__.py +138 -10
  38. aws_cdk/aws_cur/__init__.py +86 -3
  39. aws_cdk/aws_customerprofiles/__init__.py +58 -0
  40. aws_cdk/aws_datapipeline/__init__.py +29 -0
  41. aws_cdk/aws_datasync/__init__.py +351 -0
  42. aws_cdk/aws_datazone/__init__.py +733 -2
  43. aws_cdk/aws_directoryservice/__init__.py +29 -0
  44. aws_cdk/aws_dms/__init__.py +58 -0
  45. aws_cdk/aws_docdb/__init__.py +153 -25
  46. aws_cdk/aws_dsql/__init__.py +29 -0
  47. aws_cdk/aws_dynamodb/__init__.py +181 -0
  48. aws_cdk/aws_ec2/__init__.py +2031 -10
  49. aws_cdk/aws_ecr/__init__.py +116 -0
  50. aws_cdk/aws_ecs/__init__.py +142 -12
  51. aws_cdk/aws_efs/__init__.py +116 -0
  52. aws_cdk/aws_eks/__init__.py +118 -0
  53. aws_cdk/aws_elasticache/__init__.py +261 -0
  54. aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
  55. aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
  56. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  57. aws_cdk/aws_emr/__init__.py +87 -0
  58. aws_cdk/aws_emrcontainers/__init__.py +58 -0
  59. aws_cdk/aws_emrserverless/__init__.py +58 -0
  60. aws_cdk/aws_entityresolution/__init__.py +145 -0
  61. aws_cdk/aws_events/__init__.py +290 -0
  62. aws_cdk/aws_evs/__init__.py +58 -4
  63. aws_cdk/aws_finspace/__init__.py +58 -0
  64. aws_cdk/aws_gamelift/__init__.py +507 -56
  65. aws_cdk/aws_glue/__init__.py +145 -0
  66. aws_cdk/aws_greengrass/__init__.py +464 -0
  67. aws_cdk/aws_groundstation/__init__.py +87 -0
  68. aws_cdk/aws_guardduty/__init__.py +87 -0
  69. aws_cdk/aws_healthimaging/__init__.py +58 -0
  70. aws_cdk/aws_healthlake/__init__.py +29 -0
  71. aws_cdk/aws_iam/__init__.py +1 -1
  72. aws_cdk/aws_internetmonitor/__init__.py +58 -0
  73. aws_cdk/aws_iot/__init__.py +957 -0
  74. aws_cdk/aws_iotanalytics/__init__.py +116 -0
  75. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
  76. aws_cdk/aws_iotevents/__init__.py +87 -0
  77. aws_cdk/aws_iotfleethub/__init__.py +58 -0
  78. aws_cdk/aws_iotfleetwise/__init__.py +116 -0
  79. aws_cdk/aws_iotsitewise/__init__.py +568 -111
  80. aws_cdk/aws_iottwinmaker/__init__.py +145 -0
  81. aws_cdk/aws_iotwireless/__init__.py +464 -0
  82. aws_cdk/aws_kendra/__init__.py +116 -0
  83. aws_cdk/aws_kinesis/__init__.py +58 -0
  84. aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
  85. aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
  86. aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
  87. aws_cdk/aws_kinesisvideo/__init__.py +29 -0
  88. aws_cdk/aws_kms/__init__.py +68 -2
  89. aws_cdk/aws_lambda/__init__.py +104 -0
  90. aws_cdk/aws_lex/__init__.py +29 -0
  91. aws_cdk/aws_location/__init__.py +348 -0
  92. aws_cdk/aws_logs/__init__.py +232 -0
  93. aws_cdk/aws_lookoutequipment/__init__.py +29 -0
  94. aws_cdk/aws_lookoutvision/__init__.py +58 -0
  95. aws_cdk/aws_managedblockchain/__init__.py +145 -0
  96. aws_cdk/aws_medialive/__init__.py +562 -0
  97. aws_cdk/aws_mediapackage/__init__.py +2 -2
  98. aws_cdk/aws_mediatailor/__init__.py +174 -0
  99. aws_cdk/aws_memorydb/__init__.py +203 -0
  100. aws_cdk/aws_mwaa/__init__.py +58 -0
  101. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  102. aws_cdk/aws_networkmanager/__init__.py +92 -0
  103. aws_cdk/aws_nimblestudio/__init__.py +29 -0
  104. aws_cdk/aws_odb/__init__.py +2082 -195
  105. aws_cdk/aws_omics/__init__.py +1520 -103
  106. aws_cdk/aws_opensearchserverless/__init__.py +222 -21
  107. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  108. aws_cdk/aws_opsworks/__init__.py +29 -0
  109. aws_cdk/aws_opsworkscm/__init__.py +29 -0
  110. aws_cdk/aws_organizations/__init__.py +116 -0
  111. aws_cdk/aws_panorama/__init__.py +116 -0
  112. aws_cdk/aws_pcs/__init__.py +9 -9
  113. aws_cdk/aws_pinpoint/__init__.py +116 -0
  114. aws_cdk/aws_qbusiness/__init__.py +232 -0
  115. aws_cdk/aws_qldb/__init__.py +29 -0
  116. aws_cdk/aws_quicksight/__init__.py +295 -3
  117. aws_cdk/aws_rds/__init__.py +402 -58
  118. aws_cdk/aws_redshift/__init__.py +29 -0
  119. aws_cdk/aws_rekognition/__init__.py +87 -0
  120. aws_cdk/aws_resourcegroups/__init__.py +58 -0
  121. aws_cdk/aws_rolesanywhere/__init__.py +145 -0
  122. aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
  123. aws_cdk/aws_route53resolver/__init__.py +29 -0
  124. aws_cdk/aws_s3/__init__.py +116 -0
  125. aws_cdk/aws_s3express/__init__.py +116 -0
  126. aws_cdk/aws_sagemaker/__init__.py +715 -1
  127. aws_cdk/aws_scheduler/__init__.py +29 -0
  128. aws_cdk/aws_secretsmanager/__init__.py +29 -0
  129. aws_cdk/aws_servicecatalog/__init__.py +191 -154
  130. aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
  131. aws_cdk/aws_servicediscovery/__init__.py +58 -0
  132. aws_cdk/aws_ses/__init__.py +261 -0
  133. aws_cdk/aws_simspaceweaver/__init__.py +29 -0
  134. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  135. aws_cdk/aws_ssm/__init__.py +87 -0
  136. aws_cdk/aws_synthetics/__init__.py +29 -0
  137. aws_cdk/aws_timestream/__init__.py +87 -0
  138. aws_cdk/aws_transfer/__init__.py +274 -12
  139. aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
  140. aws_cdk/aws_voiceid/__init__.py +29 -0
  141. aws_cdk/aws_wisdom/__init__.py +232 -0
  142. aws_cdk/aws_workspaces/__init__.py +58 -0
  143. aws_cdk/aws_workspacesinstances/__init__.py +670 -2
  144. aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
  145. aws_cdk/pipelines/__init__.py +5 -1
  146. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
  147. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
  148. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
  149. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
  150. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
  151. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
@@ -3939,6 +3939,48 @@ class CfnPublicRepository(
3939
3939
 
3940
3940
  jsii.create(self.__class__, self, [scope, id, props])
3941
3941
 
3942
+ @jsii.member(jsii_name="fromPublicRepositoryArn")
3943
+ @builtins.classmethod
3944
+ def from_public_repository_arn(
3945
+ cls,
3946
+ scope: _constructs_77d1e7e8.Construct,
3947
+ id: builtins.str,
3948
+ arn: builtins.str,
3949
+ ) -> IPublicRepositoryRef:
3950
+ '''Creates a new IPublicRepositoryRef from an ARN.
3951
+
3952
+ :param scope: -
3953
+ :param id: -
3954
+ :param arn: -
3955
+ '''
3956
+ if __debug__:
3957
+ type_hints = typing.get_type_hints(_typecheckingstub__df08363dd3d49b4b281729649cda34a42b796ed2c1c7a9e6c28145049dcd5bf9)
3958
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3959
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3960
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
3961
+ return typing.cast(IPublicRepositoryRef, jsii.sinvoke(cls, "fromPublicRepositoryArn", [scope, id, arn]))
3962
+
3963
+ @jsii.member(jsii_name="fromRepositoryName")
3964
+ @builtins.classmethod
3965
+ def from_repository_name(
3966
+ cls,
3967
+ scope: _constructs_77d1e7e8.Construct,
3968
+ id: builtins.str,
3969
+ repository_name: builtins.str,
3970
+ ) -> IPublicRepositoryRef:
3971
+ '''Creates a new IPublicRepositoryRef from a repositoryName.
3972
+
3973
+ :param scope: -
3974
+ :param id: -
3975
+ :param repository_name: -
3976
+ '''
3977
+ if __debug__:
3978
+ type_hints = typing.get_type_hints(_typecheckingstub__a12c8d1af48bfd21b0af8b54f0dfaf211699928aac8fb0ffb2e0ff8ce482ac1a)
3979
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3980
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3981
+ check_type(argname="argument repository_name", value=repository_name, expected_type=type_hints["repository_name"])
3982
+ return typing.cast(IPublicRepositoryRef, jsii.sinvoke(cls, "fromRepositoryName", [scope, id, repository_name]))
3983
+
3942
3984
  @jsii.member(jsii_name="inspect")
3943
3985
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3944
3986
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5288,6 +5330,48 @@ class CfnRepository(
5288
5330
 
5289
5331
  jsii.create(self.__class__, self, [scope, id, props])
5290
5332
 
5333
+ @jsii.member(jsii_name="fromRepositoryArn")
5334
+ @builtins.classmethod
5335
+ def from_repository_arn(
5336
+ cls,
5337
+ scope: _constructs_77d1e7e8.Construct,
5338
+ id: builtins.str,
5339
+ arn: builtins.str,
5340
+ ) -> IRepositoryRef:
5341
+ '''Creates a new IRepositoryRef from an ARN.
5342
+
5343
+ :param scope: -
5344
+ :param id: -
5345
+ :param arn: -
5346
+ '''
5347
+ if __debug__:
5348
+ type_hints = typing.get_type_hints(_typecheckingstub__6f2c393f48c21407d644d8d180231f771c0008028a3e7f9a341eb877c7400902)
5349
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5350
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5351
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
5352
+ return typing.cast(IRepositoryRef, jsii.sinvoke(cls, "fromRepositoryArn", [scope, id, arn]))
5353
+
5354
+ @jsii.member(jsii_name="fromRepositoryName")
5355
+ @builtins.classmethod
5356
+ def from_repository_name(
5357
+ cls,
5358
+ scope: _constructs_77d1e7e8.Construct,
5359
+ id: builtins.str,
5360
+ repository_name: builtins.str,
5361
+ ) -> IRepositoryRef:
5362
+ '''Creates a new IRepositoryRef from a repositoryName.
5363
+
5364
+ :param scope: -
5365
+ :param id: -
5366
+ :param repository_name: -
5367
+ '''
5368
+ if __debug__:
5369
+ type_hints = typing.get_type_hints(_typecheckingstub__400aec98ced3fb3a08c4f62facc37becec6934bd630cb120fe1d6d380272f46f)
5370
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5371
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5372
+ check_type(argname="argument repository_name", value=repository_name, expected_type=type_hints["repository_name"])
5373
+ return typing.cast(IRepositoryRef, jsii.sinvoke(cls, "fromRepositoryName", [scope, id, repository_name]))
5374
+
5291
5375
  @jsii.member(jsii_name="inspect")
5292
5376
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
5293
5377
  '''Examines the CloudFormation resource and discloses attributes.
@@ -7014,6 +7098,22 @@ def _typecheckingstub__a5b1b0a44f7b903d10d3e873896cf1709943b67e3503cc3918e4e98f0
7014
7098
  """Type checking stubs"""
7015
7099
  pass
7016
7100
 
7101
+ def _typecheckingstub__df08363dd3d49b4b281729649cda34a42b796ed2c1c7a9e6c28145049dcd5bf9(
7102
+ scope: _constructs_77d1e7e8.Construct,
7103
+ id: builtins.str,
7104
+ arn: builtins.str,
7105
+ ) -> None:
7106
+ """Type checking stubs"""
7107
+ pass
7108
+
7109
+ def _typecheckingstub__a12c8d1af48bfd21b0af8b54f0dfaf211699928aac8fb0ffb2e0ff8ce482ac1a(
7110
+ scope: _constructs_77d1e7e8.Construct,
7111
+ id: builtins.str,
7112
+ repository_name: builtins.str,
7113
+ ) -> None:
7114
+ """Type checking stubs"""
7115
+ pass
7116
+
7017
7117
  def _typecheckingstub__317b166576f7593305ca27885da5cd7a621d59c15390c40d8de8d3e3c28eb94b(
7018
7118
  inspector: _TreeInspector_488e0dd5,
7019
7119
  ) -> None:
@@ -7275,6 +7375,22 @@ def _typecheckingstub__0c4027f87eb46bfdc341ea831d36476b6bcb3d7c3adf8e4193a6f82d2
7275
7375
  """Type checking stubs"""
7276
7376
  pass
7277
7377
 
7378
+ def _typecheckingstub__6f2c393f48c21407d644d8d180231f771c0008028a3e7f9a341eb877c7400902(
7379
+ scope: _constructs_77d1e7e8.Construct,
7380
+ id: builtins.str,
7381
+ arn: builtins.str,
7382
+ ) -> None:
7383
+ """Type checking stubs"""
7384
+ pass
7385
+
7386
+ def _typecheckingstub__400aec98ced3fb3a08c4f62facc37becec6934bd630cb120fe1d6d380272f46f(
7387
+ scope: _constructs_77d1e7e8.Construct,
7388
+ id: builtins.str,
7389
+ repository_name: builtins.str,
7390
+ ) -> None:
7391
+ """Type checking stubs"""
7392
+ pass
7393
+
7278
7394
  def _typecheckingstub__2248718d73b3c7bcee12085148b85f05a4c458576be92459e450678dd33ba17a(
7279
7395
  inspector: _TreeInspector_488e0dd5,
7280
7396
  ) -> None:
@@ -7361,7 +7361,7 @@ class CfnServiceProps:
7361
7361
  ) -> None:
7362
7362
  '''Properties for defining a ``CfnService``.
7363
7363
 
7364
- :param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "ENABLED"
7364
+ :param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests: - For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` . - For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` . Default: - "ENABLED"
7365
7365
  :param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
7366
7366
  :param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
7367
7367
  :param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
@@ -7370,7 +7370,7 @@ class CfnServiceProps:
7370
7370
  :param enable_ecs_managed_tags: Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more information, see `Tagging your Amazon ECS resources <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html>`_ in the *Amazon Elastic Container Service Developer Guide* . When you use Amazon ECS managed tags, you must set the ``propagateTags`` request parameter.
7371
7371
  :param enable_execute_command: Determines whether the execute command functionality is turned on for the service. If ``true`` , the execute command functionality is turned on for all containers in tasks as part of the service.
7372
7372
  :param force_new_deployment: Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination ( ``my_image:latest`` ) or to roll Fargate tasks onto a newer platform version.
7373
- :param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
7373
+ :param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
7374
7374
  :param launch_type: The launch type on which to run your service. For more information, see `Amazon ECS Launch Types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
7375
7375
  :param load_balancers: A list of load balancer objects to associate with the service. If you specify the ``Role`` property, ``LoadBalancers`` must be specified as well. For information about the number of load balancers that you can specify per service, see `Service Load Balancing <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: To remove this property from your service resource, specify an empty ``LoadBalancer`` array.
7376
7376
  :param network_configuration: The network configuration for the service. This parameter is required for task definitions that use the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
@@ -7397,6 +7397,8 @@ class CfnServiceProps:
7397
7397
  # The values are placeholders you should change.
7398
7398
  from aws_cdk import aws_ecs as ecs
7399
7399
 
7400
+ # hook_details: Any
7401
+
7400
7402
  cfn_service_props = ecs.CfnServiceProps(
7401
7403
  availability_zone_rebalancing="availabilityZoneRebalancing",
7402
7404
  capacity_provider_strategy=[ecs.CfnService.CapacityProviderStrategyItemProperty(
@@ -7419,7 +7421,10 @@ class CfnServiceProps:
7419
7421
  lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
7420
7422
  hook_target_arn="hookTargetArn",
7421
7423
  lifecycle_stages=["lifecycleStages"],
7422
- role_arn="roleArn"
7424
+ role_arn="roleArn",
7425
+
7426
+ # the properties below are optional
7427
+ hook_details=hook_details
7423
7428
  )],
7424
7429
  maximum_percent=123,
7425
7430
  minimum_healthy_percent=123,
@@ -7664,6 +7669,11 @@ class CfnServiceProps:
7664
7669
 
7665
7670
  For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** .
7666
7671
 
7672
+ The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests:
7673
+
7674
+ - For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` .
7675
+ - For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` .
7676
+
7667
7677
  :default: - "ENABLED"
7668
7678
 
7669
7679
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-availabilityzonerebalancing
@@ -7778,11 +7788,11 @@ class CfnServiceProps:
7778
7788
 
7779
7789
  @builtins.property
7780
7790
  def health_check_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
7781
- '''The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.
7791
+ '''The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.
7782
7792
 
7783
- If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
7793
+ If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
7784
7794
 
7785
- If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
7795
+ If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
7786
7796
 
7787
7797
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds
7788
7798
  '''
@@ -30730,6 +30740,27 @@ class CfnCapacityProvider(
30730
30740
 
30731
30741
  jsii.create(self.__class__, self, [scope, id, props])
30732
30742
 
30743
+ @jsii.member(jsii_name="fromCapacityProviderName")
30744
+ @builtins.classmethod
30745
+ def from_capacity_provider_name(
30746
+ cls,
30747
+ scope: _constructs_77d1e7e8.Construct,
30748
+ id: builtins.str,
30749
+ capacity_provider_name: builtins.str,
30750
+ ) -> ICapacityProviderRef:
30751
+ '''Creates a new ICapacityProviderRef from a capacityProviderName.
30752
+
30753
+ :param scope: -
30754
+ :param id: -
30755
+ :param capacity_provider_name: -
30756
+ '''
30757
+ if __debug__:
30758
+ type_hints = typing.get_type_hints(_typecheckingstub__a3210cc1a506360b31eb93a9301cea4ee37fb10be16276e632ecd13d5269ee37)
30759
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
30760
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
30761
+ check_type(argname="argument capacity_provider_name", value=capacity_provider_name, expected_type=type_hints["capacity_provider_name"])
30762
+ return typing.cast(ICapacityProviderRef, jsii.sinvoke(cls, "fromCapacityProviderName", [scope, id, capacity_provider_name]))
30763
+
30733
30764
  @jsii.member(jsii_name="inspect")
30734
30765
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
30735
30766
  '''Examines the CloudFormation resource and discloses attributes.
@@ -31181,6 +31212,48 @@ class CfnCluster(
31181
31212
 
31182
31213
  jsii.create(self.__class__, self, [scope, id, props])
31183
31214
 
31215
+ @jsii.member(jsii_name="fromClusterArn")
31216
+ @builtins.classmethod
31217
+ def from_cluster_arn(
31218
+ cls,
31219
+ scope: _constructs_77d1e7e8.Construct,
31220
+ id: builtins.str,
31221
+ arn: builtins.str,
31222
+ ) -> IClusterRef:
31223
+ '''Creates a new IClusterRef from an ARN.
31224
+
31225
+ :param scope: -
31226
+ :param id: -
31227
+ :param arn: -
31228
+ '''
31229
+ if __debug__:
31230
+ type_hints = typing.get_type_hints(_typecheckingstub__9038ca700580cd0572770f9742e4717592e5172893091346e7765b19e8ca0875)
31231
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
31232
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
31233
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
31234
+ return typing.cast(IClusterRef, jsii.sinvoke(cls, "fromClusterArn", [scope, id, arn]))
31235
+
31236
+ @jsii.member(jsii_name="fromClusterName")
31237
+ @builtins.classmethod
31238
+ def from_cluster_name(
31239
+ cls,
31240
+ scope: _constructs_77d1e7e8.Construct,
31241
+ id: builtins.str,
31242
+ cluster_name: builtins.str,
31243
+ ) -> IClusterRef:
31244
+ '''Creates a new IClusterRef from a clusterName.
31245
+
31246
+ :param scope: -
31247
+ :param id: -
31248
+ :param cluster_name: -
31249
+ '''
31250
+ if __debug__:
31251
+ type_hints = typing.get_type_hints(_typecheckingstub__8dd702481aabf1a2f6fa1272c17cda45ce96df207d71c29274cda2cf9273cac3)
31252
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
31253
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
31254
+ check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
31255
+ return typing.cast(IClusterRef, jsii.sinvoke(cls, "fromClusterName", [scope, id, cluster_name]))
31256
+
31184
31257
  @jsii.member(jsii_name="inspect")
31185
31258
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
31186
31259
  '''Examines the CloudFormation resource and discloses attributes.
@@ -32493,6 +32566,8 @@ class CfnService(
32493
32566
  # The values are placeholders you should change.
32494
32567
  from aws_cdk import aws_ecs as ecs
32495
32568
 
32569
+ # hook_details: Any
32570
+
32496
32571
  cfn_service = ecs.CfnService(self, "MyCfnService",
32497
32572
  availability_zone_rebalancing="availabilityZoneRebalancing",
32498
32573
  capacity_provider_strategy=[ecs.CfnService.CapacityProviderStrategyItemProperty(
@@ -32515,7 +32590,10 @@ class CfnService(
32515
32590
  lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
32516
32591
  hook_target_arn="hookTargetArn",
32517
32592
  lifecycle_stages=["lifecycleStages"],
32518
- role_arn="roleArn"
32593
+ role_arn="roleArn",
32594
+
32595
+ # the properties below are optional
32596
+ hook_details=hook_details
32519
32597
  )],
32520
32598
  maximum_percent=123,
32521
32599
  minimum_healthy_percent=123,
@@ -32708,7 +32786,7 @@ class CfnService(
32708
32786
  '''
32709
32787
  :param scope: Scope in which this resource is defined.
32710
32788
  :param id: Construct identifier for this resource (unique in its scope).
32711
- :param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "ENABLED"
32789
+ :param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests: - For create service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults the value to ``ENABLED`` . - For update service requests, when no value is specified for ``AvailabilityZoneRebalancing`` , Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED`` . Default: - "ENABLED"
32712
32790
  :param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
32713
32791
  :param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
32714
32792
  :param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
@@ -32717,7 +32795,7 @@ class CfnService(
32717
32795
  :param enable_ecs_managed_tags: Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more information, see `Tagging your Amazon ECS resources <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html>`_ in the *Amazon Elastic Container Service Developer Guide* . When you use Amazon ECS managed tags, you must set the ``propagateTags`` request parameter.
32718
32796
  :param enable_execute_command: Determines whether the execute command functionality is turned on for the service. If ``true`` , the execute command functionality is turned on for all containers in tasks as part of the service.
32719
32797
  :param force_new_deployment: Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination ( ``my_image:latest`` ) or to roll Fargate tasks onto a newer platform version.
32720
- :param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
32798
+ :param health_check_grace_period_seconds: The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused. If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
32721
32799
  :param launch_type: The launch type on which to run your service. For more information, see `Amazon ECS Launch Types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
32722
32800
  :param load_balancers: A list of load balancer objects to associate with the service. If you specify the ``Role`` property, ``LoadBalancers`` must be specified as well. For information about the number of load balancers that you can specify per service, see `Service Load Balancing <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: To remove this property from your service resource, specify an empty ``LoadBalancer`` array.
32723
32801
  :param network_configuration: The network configuration for the service. This parameter is required for task definitions that use the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
@@ -32990,7 +33068,7 @@ class CfnService(
32990
33068
  @builtins.property
32991
33069
  @jsii.member(jsii_name="healthCheckGracePeriodSeconds")
32992
33070
  def health_check_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
32993
- '''The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.'''
33071
+ '''The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.'''
32994
33072
  return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "healthCheckGracePeriodSeconds"))
32995
33073
 
32996
33074
  @health_check_grace_period_seconds.setter
@@ -33825,6 +33903,8 @@ class CfnService(
33825
33903
  # The values are placeholders you should change.
33826
33904
  from aws_cdk import aws_ecs as ecs
33827
33905
 
33906
+ # hook_details: Any
33907
+
33828
33908
  deployment_configuration_property = ecs.CfnService.DeploymentConfigurationProperty(
33829
33909
  alarms=ecs.CfnService.DeploymentAlarmsProperty(
33830
33910
  alarm_names=["alarmNames"],
@@ -33839,7 +33919,10 @@ class CfnService(
33839
33919
  lifecycle_hooks=[ecs.CfnService.DeploymentLifecycleHookProperty(
33840
33920
  hook_target_arn="hookTargetArn",
33841
33921
  lifecycle_stages=["lifecycleStages"],
33842
- role_arn="roleArn"
33922
+ role_arn="roleArn",
33923
+
33924
+ # the properties below are optional
33925
+ hook_details=hook_details
33843
33926
  )],
33844
33927
  maximum_percent=123,
33845
33928
  minimum_healthy_percent=123,
@@ -34105,6 +34188,7 @@ class CfnService(
34105
34188
  "hook_target_arn": "hookTargetArn",
34106
34189
  "lifecycle_stages": "lifecycleStages",
34107
34190
  "role_arn": "roleArn",
34191
+ "hook_details": "hookDetails",
34108
34192
  },
34109
34193
  )
34110
34194
  class DeploymentLifecycleHookProperty:
@@ -34114,6 +34198,7 @@ class CfnService(
34114
34198
  hook_target_arn: builtins.str,
34115
34199
  lifecycle_stages: typing.Sequence[builtins.str],
34116
34200
  role_arn: builtins.str,
34201
+ hook_details: typing.Any = None,
34117
34202
  ) -> None:
34118
34203
  '''A deployment lifecycle hook runs custom logic at specific stages of the deployment process.
34119
34204
 
@@ -34124,6 +34209,7 @@ class CfnService(
34124
34209
  :param hook_target_arn: The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are supported. You must provide this parameter when configuring a deployment lifecycle hook.
34125
34210
  :param lifecycle_stages: The lifecycle stages at which to run the hook. Choose from these valid values:. - RECONCILE_SERVICE The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state. You can use a lifecycle hook for this stage. - PRE_SCALE_UP The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic. You can use a lifecycle hook for this stage. - POST_SCALE_UP The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic. You can use a lifecycle hook for this stage. - TEST_TRAFFIC_SHIFT The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic. You can use a lifecycle hook for this stage. - POST_TEST_TRAFFIC_SHIFT The test traffic shift is complete. The green service revision handles 100% of the test traffic. You can use a lifecycle hook for this stage. - PRODUCTION_TRAFFIC_SHIFT Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. You can use a lifecycle hook for this stage. - POST_PRODUCTION_TRAFFIC_SHIFT The production traffic shift is complete. You can use a lifecycle hook for this stage. You must provide this parameter when configuring a deployment lifecycle hook.
34126
34211
  :param role_arn: The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call Lambda functions on your behalf. For more information, see `Permissions required for Lambda functions in Amazon ECS blue/green deployments <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-permissions.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
34212
+ :param hook_details: Use this field to specify custom parameters that Amazon ECS passes to your hook target invocations (such as a Lambda function). This field must be a JSON object as a string.
34127
34213
 
34128
34214
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html
34129
34215
  :exampleMetadata: fixture=_generated
@@ -34134,10 +34220,15 @@ class CfnService(
34134
34220
  # The values are placeholders you should change.
34135
34221
  from aws_cdk import aws_ecs as ecs
34136
34222
 
34223
+ # hook_details: Any
34224
+
34137
34225
  deployment_lifecycle_hook_property = ecs.CfnService.DeploymentLifecycleHookProperty(
34138
34226
  hook_target_arn="hookTargetArn",
34139
34227
  lifecycle_stages=["lifecycleStages"],
34140
- role_arn="roleArn"
34228
+ role_arn="roleArn",
34229
+
34230
+ # the properties below are optional
34231
+ hook_details=hook_details
34141
34232
  )
34142
34233
  '''
34143
34234
  if __debug__:
@@ -34145,11 +34236,14 @@ class CfnService(
34145
34236
  check_type(argname="argument hook_target_arn", value=hook_target_arn, expected_type=type_hints["hook_target_arn"])
34146
34237
  check_type(argname="argument lifecycle_stages", value=lifecycle_stages, expected_type=type_hints["lifecycle_stages"])
34147
34238
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
34239
+ check_type(argname="argument hook_details", value=hook_details, expected_type=type_hints["hook_details"])
34148
34240
  self._values: typing.Dict[builtins.str, typing.Any] = {
34149
34241
  "hook_target_arn": hook_target_arn,
34150
34242
  "lifecycle_stages": lifecycle_stages,
34151
34243
  "role_arn": role_arn,
34152
34244
  }
34245
+ if hook_details is not None:
34246
+ self._values["hook_details"] = hook_details
34153
34247
 
34154
34248
  @builtins.property
34155
34249
  def hook_target_arn(self) -> builtins.str:
@@ -34229,6 +34323,17 @@ class CfnService(
34229
34323
  assert result is not None, "Required property 'role_arn' is missing"
34230
34324
  return typing.cast(builtins.str, result)
34231
34325
 
34326
+ @builtins.property
34327
+ def hook_details(self) -> typing.Any:
34328
+ '''Use this field to specify custom parameters that Amazon ECS passes to your hook target invocations (such as a Lambda function).
34329
+
34330
+ This field must be a JSON object as a string.
34331
+
34332
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html#cfn-ecs-service-deploymentlifecyclehook-hookdetails
34333
+ '''
34334
+ result = self._values.get("hook_details")
34335
+ return typing.cast(typing.Any, result)
34336
+
34232
34337
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
34233
34338
  return isinstance(rhs, self.__class__) and rhs._values == self._values
34234
34339
 
@@ -49079,6 +49184,14 @@ def _typecheckingstub__59a913caee739f6d41600bf8ae89985db638913fbcb77a8abd5451cda
49079
49184
  """Type checking stubs"""
49080
49185
  pass
49081
49186
 
49187
+ def _typecheckingstub__a3210cc1a506360b31eb93a9301cea4ee37fb10be16276e632ecd13d5269ee37(
49188
+ scope: _constructs_77d1e7e8.Construct,
49189
+ id: builtins.str,
49190
+ capacity_provider_name: builtins.str,
49191
+ ) -> None:
49192
+ """Type checking stubs"""
49193
+ pass
49194
+
49082
49195
  def _typecheckingstub__53c0f84221516e5285bbcd4c1565c1b5af2df9c65da6dfc915f76bb224443013(
49083
49196
  inspector: _TreeInspector_488e0dd5,
49084
49197
  ) -> None:
@@ -49145,6 +49258,22 @@ def _typecheckingstub__ea27f9318b2a509011f1175119715629617e6b8d976d0782e37d54e45
49145
49258
  """Type checking stubs"""
49146
49259
  pass
49147
49260
 
49261
+ def _typecheckingstub__9038ca700580cd0572770f9742e4717592e5172893091346e7765b19e8ca0875(
49262
+ scope: _constructs_77d1e7e8.Construct,
49263
+ id: builtins.str,
49264
+ arn: builtins.str,
49265
+ ) -> None:
49266
+ """Type checking stubs"""
49267
+ pass
49268
+
49269
+ def _typecheckingstub__8dd702481aabf1a2f6fa1272c17cda45ce96df207d71c29274cda2cf9273cac3(
49270
+ scope: _constructs_77d1e7e8.Construct,
49271
+ id: builtins.str,
49272
+ cluster_name: builtins.str,
49273
+ ) -> None:
49274
+ """Type checking stubs"""
49275
+ pass
49276
+
49148
49277
  def _typecheckingstub__c2cb7cb74fe2c923d0a807e5216751b2af96248eb8da823ea44f5c2902ba8882(
49149
49278
  inspector: _TreeInspector_488e0dd5,
49150
49279
  ) -> None:
@@ -49622,6 +49751,7 @@ def _typecheckingstub__81d51cf744a434ad2ba13fc9f3dea23611c28b28f4a9414d8324cf577
49622
49751
  hook_target_arn: builtins.str,
49623
49752
  lifecycle_stages: typing.Sequence[builtins.str],
49624
49753
  role_arn: builtins.str,
49754
+ hook_details: typing.Any = None,
49625
49755
  ) -> None:
49626
49756
  """Type checking stubs"""
49627
49757
  pass
@@ -3369,6 +3369,48 @@ class CfnAccessPoint(
3369
3369
 
3370
3370
  jsii.create(self.__class__, self, [scope, id, props])
3371
3371
 
3372
+ @jsii.member(jsii_name="fromAccessPointArn")
3373
+ @builtins.classmethod
3374
+ def from_access_point_arn(
3375
+ cls,
3376
+ scope: _constructs_77d1e7e8.Construct,
3377
+ id: builtins.str,
3378
+ arn: builtins.str,
3379
+ ) -> IAccessPointRef:
3380
+ '''Creates a new IAccessPointRef from an ARN.
3381
+
3382
+ :param scope: -
3383
+ :param id: -
3384
+ :param arn: -
3385
+ '''
3386
+ if __debug__:
3387
+ type_hints = typing.get_type_hints(_typecheckingstub__92ad86c592cb19a6abd73b1b479fad3b171522816029847cc3a4c5b73c6498de)
3388
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3389
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3390
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
3391
+ return typing.cast(IAccessPointRef, jsii.sinvoke(cls, "fromAccessPointArn", [scope, id, arn]))
3392
+
3393
+ @jsii.member(jsii_name="fromAccessPointId")
3394
+ @builtins.classmethod
3395
+ def from_access_point_id(
3396
+ cls,
3397
+ scope: _constructs_77d1e7e8.Construct,
3398
+ id: builtins.str,
3399
+ access_point_id: builtins.str,
3400
+ ) -> IAccessPointRef:
3401
+ '''Creates a new IAccessPointRef from a accessPointId.
3402
+
3403
+ :param scope: -
3404
+ :param id: -
3405
+ :param access_point_id: -
3406
+ '''
3407
+ if __debug__:
3408
+ type_hints = typing.get_type_hints(_typecheckingstub__8b64390d2c6b604063551974706c8adbb104ec23af46eef06f60815f3f011b40)
3409
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3410
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3411
+ check_type(argname="argument access_point_id", value=access_point_id, expected_type=type_hints["access_point_id"])
3412
+ return typing.cast(IAccessPointRef, jsii.sinvoke(cls, "fromAccessPointId", [scope, id, access_point_id]))
3413
+
3372
3414
  @jsii.member(jsii_name="inspect")
3373
3415
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3374
3416
  '''Examines the CloudFormation resource and discloses attributes.
@@ -3981,6 +4023,48 @@ class CfnFileSystem(
3981
4023
 
3982
4024
  jsii.create(self.__class__, self, [scope, id, props])
3983
4025
 
4026
+ @jsii.member(jsii_name="fromFileSystemArn")
4027
+ @builtins.classmethod
4028
+ def from_file_system_arn(
4029
+ cls,
4030
+ scope: _constructs_77d1e7e8.Construct,
4031
+ id: builtins.str,
4032
+ arn: builtins.str,
4033
+ ) -> IFileSystemRef:
4034
+ '''Creates a new IFileSystemRef from an ARN.
4035
+
4036
+ :param scope: -
4037
+ :param id: -
4038
+ :param arn: -
4039
+ '''
4040
+ if __debug__:
4041
+ type_hints = typing.get_type_hints(_typecheckingstub__3841b06a5a3cc43b9d7a952dde6883124724edd8a22c2c9508a0d5b531c04980)
4042
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4043
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4044
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
4045
+ return typing.cast(IFileSystemRef, jsii.sinvoke(cls, "fromFileSystemArn", [scope, id, arn]))
4046
+
4047
+ @jsii.member(jsii_name="fromFileSystemId")
4048
+ @builtins.classmethod
4049
+ def from_file_system_id(
4050
+ cls,
4051
+ scope: _constructs_77d1e7e8.Construct,
4052
+ id: builtins.str,
4053
+ file_system_id: builtins.str,
4054
+ ) -> IFileSystemRef:
4055
+ '''Creates a new IFileSystemRef from a fileSystemId.
4056
+
4057
+ :param scope: -
4058
+ :param id: -
4059
+ :param file_system_id: -
4060
+ '''
4061
+ if __debug__:
4062
+ type_hints = typing.get_type_hints(_typecheckingstub__62d193f49b214070795d7ac368f6d9118aaac887dc977af485a174b4b75fb67f)
4063
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4064
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4065
+ check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
4066
+ return typing.cast(IFileSystemRef, jsii.sinvoke(cls, "fromFileSystemId", [scope, id, file_system_id]))
4067
+
3984
4068
  @jsii.member(jsii_name="inspect")
3985
4069
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3986
4070
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5582,6 +5666,22 @@ def _typecheckingstub__ee6cf8e32e236f5b64c41d34d8956a146a19df0d9467273bec84f3053
5582
5666
  """Type checking stubs"""
5583
5667
  pass
5584
5668
 
5669
+ def _typecheckingstub__92ad86c592cb19a6abd73b1b479fad3b171522816029847cc3a4c5b73c6498de(
5670
+ scope: _constructs_77d1e7e8.Construct,
5671
+ id: builtins.str,
5672
+ arn: builtins.str,
5673
+ ) -> None:
5674
+ """Type checking stubs"""
5675
+ pass
5676
+
5677
+ def _typecheckingstub__8b64390d2c6b604063551974706c8adbb104ec23af46eef06f60815f3f011b40(
5678
+ scope: _constructs_77d1e7e8.Construct,
5679
+ id: builtins.str,
5680
+ access_point_id: builtins.str,
5681
+ ) -> None:
5682
+ """Type checking stubs"""
5683
+ pass
5684
+
5585
5685
  def _typecheckingstub__ca8bc4bd98606c2925e8e3beaf6899315a3a8aa05fe42a495c106412587debb7(
5586
5686
  inspector: _TreeInspector_488e0dd5,
5587
5687
  ) -> None:
@@ -5679,6 +5779,22 @@ def _typecheckingstub__cc457ee31ba660f40c549433977317b66ec9b461edc7a3afd3a157dcf
5679
5779
  """Type checking stubs"""
5680
5780
  pass
5681
5781
 
5782
+ def _typecheckingstub__3841b06a5a3cc43b9d7a952dde6883124724edd8a22c2c9508a0d5b531c04980(
5783
+ scope: _constructs_77d1e7e8.Construct,
5784
+ id: builtins.str,
5785
+ arn: builtins.str,
5786
+ ) -> None:
5787
+ """Type checking stubs"""
5788
+ pass
5789
+
5790
+ def _typecheckingstub__62d193f49b214070795d7ac368f6d9118aaac887dc977af485a174b4b75fb67f(
5791
+ scope: _constructs_77d1e7e8.Construct,
5792
+ id: builtins.str,
5793
+ file_system_id: builtins.str,
5794
+ ) -> None:
5795
+ """Type checking stubs"""
5796
+ pass
5797
+
5682
5798
  def _typecheckingstub__4de45f38231d265020ffa3517bb2f41c6c7f64bc0414e943cf094f6436b824df(
5683
5799
  inspector: _TreeInspector_488e0dd5,
5684
5800
  ) -> None: