aws-cdk-lib 2.220.0__py3-none-any.whl → 2.221.1__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 (288) hide show
  1. aws_cdk/__init__.py +21 -18
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.220.0.jsii.tgz → aws-cdk-lib@2.221.1.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  6. aws_cdk/aws_acmpca/__init__.py +4 -1
  7. aws_cdk/aws_aiops/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -29
  9. aws_cdk/aws_amplify/__init__.py +3 -0
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
  11. aws_cdk/aws_apigateway/__init__.py +3 -0
  12. aws_cdk/aws_apigatewayv2/__init__.py +3 -0
  13. aws_cdk/aws_appconfig/__init__.py +3 -29
  14. aws_cdk/aws_appflow/__init__.py +3 -0
  15. aws_cdk/aws_appintegrations/__init__.py +3 -0
  16. aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
  17. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  18. aws_cdk/aws_applicationsignals/__init__.py +4 -1
  19. aws_cdk/aws_appmesh/__init__.py +3 -0
  20. aws_cdk/aws_apprunner/__init__.py +3 -0
  21. aws_cdk/aws_appstream/__init__.py +3 -0
  22. aws_cdk/aws_appsync/__init__.py +3 -0
  23. aws_cdk/aws_apptest/__init__.py +3 -0
  24. aws_cdk/aws_aps/__init__.py +1168 -83
  25. aws_cdk/aws_arcregionswitch/__init__.py +3 -0
  26. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  27. aws_cdk/aws_athena/__init__.py +3 -0
  28. aws_cdk/aws_auditmanager/__init__.py +3 -0
  29. aws_cdk/aws_autoscaling/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  31. aws_cdk/aws_autoscalingplans/__init__.py +3 -0
  32. aws_cdk/aws_b2bi/__init__.py +3 -0
  33. aws_cdk/aws_backup/__init__.py +3 -29
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +3 -0
  36. aws_cdk/aws_bcmdataexports/__init__.py +3 -0
  37. aws_cdk/aws_bedrock/__init__.py +9 -29
  38. aws_cdk/aws_bedrockagentcore/__init__.py +782 -169
  39. aws_cdk/aws_billingconductor/__init__.py +3 -0
  40. aws_cdk/aws_budgets/__init__.py +3 -0
  41. aws_cdk/aws_cassandra/__init__.py +3 -0
  42. aws_cdk/aws_ce/__init__.py +3 -0
  43. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  44. aws_cdk/aws_chatbot/__init__.py +3 -0
  45. aws_cdk/aws_cleanrooms/__init__.py +3 -0
  46. aws_cdk/aws_cleanroomsml/__init__.py +3 -0
  47. aws_cdk/aws_cloud9/__init__.py +3 -0
  48. aws_cdk/aws_cloudformation/__init__.py +3 -0
  49. aws_cdk/aws_cloudfront/__init__.py +69 -3
  50. aws_cdk/aws_cloudtrail/__init__.py +3 -0
  51. aws_cdk/aws_cloudwatch/__init__.py +3 -0
  52. aws_cdk/aws_codeartifact/__init__.py +3 -0
  53. aws_cdk/aws_codebuild/__init__.py +3 -0
  54. aws_cdk/aws_codecommit/__init__.py +3 -0
  55. aws_cdk/aws_codeconnections/__init__.py +3 -0
  56. aws_cdk/aws_codedeploy/__init__.py +3 -0
  57. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  58. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  59. aws_cdk/aws_codepipeline/__init__.py +3 -0
  60. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  61. aws_cdk/aws_codestar/__init__.py +3 -0
  62. aws_cdk/aws_codestarconnections/__init__.py +3 -0
  63. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  64. aws_cdk/aws_cognito/__init__.py +3 -0
  65. aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
  66. aws_cdk/aws_comprehend/__init__.py +3 -0
  67. aws_cdk/aws_config/__init__.py +3 -0
  68. aws_cdk/aws_connect/__init__.py +1232 -2
  69. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  70. aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
  71. aws_cdk/aws_controltower/__init__.py +3 -0
  72. aws_cdk/aws_cur/__init__.py +3 -0
  73. aws_cdk/aws_customerprofiles/__init__.py +3 -29
  74. aws_cdk/aws_databrew/__init__.py +3 -0
  75. aws_cdk/aws_datapipeline/__init__.py +3 -0
  76. aws_cdk/aws_datasync/__init__.py +3 -0
  77. aws_cdk/aws_datazone/__init__.py +17 -15
  78. aws_cdk/aws_dax/__init__.py +3 -0
  79. aws_cdk/aws_deadline/__init__.py +3 -0
  80. aws_cdk/aws_detective/__init__.py +3 -0
  81. aws_cdk/aws_devicefarm/__init__.py +3 -0
  82. aws_cdk/aws_devopsguru/__init__.py +3 -0
  83. aws_cdk/aws_directoryservice/__init__.py +3 -0
  84. aws_cdk/aws_dlm/__init__.py +3 -0
  85. aws_cdk/aws_dms/__init__.py +3 -0
  86. aws_cdk/aws_docdb/__init__.py +14 -3
  87. aws_cdk/aws_docdbelastic/__init__.py +3 -0
  88. aws_cdk/aws_dsql/__init__.py +3 -0
  89. aws_cdk/aws_dynamodb/__init__.py +3 -0
  90. aws_cdk/aws_ec2/__init__.py +106 -40
  91. aws_cdk/aws_ecr/__init__.py +156 -33
  92. aws_cdk/aws_ecs/__init__.py +87 -48
  93. aws_cdk/aws_efs/__init__.py +3 -0
  94. aws_cdk/aws_eks/__init__.py +3 -58
  95. aws_cdk/aws_elasticache/__init__.py +3 -0
  96. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  97. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  98. aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
  99. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  100. aws_cdk/aws_emr/__init__.py +3 -0
  101. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  102. aws_cdk/aws_emrserverless/__init__.py +12 -11
  103. aws_cdk/aws_entityresolution/__init__.py +3 -0
  104. aws_cdk/aws_events/__init__.py +73 -29
  105. aws_cdk/aws_events_targets/__init__.py +3 -0
  106. aws_cdk/aws_eventschemas/__init__.py +3 -0
  107. aws_cdk/aws_evidently/__init__.py +3 -0
  108. aws_cdk/aws_evs/__init__.py +3 -0
  109. aws_cdk/aws_finspace/__init__.py +3 -0
  110. aws_cdk/aws_fis/__init__.py +3 -0
  111. aws_cdk/aws_fms/__init__.py +3 -0
  112. aws_cdk/aws_forecast/__init__.py +3 -0
  113. aws_cdk/aws_frauddetector/__init__.py +3 -0
  114. aws_cdk/aws_fsx/__init__.py +3 -0
  115. aws_cdk/aws_gamelift/__init__.py +3 -0
  116. aws_cdk/aws_gameliftstreams/__init__.py +8 -5
  117. aws_cdk/aws_globalaccelerator/__init__.py +3 -0
  118. aws_cdk/aws_glue/__init__.py +11 -80
  119. aws_cdk/aws_grafana/__init__.py +3 -0
  120. aws_cdk/aws_greengrass/__init__.py +3 -0
  121. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  122. aws_cdk/aws_groundstation/__init__.py +3 -0
  123. aws_cdk/aws_guardduty/__init__.py +3 -0
  124. aws_cdk/aws_healthimaging/__init__.py +3 -0
  125. aws_cdk/aws_healthlake/__init__.py +3 -0
  126. aws_cdk/aws_iam/__init__.py +30 -32
  127. aws_cdk/aws_identitystore/__init__.py +3 -0
  128. aws_cdk/aws_imagebuilder/__init__.py +499 -0
  129. aws_cdk/aws_inspector/__init__.py +3 -0
  130. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  131. aws_cdk/aws_internetmonitor/__init__.py +3 -0
  132. aws_cdk/aws_invoicing/__init__.py +3 -0
  133. aws_cdk/aws_iot/__init__.py +3 -0
  134. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  135. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  136. aws_cdk/aws_iotevents/__init__.py +3 -0
  137. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  138. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  139. aws_cdk/aws_iotsitewise/__init__.py +3 -0
  140. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  141. aws_cdk/aws_iottwinmaker/__init__.py +3 -87
  142. aws_cdk/aws_iotwireless/__init__.py +61 -0
  143. aws_cdk/aws_ivs/__init__.py +3 -0
  144. aws_cdk/aws_ivschat/__init__.py +3 -0
  145. aws_cdk/aws_kafkaconnect/__init__.py +3 -0
  146. aws_cdk/aws_kendra/__init__.py +3 -58
  147. aws_cdk/aws_kendraranking/__init__.py +3 -0
  148. aws_cdk/aws_kinesis/__init__.py +3 -0
  149. aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
  150. aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
  151. aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
  152. aws_cdk/aws_kinesisvideo/__init__.py +3 -29
  153. aws_cdk/aws_kms/__init__.py +3 -0
  154. aws_cdk/aws_lakeformation/__init__.py +3 -0
  155. aws_cdk/aws_lambda/__init__.py +14 -7
  156. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  157. aws_cdk/aws_launchwizard/__init__.py +3 -0
  158. aws_cdk/aws_lex/__init__.py +3 -29
  159. aws_cdk/aws_licensemanager/__init__.py +3 -0
  160. aws_cdk/aws_lightsail/__init__.py +3 -0
  161. aws_cdk/aws_location/__init__.py +3 -0
  162. aws_cdk/aws_logs/__init__.py +226 -9
  163. aws_cdk/aws_lookoutequipment/__init__.py +3 -29
  164. aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
  165. aws_cdk/aws_lookoutvision/__init__.py +3 -0
  166. aws_cdk/aws_m2/__init__.py +3 -0
  167. aws_cdk/aws_macie/__init__.py +3 -0
  168. aws_cdk/aws_managedblockchain/__init__.py +3 -0
  169. aws_cdk/aws_mediaconnect/__init__.py +3 -0
  170. aws_cdk/aws_mediaconvert/__init__.py +3 -0
  171. aws_cdk/aws_medialive/__init__.py +171 -33
  172. aws_cdk/aws_mediapackage/__init__.py +3 -0
  173. aws_cdk/aws_mediapackagev2/__init__.py +3 -0
  174. aws_cdk/aws_mediastore/__init__.py +3 -0
  175. aws_cdk/aws_mediatailor/__init__.py +3 -58
  176. aws_cdk/aws_memorydb/__init__.py +3 -0
  177. aws_cdk/aws_mpa/__init__.py +3 -0
  178. aws_cdk/aws_msk/__init__.py +3 -0
  179. aws_cdk/aws_mwaa/__init__.py +3 -0
  180. aws_cdk/aws_neptune/__init__.py +55 -0
  181. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  182. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  183. aws_cdk/aws_networkmanager/__init__.py +3 -0
  184. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  185. aws_cdk/aws_notifications/__init__.py +3 -0
  186. aws_cdk/aws_notificationscontacts/__init__.py +3 -0
  187. aws_cdk/aws_oam/__init__.py +3 -0
  188. aws_cdk/aws_observabilityadmin/__init__.py +171 -137
  189. aws_cdk/aws_odb/__init__.py +4 -1
  190. aws_cdk/aws_omics/__init__.py +3 -0
  191. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  192. aws_cdk/aws_opensearchservice/__init__.py +3 -0
  193. aws_cdk/aws_opsworks/__init__.py +3 -0
  194. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  195. aws_cdk/aws_organizations/__init__.py +3 -116
  196. aws_cdk/aws_osis/__init__.py +157 -0
  197. aws_cdk/aws_panorama/__init__.py +3 -0
  198. aws_cdk/aws_paymentcryptography/__init__.py +3 -0
  199. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  200. aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
  201. aws_cdk/aws_pcs/__init__.py +3 -0
  202. aws_cdk/aws_personalize/__init__.py +3 -0
  203. aws_cdk/aws_pinpoint/__init__.py +3 -58
  204. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  205. aws_cdk/aws_pipes/__init__.py +3 -0
  206. aws_cdk/aws_proton/__init__.py +3 -0
  207. aws_cdk/aws_qbusiness/__init__.py +3 -174
  208. aws_cdk/aws_qldb/__init__.py +3 -29
  209. aws_cdk/aws_quicksight/__init__.py +418 -411
  210. aws_cdk/aws_ram/__init__.py +3 -0
  211. aws_cdk/aws_rbin/__init__.py +3 -0
  212. aws_cdk/aws_rds/__init__.py +42 -19
  213. aws_cdk/aws_redshift/__init__.py +3 -0
  214. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  215. aws_cdk/aws_refactorspaces/__init__.py +3 -0
  216. aws_cdk/aws_rekognition/__init__.py +3 -29
  217. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  218. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  219. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  220. aws_cdk/aws_robomaker/__init__.py +3 -0
  221. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  222. aws_cdk/aws_route53/__init__.py +18 -18
  223. aws_cdk/aws_route53_targets/__init__.py +3 -0
  224. aws_cdk/aws_route53profiles/__init__.py +3 -0
  225. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  226. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  227. aws_cdk/aws_route53resolver/__init__.py +11 -4
  228. aws_cdk/aws_rum/__init__.py +3 -0
  229. aws_cdk/aws_s3/__init__.py +51 -41
  230. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  231. aws_cdk/aws_s3express/__init__.py +3 -0
  232. aws_cdk/aws_s3objectlambda/__init__.py +3 -0
  233. aws_cdk/aws_s3outposts/__init__.py +3 -0
  234. aws_cdk/aws_s3tables/__init__.py +3 -0
  235. aws_cdk/aws_sagemaker/__init__.py +166 -87
  236. aws_cdk/aws_sam/__init__.py +3 -0
  237. aws_cdk/aws_scheduler/__init__.py +3 -29
  238. aws_cdk/aws_sdb/__init__.py +3 -0
  239. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  240. aws_cdk/aws_securityhub/__init__.py +3 -0
  241. aws_cdk/aws_securitylake/__init__.py +3 -0
  242. aws_cdk/aws_servicecatalog/__init__.py +136 -124
  243. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  244. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  245. aws_cdk/aws_ses/__init__.py +3 -0
  246. aws_cdk/aws_shield/__init__.py +3 -0
  247. aws_cdk/aws_signer/__init__.py +3 -0
  248. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  249. aws_cdk/aws_smsvoice/__init__.py +3 -29
  250. aws_cdk/aws_sns/__init__.py +3 -0
  251. aws_cdk/aws_sqs/__init__.py +3 -0
  252. aws_cdk/aws_ssm/__init__.py +10 -3
  253. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  254. aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
  255. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  256. aws_cdk/aws_ssmquicksetup/__init__.py +467 -0
  257. aws_cdk/aws_sso/__init__.py +3 -0
  258. aws_cdk/aws_stepfunctions/__init__.py +9 -12
  259. aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
  260. aws_cdk/aws_supportapp/__init__.py +3 -0
  261. aws_cdk/aws_synthetics/__init__.py +59 -26
  262. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  263. aws_cdk/aws_timestream/__init__.py +3 -29
  264. aws_cdk/aws_transfer/__init__.py +20 -34
  265. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  266. aws_cdk/aws_voiceid/__init__.py +3 -0
  267. aws_cdk/aws_vpclattice/__init__.py +7 -4
  268. aws_cdk/aws_waf/__init__.py +3 -0
  269. aws_cdk/aws_wafregional/__init__.py +3 -0
  270. aws_cdk/aws_wafv2/__init__.py +3 -0
  271. aws_cdk/aws_wisdom/__init__.py +3 -116
  272. aws_cdk/aws_workspaces/__init__.py +3 -0
  273. aws_cdk/aws_workspacesinstances/__init__.py +3 -0
  274. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  275. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  276. aws_cdk/aws_xray/__init__.py +3 -0
  277. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  278. aws_cdk/cx_api/__init__.py +34 -0
  279. aws_cdk/pipelines/__init__.py +3 -0
  280. aws_cdk/region_info/__init__.py +3 -0
  281. aws_cdk/triggers/__init__.py +3 -0
  282. {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/METADATA +2 -2
  283. aws_cdk_lib-2.221.1.dist-info/RECORD +313 -0
  284. aws_cdk_lib-2.220.0.dist-info/RECORD +0 -313
  285. {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/LICENSE +0 -0
  286. {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/NOTICE +0 -0
  287. {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/WHEEL +0 -0
  288. {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.1.dist-info}/top_level.txt +0 -0
@@ -1725,6 +1725,9 @@ mi_capacity_provider = ecs.ManagedInstancesCapacityProvider(self, "MICapacityPro
1725
1725
  propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
1726
1726
  )
1727
1727
 
1728
+ # Optionally configure security group rules using IConnectable interface
1729
+ mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
1730
+
1728
1731
  # Add the capacity provider to the cluster
1729
1732
  cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
1730
1733
 
@@ -2370,6 +2373,7 @@ from ..aws_cloudwatch import (
2370
2373
  from ..aws_ec2 import (
2371
2374
  Connections as _Connections_0f31fce8,
2372
2375
  EbsDeviceVolumeType as _EbsDeviceVolumeType_6792555b,
2376
+ IConnectable as _IConnectable_10015a05,
2373
2377
  IKeyPair as _IKeyPair_bc344eda,
2374
2378
  IMachineImage as _IMachineImage_0e8bd50b,
2375
2379
  ISecurityGroup as _ISecurityGroup_acf8a799,
@@ -6881,7 +6885,7 @@ class CfnCapacityProviderProps:
6881
6885
  '''Properties for defining a ``CfnCapacityProvider``.
6882
6886
 
6883
6887
  :param auto_scaling_group_provider: The Auto Scaling group settings for the capacity provider.
6884
- :param cluster_name:
6888
+ :param cluster_name: The cluster that this capacity provider is associated with. Managed instances capacity providers are cluster-scoped, meaning they can only be used within their associated cluster. This is required for Managed instances.
6885
6889
  :param managed_instances_provider: The configuration for the Amazon ECS Managed Instances provider. This includes the infrastructure role, the launch template configuration, and tag propagation settings.
6886
6890
  :param name: The name of the capacity provider. If a name is specified, it cannot start with ``aws`` , ``ecs`` , or ``fargate`` . If no name is specified, a default name in the ``CFNStackName-CFNResourceName-RandomString`` format is used.
6887
6891
  :param tags: The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
@@ -7030,7 +7034,12 @@ class CfnCapacityProviderProps:
7030
7034
 
7031
7035
  @builtins.property
7032
7036
  def cluster_name(self) -> typing.Optional[builtins.str]:
7033
- '''
7037
+ '''The cluster that this capacity provider is associated with.
7038
+
7039
+ Managed instances capacity providers are cluster-scoped, meaning they can only be used within their associated cluster.
7040
+
7041
+ This is required for Managed instances.
7042
+
7034
7043
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-clustername
7035
7044
  '''
7036
7045
  result = self._values.get("cluster_name")
@@ -7101,24 +7110,24 @@ class CfnCapacityProviderProps:
7101
7110
  jsii_type="aws-cdk-lib.aws_ecs.CfnClusterCapacityProviderAssociationsProps",
7102
7111
  jsii_struct_bases=[],
7103
7112
  name_mapping={
7104
- "capacity_providers": "capacityProviders",
7105
7113
  "cluster": "cluster",
7106
7114
  "default_capacity_provider_strategy": "defaultCapacityProviderStrategy",
7115
+ "capacity_providers": "capacityProviders",
7107
7116
  },
7108
7117
  )
7109
7118
  class CfnClusterCapacityProviderAssociationsProps:
7110
7119
  def __init__(
7111
7120
  self,
7112
7121
  *,
7113
- capacity_providers: typing.Sequence[builtins.str],
7114
7122
  cluster: builtins.str,
7115
7123
  default_capacity_provider_strategy: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty", typing.Dict[builtins.str, typing.Any]]]]],
7124
+ capacity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
7116
7125
  ) -> None:
7117
7126
  '''Properties for defining a ``CfnClusterCapacityProviderAssociations``.
7118
7127
 
7119
- :param capacity_providers: The capacity providers to associate with the cluster.
7120
7128
  :param cluster: The cluster the capacity provider association is the target of.
7121
7129
  :param default_capacity_provider_strategy: The default capacity provider strategy to associate with the cluster.
7130
+ :param capacity_providers: The capacity providers to associate with the cluster.
7122
7131
 
7123
7132
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html
7124
7133
  :exampleMetadata: fixture=_generated
@@ -7130,7 +7139,6 @@ class CfnClusterCapacityProviderAssociationsProps:
7130
7139
  from aws_cdk import aws_ecs as ecs
7131
7140
 
7132
7141
  cfn_cluster_capacity_provider_associations_props = ecs.CfnClusterCapacityProviderAssociationsProps(
7133
- capacity_providers=["capacityProviders"],
7134
7142
  cluster="cluster",
7135
7143
  default_capacity_provider_strategy=[ecs.CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty(
7136
7144
  capacity_provider="capacityProvider",
@@ -7138,29 +7146,23 @@ class CfnClusterCapacityProviderAssociationsProps:
7138
7146
  # the properties below are optional
7139
7147
  base=123,
7140
7148
  weight=123
7141
- )]
7149
+ )],
7150
+
7151
+ # the properties below are optional
7152
+ capacity_providers=["capacityProviders"]
7142
7153
  )
7143
7154
  '''
7144
7155
  if __debug__:
7145
7156
  type_hints = typing.get_type_hints(_typecheckingstub__dec87cf6e858f074737c41c7a13a61e2e324b94deacf1f66ca9c0a48eb0b81b2)
7146
- check_type(argname="argument capacity_providers", value=capacity_providers, expected_type=type_hints["capacity_providers"])
7147
7157
  check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
7148
7158
  check_type(argname="argument default_capacity_provider_strategy", value=default_capacity_provider_strategy, expected_type=type_hints["default_capacity_provider_strategy"])
7159
+ check_type(argname="argument capacity_providers", value=capacity_providers, expected_type=type_hints["capacity_providers"])
7149
7160
  self._values: typing.Dict[builtins.str, typing.Any] = {
7150
- "capacity_providers": capacity_providers,
7151
7161
  "cluster": cluster,
7152
7162
  "default_capacity_provider_strategy": default_capacity_provider_strategy,
7153
7163
  }
7154
-
7155
- @builtins.property
7156
- def capacity_providers(self) -> typing.List[builtins.str]:
7157
- '''The capacity providers to associate with the cluster.
7158
-
7159
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html#cfn-ecs-clustercapacityproviderassociations-capacityproviders
7160
- '''
7161
- result = self._values.get("capacity_providers")
7162
- assert result is not None, "Required property 'capacity_providers' is missing"
7163
- return typing.cast(typing.List[builtins.str], result)
7164
+ if capacity_providers is not None:
7165
+ self._values["capacity_providers"] = capacity_providers
7164
7166
 
7165
7167
  @builtins.property
7166
7168
  def cluster(self) -> builtins.str:
@@ -7184,6 +7186,15 @@ class CfnClusterCapacityProviderAssociationsProps:
7184
7186
  assert result is not None, "Required property 'default_capacity_provider_strategy' is missing"
7185
7187
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty"]]], result)
7186
7188
 
7189
+ @builtins.property
7190
+ def capacity_providers(self) -> typing.Optional[typing.List[builtins.str]]:
7191
+ '''The capacity providers to associate with the cluster.
7192
+
7193
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html#cfn-ecs-clustercapacityproviderassociations-capacityproviders
7194
+ '''
7195
+ result = self._values.get("capacity_providers")
7196
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
7197
+
7187
7198
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
7188
7199
  return isinstance(rhs, self.__class__) and rhs._values == self._values
7189
7200
 
@@ -7590,7 +7601,7 @@ class CfnServiceProps:
7590
7601
  :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.
7591
7602
  :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.
7592
7603
  :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 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.
7593
- :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* .
7604
+ :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* . .. epigraph:: If you want to use Managed Instances, you must use the ``capacityProviderStrategy`` request parameter
7594
7605
  :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.
7595
7606
  :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* .
7596
7607
  :param placement_constraints: An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime. .. epigraph:: To remove this property from your service resource, specify an empty ``PlacementConstraint`` array.
@@ -8023,6 +8034,9 @@ class CfnServiceProps:
8023
8034
  '''The launch type on which to run your service.
8024
8035
 
8025
8036
  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* .
8037
+ .. epigraph::
8038
+
8039
+ If you want to use Managed Instances, you must use the ``capacityProviderStrategy`` request parameter
8026
8040
 
8027
8041
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-launchtype
8028
8042
  '''
@@ -23809,6 +23823,7 @@ class MachineImageType(enum.Enum):
23809
23823
  '''Bottlerocket AMI.'''
23810
23824
 
23811
23825
 
23826
+ @jsii.implements(_IConnectable_10015a05)
23812
23827
  class ManagedInstancesCapacityProvider(
23813
23828
  _constructs_77d1e7e8.Construct,
23814
23829
  metaclass=jsii.JSIIMeta,
@@ -23845,6 +23860,9 @@ class ManagedInstancesCapacityProvider(
23845
23860
  propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
23846
23861
  )
23847
23862
 
23863
+ # Optionally configure security group rules using IConnectable interface
23864
+ mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
23865
+
23848
23866
  # Add the capacity provider to the cluster
23849
23867
  cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
23850
23868
 
@@ -23938,6 +23956,12 @@ class ManagedInstancesCapacityProvider(
23938
23956
  '''Capacity provider name.'''
23939
23957
  return typing.cast(builtins.str, jsii.get(self, "capacityProviderName"))
23940
23958
 
23959
+ @builtins.property
23960
+ @jsii.member(jsii_name="connections")
23961
+ def connections(self) -> _Connections_0f31fce8:
23962
+ '''The network connections associated with this resource.'''
23963
+ return typing.cast(_Connections_0f31fce8, jsii.get(self, "connections"))
23964
+
23941
23965
 
23942
23966
  @jsii.data_type(
23943
23967
  jsii_type="aws-cdk-lib.aws_ecs.ManagedInstancesCapacityProviderProps",
@@ -24006,6 +24030,9 @@ class ManagedInstancesCapacityProviderProps:
24006
24030
  propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
24007
24031
  )
24008
24032
 
24033
+ # Optionally configure security group rules using IConnectable interface
24034
+ mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
24035
+
24009
24036
  # Add the capacity provider to the cluster
24010
24037
  cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
24011
24038
 
@@ -25211,6 +25238,9 @@ class PropagateManagedInstancesTags(enum.Enum):
25211
25238
  propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
25212
25239
  )
25213
25240
 
25241
+ # Optionally configure security group rules using IConnectable interface
25242
+ mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
25243
+
25214
25244
  # Add the capacity provider to the cluster
25215
25245
  cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
25216
25246
 
@@ -31503,7 +31533,7 @@ class CfnCapacityProvider(
31503
31533
  :param scope: Scope in which this resource is defined.
31504
31534
  :param id: Construct identifier for this resource (unique in its scope).
31505
31535
  :param auto_scaling_group_provider: The Auto Scaling group settings for the capacity provider.
31506
- :param cluster_name:
31536
+ :param cluster_name: The cluster that this capacity provider is associated with. Managed instances capacity providers are cluster-scoped, meaning they can only be used within their associated cluster. This is required for Managed instances.
31507
31537
  :param managed_instances_provider: The configuration for the Amazon ECS Managed Instances provider. This includes the infrastructure role, the launch template configuration, and tag propagation settings.
31508
31538
  :param name: The name of the capacity provider. If a name is specified, it cannot start with ``aws`` , ``ecs`` , or ``fargate`` . If no name is specified, a default name in the ``CFNStackName-CFNResourceName-RandomString`` format is used.
31509
31539
  :param tags: The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
@@ -31611,6 +31641,7 @@ class CfnCapacityProvider(
31611
31641
  @builtins.property
31612
31642
  @jsii.member(jsii_name="clusterName")
31613
31643
  def cluster_name(self) -> typing.Optional[builtins.str]:
31644
+ '''The cluster that this capacity provider is associated with.'''
31614
31645
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clusterName"))
31615
31646
 
31616
31647
  @cluster_name.setter
@@ -34690,7 +34721,6 @@ class CfnClusterCapacityProviderAssociations(
34690
34721
  from aws_cdk import aws_ecs as ecs
34691
34722
 
34692
34723
  cfn_cluster_capacity_provider_associations = ecs.CfnClusterCapacityProviderAssociations(self, "MyCfnClusterCapacityProviderAssociations",
34693
- capacity_providers=["capacityProviders"],
34694
34724
  cluster="cluster",
34695
34725
  default_capacity_provider_strategy=[ecs.CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty(
34696
34726
  capacity_provider="capacityProvider",
@@ -34698,7 +34728,10 @@ class CfnClusterCapacityProviderAssociations(
34698
34728
  # the properties below are optional
34699
34729
  base=123,
34700
34730
  weight=123
34701
- )]
34731
+ )],
34732
+
34733
+ # the properties below are optional
34734
+ capacity_providers=["capacityProviders"]
34702
34735
  )
34703
34736
  '''
34704
34737
 
@@ -34707,25 +34740,25 @@ class CfnClusterCapacityProviderAssociations(
34707
34740
  scope: _constructs_77d1e7e8.Construct,
34708
34741
  id: builtins.str,
34709
34742
  *,
34710
- capacity_providers: typing.Sequence[builtins.str],
34711
34743
  cluster: builtins.str,
34712
34744
  default_capacity_provider_strategy: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty", typing.Dict[builtins.str, typing.Any]]]]],
34745
+ capacity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
34713
34746
  ) -> None:
34714
34747
  '''
34715
34748
  :param scope: Scope in which this resource is defined.
34716
34749
  :param id: Construct identifier for this resource (unique in its scope).
34717
- :param capacity_providers: The capacity providers to associate with the cluster.
34718
34750
  :param cluster: The cluster the capacity provider association is the target of.
34719
34751
  :param default_capacity_provider_strategy: The default capacity provider strategy to associate with the cluster.
34752
+ :param capacity_providers: The capacity providers to associate with the cluster.
34720
34753
  '''
34721
34754
  if __debug__:
34722
34755
  type_hints = typing.get_type_hints(_typecheckingstub__5b726b14d4a82695a68a7344f7ef1201a7390a69e77c604686bf3a3a16980041)
34723
34756
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
34724
34757
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
34725
34758
  props = CfnClusterCapacityProviderAssociationsProps(
34726
- capacity_providers=capacity_providers,
34727
34759
  cluster=cluster,
34728
34760
  default_capacity_provider_strategy=default_capacity_provider_strategy,
34761
+ capacity_providers=capacity_providers,
34729
34762
  )
34730
34763
 
34731
34764
  jsii.create(self.__class__, self, [scope, id, props])
@@ -34773,19 +34806,6 @@ class CfnClusterCapacityProviderAssociations(
34773
34806
  '''A reference to a ClusterCapacityProviderAssociations resource.'''
34774
34807
  return typing.cast(ClusterCapacityProviderAssociationsReference, jsii.get(self, "clusterCapacityProviderAssociationsRef"))
34775
34808
 
34776
- @builtins.property
34777
- @jsii.member(jsii_name="capacityProviders")
34778
- def capacity_providers(self) -> typing.List[builtins.str]:
34779
- '''The capacity providers to associate with the cluster.'''
34780
- return typing.cast(typing.List[builtins.str], jsii.get(self, "capacityProviders"))
34781
-
34782
- @capacity_providers.setter
34783
- def capacity_providers(self, value: typing.List[builtins.str]) -> None:
34784
- if __debug__:
34785
- type_hints = typing.get_type_hints(_typecheckingstub__179caeeed8cf1e3badcd9269f89a732efb1582d0dc5fe1a1431aee106eefe333)
34786
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
34787
- jsii.set(self, "capacityProviders", value) # pyright: ignore[reportArgumentType]
34788
-
34789
34809
  @builtins.property
34790
34810
  @jsii.member(jsii_name="cluster")
34791
34811
  def cluster(self) -> builtins.str:
@@ -34817,6 +34837,22 @@ class CfnClusterCapacityProviderAssociations(
34817
34837
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
34818
34838
  jsii.set(self, "defaultCapacityProviderStrategy", value) # pyright: ignore[reportArgumentType]
34819
34839
 
34840
+ @builtins.property
34841
+ @jsii.member(jsii_name="capacityProviders")
34842
+ def capacity_providers(self) -> typing.Optional[typing.List[builtins.str]]:
34843
+ '''The capacity providers to associate with the cluster.'''
34844
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "capacityProviders"))
34845
+
34846
+ @capacity_providers.setter
34847
+ def capacity_providers(
34848
+ self,
34849
+ value: typing.Optional[typing.List[builtins.str]],
34850
+ ) -> None:
34851
+ if __debug__:
34852
+ type_hints = typing.get_type_hints(_typecheckingstub__179caeeed8cf1e3badcd9269f89a732efb1582d0dc5fe1a1431aee106eefe333)
34853
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
34854
+ jsii.set(self, "capacityProviders", value) # pyright: ignore[reportArgumentType]
34855
+
34820
34856
  @jsii.data_type(
34821
34857
  jsii_type="aws-cdk-lib.aws_ecs.CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty",
34822
34858
  jsii_struct_bases=[],
@@ -35357,7 +35393,7 @@ class CfnService(
35357
35393
  :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.
35358
35394
  :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.
35359
35395
  :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 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.
35360
- :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* .
35396
+ :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* . .. epigraph:: If you want to use Managed Instances, you must use the ``capacityProviderStrategy`` request parameter
35361
35397
  :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.
35362
35398
  :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* .
35363
35399
  :param placement_constraints: An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime. .. epigraph:: To remove this property from your service resource, specify an empty ``PlacementConstraint`` array.
@@ -49537,9 +49573,9 @@ def _typecheckingstub__48080bdf05dc1c4ca9ab46c833774163f6afcd0d1551b378b8d59e67b
49537
49573
 
49538
49574
  def _typecheckingstub__dec87cf6e858f074737c41c7a13a61e2e324b94deacf1f66ca9c0a48eb0b81b2(
49539
49575
  *,
49540
- capacity_providers: typing.Sequence[builtins.str],
49541
49576
  cluster: builtins.str,
49542
49577
  default_capacity_provider_strategy: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty, typing.Dict[builtins.str, typing.Any]]]]],
49578
+ capacity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
49543
49579
  ) -> None:
49544
49580
  """Type checking stubs"""
49545
49581
  pass
@@ -52196,9 +52232,9 @@ def _typecheckingstub__5b726b14d4a82695a68a7344f7ef1201a7390a69e77c604686bf3a3a1
52196
52232
  scope: _constructs_77d1e7e8.Construct,
52197
52233
  id: builtins.str,
52198
52234
  *,
52199
- capacity_providers: typing.Sequence[builtins.str],
52200
52235
  cluster: builtins.str,
52201
52236
  default_capacity_provider_strategy: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty, typing.Dict[builtins.str, typing.Any]]]]],
52237
+ capacity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
52202
52238
  ) -> None:
52203
52239
  """Type checking stubs"""
52204
52240
  pass
@@ -52215,12 +52251,6 @@ def _typecheckingstub__93896bd7ebbe840c8fa66a8f20ac3a94d52db05f416661f3eb272dbf9
52215
52251
  """Type checking stubs"""
52216
52252
  pass
52217
52253
 
52218
- def _typecheckingstub__179caeeed8cf1e3badcd9269f89a732efb1582d0dc5fe1a1431aee106eefe333(
52219
- value: typing.List[builtins.str],
52220
- ) -> None:
52221
- """Type checking stubs"""
52222
- pass
52223
-
52224
52254
  def _typecheckingstub__df256c18acb77e38e5110ec5f1e3b55621c49f4da43f861e9d55ef39c9207076(
52225
52255
  value: builtins.str,
52226
52256
  ) -> None:
@@ -52233,6 +52263,12 @@ def _typecheckingstub__adacafb6e01b8e49c325edb233c0e67268b6787a00fc50eea158771a2
52233
52263
  """Type checking stubs"""
52234
52264
  pass
52235
52265
 
52266
+ def _typecheckingstub__179caeeed8cf1e3badcd9269f89a732efb1582d0dc5fe1a1431aee106eefe333(
52267
+ value: typing.Optional[typing.List[builtins.str]],
52268
+ ) -> None:
52269
+ """Type checking stubs"""
52270
+ pass
52271
+
52236
52272
  def _typecheckingstub__35e502a63db6f1c8f1c9225401bd8b2f0070d6dc6d8696b559629d5ccb289a80(
52237
52273
  *,
52238
52274
  capacity_provider: builtins.str,
@@ -54071,3 +54107,6 @@ def _typecheckingstub__59be62eab8487bb224b6839e6560b22ec29653bf5f8e319f85996fa99
54071
54107
  ) -> None:
54072
54108
  """Type checking stubs"""
54073
54109
  pass
54110
+
54111
+ for cls in [IAlternateTarget, IBaseService, ICapacityProviderRef, ICluster, IClusterCapacityProviderAssociationsRef, IClusterRef, IDeploymentLifecycleHookTarget, IEc2Service, IEc2TaskDefinition, IEcsLoadBalancerTarget, IExternalService, IExternalTaskDefinition, IFargateService, IFargateTaskDefinition, IPrimaryTaskSetRef, IService, IServiceRef, ITaskDefinition, ITaskDefinitionExtension, ITaskDefinitionRef, ITaskSetRef]:
54112
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -6077,3 +6077,6 @@ def _typecheckingstub__020e1ad6a612ae3b94c3b53afd9ca3e8710c6a621174024a66a4889b0
6077
6077
  ) -> None:
6078
6078
  """Type checking stubs"""
6079
6079
  pass
6080
+
6081
+ for cls in [IAccessPoint, IAccessPointRef, IFileSystem, IFileSystemRef, IMountTargetRef]:
6082
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -15127,27 +15127,6 @@ class CfnAddon(
15127
15127
 
15128
15128
  jsii.create(self.__class__, self, [scope, id, props])
15129
15129
 
15130
- @jsii.member(jsii_name="fromAddonArn")
15131
- @builtins.classmethod
15132
- def from_addon_arn(
15133
- cls,
15134
- scope: _constructs_77d1e7e8.Construct,
15135
- id: builtins.str,
15136
- arn: builtins.str,
15137
- ) -> IAddonRef:
15138
- '''Creates a new IAddonRef from an ARN.
15139
-
15140
- :param scope: -
15141
- :param id: -
15142
- :param arn: -
15143
- '''
15144
- if __debug__:
15145
- type_hints = typing.get_type_hints(_typecheckingstub__e553dfaf756fa282c5fbeb4ef4b974cf0a47d23084cd717224b1311e0a30eb24)
15146
- check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
15147
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
15148
- check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
15149
- return typing.cast(IAddonRef, jsii.sinvoke(cls, "fromAddonArn", [scope, id, arn]))
15150
-
15151
15130
  @jsii.member(jsii_name="inspect")
15152
15131
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
15153
15132
  '''Examines the CloudFormation resource and discloses attributes.
@@ -17716,27 +17695,6 @@ class CfnFargateProfile(
17716
17695
 
17717
17696
  jsii.create(self.__class__, self, [scope, id, props])
17718
17697
 
17719
- @jsii.member(jsii_name="fromFargateProfileArn")
17720
- @builtins.classmethod
17721
- def from_fargate_profile_arn(
17722
- cls,
17723
- scope: _constructs_77d1e7e8.Construct,
17724
- id: builtins.str,
17725
- arn: builtins.str,
17726
- ) -> IFargateProfileRef:
17727
- '''Creates a new IFargateProfileRef from an ARN.
17728
-
17729
- :param scope: -
17730
- :param id: -
17731
- :param arn: -
17732
- '''
17733
- if __debug__:
17734
- type_hints = typing.get_type_hints(_typecheckingstub__68f38ef5ce6ebc1ca5dcde1b9e529ea13f0b01c2ccaa9863ca69bece85d4f6e6)
17735
- check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
17736
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
17737
- check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
17738
- return typing.cast(IFargateProfileRef, jsii.sinvoke(cls, "fromFargateProfileArn", [scope, id, arn]))
17739
-
17740
17698
  @jsii.member(jsii_name="inspect")
17741
17699
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
17742
17700
  '''Examines the CloudFormation resource and discloses attributes.
@@ -24277,14 +24235,6 @@ def _typecheckingstub__45ff0728c7d6fc5f47c97aa791c327f70a32e19bdf463d94d9351053f
24277
24235
  """Type checking stubs"""
24278
24236
  pass
24279
24237
 
24280
- def _typecheckingstub__e553dfaf756fa282c5fbeb4ef4b974cf0a47d23084cd717224b1311e0a30eb24(
24281
- scope: _constructs_77d1e7e8.Construct,
24282
- id: builtins.str,
24283
- arn: builtins.str,
24284
- ) -> None:
24285
- """Type checking stubs"""
24286
- pass
24287
-
24288
24238
  def _typecheckingstub__fb634c71637a3029d784eb1cc23e12801a6d069d381448751935635b986d50bc(
24289
24239
  inspector: _TreeInspector_488e0dd5,
24290
24240
  ) -> None:
@@ -24695,14 +24645,6 @@ def _typecheckingstub__d74e3378581d3898ad60f22c46414b34a44ce82bd54d09c56466afda9
24695
24645
  """Type checking stubs"""
24696
24646
  pass
24697
24647
 
24698
- def _typecheckingstub__68f38ef5ce6ebc1ca5dcde1b9e529ea13f0b01c2ccaa9863ca69bece85d4f6e6(
24699
- scope: _constructs_77d1e7e8.Construct,
24700
- id: builtins.str,
24701
- arn: builtins.str,
24702
- ) -> None:
24703
- """Type checking stubs"""
24704
- pass
24705
-
24706
24648
  def _typecheckingstub__43ebc50d6c5b13856e87922886b34c19885bddbafafc65bf42a5e790bc129b85(
24707
24649
  inspector: _TreeInspector_488e0dd5,
24708
24650
  ) -> None:
@@ -25520,3 +25462,6 @@ def _typecheckingstub__b393c3f294ed9f8582743840eca786b8cd915c5b4df9d362597e69dbe
25520
25462
  ) -> None:
25521
25463
  """Type checking stubs"""
25522
25464
  pass
25465
+
25466
+ for cls in [IAccessEntry, IAccessEntryRef, IAccessPolicy, IAddon, IAddonRef, ICluster, IClusterRef, IFargateProfileRef, IIdentityProviderConfigRef, IKubectlProvider, INodegroup, INodegroupRef, IPodIdentityAssociationRef]:
25467
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -10327,3 +10327,6 @@ def _typecheckingstub__f91d8988fa4ff59ae0f0f6e912aaa87f88df9ee98afddb86934a2611c
10327
10327
  ) -> None:
10328
10328
  """Type checking stubs"""
10329
10329
  pass
10330
+
10331
+ for cls in [ICacheClusterRef, IGlobalReplicationGroupRef, IParameterGroupRef, IReplicationGroupRef, ISecurityGroupIngressRef, ISecurityGroupRef, IServerlessCacheRef, ISubnetGroupRef, IUserGroupRef, IUserRef]:
10332
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -3370,3 +3370,6 @@ def _typecheckingstub__20ebf44ad0b64564e5b4154c6f5b2e8a52f2ed1b20db6288a5f6c8278
3370
3370
  ) -> None:
3371
3371
  """Type checking stubs"""
3372
3372
  pass
3373
+
3374
+ for cls in [IApplicationRef, IApplicationVersionRef, IConfigurationTemplateRef, IEnvironmentRef]:
3375
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -3129,3 +3129,6 @@ def _typecheckingstub__59a10349817ed5e601360f9aae1ffe6f0222e05d576372a8f753e0362
3129
3129
  ) -> None:
3130
3130
  """Type checking stubs"""
3131
3131
  pass
3132
+
3133
+ for cls in [ILoadBalancerRef, ILoadBalancerTarget]:
3134
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])