aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.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.
Files changed (282) hide show
  1. aws_cdk/__init__.py +14 -1
  2. aws_cdk/_jsii/__init__.py +4 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/assertions/__init__.py +3 -0
  6. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  7. aws_cdk/aws_acmpca/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -0
  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 +108 -3
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
  15. aws_cdk/aws_appconfig/__init__.py +189 -8
  16. aws_cdk/aws_appflow/__init__.py +3 -0
  17. aws_cdk/aws_appintegrations/__init__.py +560 -0
  18. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  20. aws_cdk/aws_appmesh/__init__.py +4 -1
  21. aws_cdk/aws_apprunner/__init__.py +3 -0
  22. aws_cdk/aws_appstream/__init__.py +3 -0
  23. aws_cdk/aws_appsync/__init__.py +74 -0
  24. aws_cdk/aws_aps/__init__.py +805 -1
  25. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  26. aws_cdk/aws_athena/__init__.py +3 -0
  27. aws_cdk/aws_auditmanager/__init__.py +3 -0
  28. aws_cdk/aws_autoscaling/__init__.py +9 -4
  29. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_hooktargets/__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 +26 -12
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +426 -73
  36. aws_cdk/aws_bedrock/__init__.py +200 -2
  37. aws_cdk/aws_billingconductor/__init__.py +3 -0
  38. aws_cdk/aws_budgets/__init__.py +3 -0
  39. aws_cdk/aws_cassandra/__init__.py +3 -0
  40. aws_cdk/aws_ce/__init__.py +3 -0
  41. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  42. aws_cdk/aws_chatbot/__init__.py +3 -0
  43. aws_cdk/aws_cleanrooms/__init__.py +183 -6
  44. aws_cdk/aws_cloud9/__init__.py +3 -0
  45. aws_cdk/aws_cloudformation/__init__.py +4 -1
  46. aws_cdk/aws_cloudfront/__init__.py +5 -2
  47. aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
  48. aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
  49. aws_cdk/aws_cloudtrail/__init__.py +47 -14
  50. aws_cdk/aws_cloudwatch/__init__.py +21 -0
  51. aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
  52. aws_cdk/aws_codeartifact/__init__.py +815 -2
  53. aws_cdk/aws_codebuild/__init__.py +38 -16
  54. aws_cdk/aws_codecommit/__init__.py +3 -0
  55. aws_cdk/aws_codedeploy/__init__.py +3 -0
  56. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  57. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  58. aws_cdk/aws_codepipeline/__init__.py +27 -8
  59. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  60. aws_cdk/aws_codestar/__init__.py +3 -0
  61. aws_cdk/aws_codestarconnections/__init__.py +91 -2
  62. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  63. aws_cdk/aws_cognito/__init__.py +44 -40
  64. aws_cdk/aws_comprehend/__init__.py +3 -0
  65. aws_cdk/aws_config/__init__.py +3 -0
  66. aws_cdk/aws_connect/__init__.py +277 -0
  67. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  68. aws_cdk/aws_controltower/__init__.py +3 -0
  69. aws_cdk/aws_cur/__init__.py +3 -0
  70. aws_cdk/aws_customerprofiles/__init__.py +3 -0
  71. aws_cdk/aws_databrew/__init__.py +3 -0
  72. aws_cdk/aws_datapipeline/__init__.py +3 -0
  73. aws_cdk/aws_datasync/__init__.py +396 -13
  74. aws_cdk/aws_datazone/__init__.py +3 -0
  75. aws_cdk/aws_dax/__init__.py +3 -0
  76. aws_cdk/aws_detective/__init__.py +3 -0
  77. aws_cdk/aws_devicefarm/__init__.py +3 -0
  78. aws_cdk/aws_devopsguru/__init__.py +3 -0
  79. aws_cdk/aws_directoryservice/__init__.py +3 -0
  80. aws_cdk/aws_dlm/__init__.py +5 -2
  81. aws_cdk/aws_dms/__init__.py +30 -9
  82. aws_cdk/aws_docdb/__init__.py +3 -0
  83. aws_cdk/aws_docdbelastic/__init__.py +128 -0
  84. aws_cdk/aws_dynamodb/__init__.py +419 -5
  85. aws_cdk/aws_ec2/__init__.py +3530 -504
  86. aws_cdk/aws_ecr/__init__.py +3 -0
  87. aws_cdk/aws_ecr_assets/__init__.py +3 -0
  88. aws_cdk/aws_ecs/__init__.py +12 -4
  89. aws_cdk/aws_ecs_patterns/__init__.py +3 -0
  90. aws_cdk/aws_efs/__init__.py +3 -0
  91. aws_cdk/aws_eks/__init__.py +69 -47
  92. aws_cdk/aws_elasticache/__init__.py +3 -0
  93. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  94. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  95. aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
  96. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
  97. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
  98. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  99. aws_cdk/aws_emr/__init__.py +3 -0
  100. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  101. aws_cdk/aws_emrserverless/__init__.py +3 -0
  102. aws_cdk/aws_entityresolution/__init__.py +96 -66
  103. aws_cdk/aws_events/__init__.py +3 -0
  104. aws_cdk/aws_events_targets/__init__.py +3 -0
  105. aws_cdk/aws_eventschemas/__init__.py +3 -0
  106. aws_cdk/aws_evidently/__init__.py +3 -0
  107. aws_cdk/aws_finspace/__init__.py +3 -0
  108. aws_cdk/aws_fis/__init__.py +3 -0
  109. aws_cdk/aws_fms/__init__.py +3 -0
  110. aws_cdk/aws_forecast/__init__.py +3 -0
  111. aws_cdk/aws_frauddetector/__init__.py +3 -0
  112. aws_cdk/aws_fsx/__init__.py +3 -0
  113. aws_cdk/aws_gamelift/__init__.py +3 -0
  114. aws_cdk/aws_globalaccelerator/__init__.py +5 -2
  115. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
  116. aws_cdk/aws_glue/__init__.py +147 -3
  117. aws_cdk/aws_grafana/__init__.py +3 -0
  118. aws_cdk/aws_greengrass/__init__.py +3 -0
  119. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  120. aws_cdk/aws_groundstation/__init__.py +3 -0
  121. aws_cdk/aws_guardduty/__init__.py +3 -0
  122. aws_cdk/aws_healthimaging/__init__.py +3 -0
  123. aws_cdk/aws_healthlake/__init__.py +3 -0
  124. aws_cdk/aws_iam/__init__.py +12 -10
  125. aws_cdk/aws_identitystore/__init__.py +3 -0
  126. aws_cdk/aws_imagebuilder/__init__.py +3 -0
  127. aws_cdk/aws_inspector/__init__.py +3 -0
  128. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  129. aws_cdk/aws_internetmonitor/__init__.py +88 -0
  130. aws_cdk/aws_iot/__init__.py +3 -0
  131. aws_cdk/aws_iot1click/__init__.py +3 -0
  132. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  133. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  134. aws_cdk/aws_iotevents/__init__.py +3 -0
  135. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  136. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  137. aws_cdk/aws_iotsitewise/__init__.py +138 -55
  138. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  139. aws_cdk/aws_iottwinmaker/__init__.py +3 -0
  140. aws_cdk/aws_iotwireless/__init__.py +3 -0
  141. aws_cdk/aws_ivs/__init__.py +3 -0
  142. aws_cdk/aws_ivschat/__init__.py +3 -0
  143. aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
  144. aws_cdk/aws_kendra/__init__.py +56 -39
  145. aws_cdk/aws_kendraranking/__init__.py +3 -0
  146. aws_cdk/aws_kinesis/__init__.py +3 -0
  147. aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
  148. aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
  149. aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
  150. aws_cdk/aws_kinesisvideo/__init__.py +3 -0
  151. aws_cdk/aws_kms/__init__.py +3 -0
  152. aws_cdk/aws_lakeformation/__init__.py +3 -0
  153. aws_cdk/aws_lambda/__init__.py +9 -0
  154. aws_cdk/aws_lambda_destinations/__init__.py +3 -0
  155. aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
  156. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  157. aws_cdk/aws_lex/__init__.py +3 -0
  158. aws_cdk/aws_licensemanager/__init__.py +3 -0
  159. aws_cdk/aws_lightsail/__init__.py +3 -0
  160. aws_cdk/aws_location/__init__.py +3 -0
  161. aws_cdk/aws_logs/__init__.py +3 -0
  162. aws_cdk/aws_logs_destinations/__init__.py +3 -0
  163. aws_cdk/aws_lookoutequipment/__init__.py +3 -0
  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 +5 -3
  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 +3 -0
  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 -0
  176. aws_cdk/aws_memorydb/__init__.py +3 -0
  177. aws_cdk/aws_msk/__init__.py +91 -0
  178. aws_cdk/aws_mwaa/__init__.py +3 -0
  179. aws_cdk/aws_neptune/__init__.py +3 -0
  180. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  181. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  182. aws_cdk/aws_networkmanager/__init__.py +3 -0
  183. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  184. aws_cdk/aws_oam/__init__.py +6 -3
  185. aws_cdk/aws_omics/__init__.py +3 -0
  186. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  187. aws_cdk/aws_opensearchservice/__init__.py +26 -18
  188. aws_cdk/aws_opsworks/__init__.py +3 -0
  189. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  190. aws_cdk/aws_organizations/__init__.py +3 -0
  191. aws_cdk/aws_osis/__init__.py +3 -0
  192. aws_cdk/aws_panorama/__init__.py +3 -0
  193. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  194. aws_cdk/aws_personalize/__init__.py +3 -0
  195. aws_cdk/aws_pinpoint/__init__.py +45 -0
  196. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  197. aws_cdk/aws_pipes/__init__.py +3 -0
  198. aws_cdk/aws_proton/__init__.py +3 -0
  199. aws_cdk/aws_qldb/__init__.py +3 -0
  200. aws_cdk/aws_quicksight/__init__.py +3 -0
  201. aws_cdk/aws_ram/__init__.py +3 -0
  202. aws_cdk/aws_rds/__init__.py +150 -27
  203. aws_cdk/aws_redshift/__init__.py +3 -0
  204. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  205. aws_cdk/aws_refactorspaces/__init__.py +3 -0
  206. aws_cdk/aws_rekognition/__init__.py +3 -0
  207. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  208. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  209. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  210. aws_cdk/aws_robomaker/__init__.py +3 -0
  211. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  212. aws_cdk/aws_route53/__init__.py +52 -0
  213. aws_cdk/aws_route53_patterns/__init__.py +3 -0
  214. aws_cdk/aws_route53_targets/__init__.py +3 -0
  215. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  216. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  217. aws_cdk/aws_route53resolver/__init__.py +3 -0
  218. aws_cdk/aws_rum/__init__.py +3 -0
  219. aws_cdk/aws_s3/__init__.py +3 -0
  220. aws_cdk/aws_s3_assets/__init__.py +3 -0
  221. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  222. aws_cdk/aws_s3_notifications/__init__.py +3 -0
  223. aws_cdk/aws_s3express/__init__.py +3 -0
  224. aws_cdk/aws_s3objectlambda/__init__.py +3 -0
  225. aws_cdk/aws_s3outposts/__init__.py +3 -0
  226. aws_cdk/aws_sagemaker/__init__.py +5 -2
  227. aws_cdk/aws_sam/__init__.py +3 -0
  228. aws_cdk/aws_scheduler/__init__.py +3 -0
  229. aws_cdk/aws_sdb/__init__.py +3 -0
  230. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  231. aws_cdk/aws_securityhub/__init__.py +59 -14
  232. aws_cdk/aws_securitylake/__init__.py +859 -0
  233. aws_cdk/aws_servicecatalog/__init__.py +3 -0
  234. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  235. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  236. aws_cdk/aws_ses/__init__.py +3 -0
  237. aws_cdk/aws_ses_actions/__init__.py +3 -0
  238. aws_cdk/aws_shield/__init__.py +3 -0
  239. aws_cdk/aws_signer/__init__.py +3 -0
  240. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  241. aws_cdk/aws_sns/__init__.py +48 -13
  242. aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
  243. aws_cdk/aws_sqs/__init__.py +3 -0
  244. aws_cdk/aws_ssm/__init__.py +6 -3
  245. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  246. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  247. aws_cdk/aws_sso/__init__.py +3 -0
  248. aws_cdk/aws_stepfunctions/__init__.py +3 -0
  249. aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
  250. aws_cdk/aws_supportapp/__init__.py +3 -0
  251. aws_cdk/aws_synthetics/__init__.py +77 -14
  252. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  253. aws_cdk/aws_timestream/__init__.py +3 -0
  254. aws_cdk/aws_transfer/__init__.py +7 -3
  255. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  256. aws_cdk/aws_voiceid/__init__.py +3 -0
  257. aws_cdk/aws_vpclattice/__init__.py +3 -0
  258. aws_cdk/aws_waf/__init__.py +3 -0
  259. aws_cdk/aws_wafregional/__init__.py +3 -0
  260. aws_cdk/aws_wafv2/__init__.py +99 -46
  261. aws_cdk/aws_wisdom/__init__.py +3 -0
  262. aws_cdk/aws_workspaces/__init__.py +3 -0
  263. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  264. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  265. aws_cdk/aws_xray/__init__.py +3 -0
  266. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  267. aws_cdk/cloudformation_include/__init__.py +3 -0
  268. aws_cdk/custom_resources/__init__.py +7 -4
  269. aws_cdk/cx_api/__init__.py +20 -0
  270. aws_cdk/lambda_layer_awscli/__init__.py +3 -0
  271. aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
  272. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
  273. aws_cdk/pipelines/__init__.py +3 -0
  274. aws_cdk/region_info/__init__.py +3 -0
  275. aws_cdk/triggers/__init__.py +3 -0
  276. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
  277. aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
  278. aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
  279. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
  280. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
  281. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
  282. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -44,7 +47,9 @@ from .. import (
44
47
  CfnResource as _CfnResource_9df397a6,
45
48
  CfnTag as _CfnTag_f6864754,
46
49
  IInspectable as _IInspectable_c2943556,
50
+ IResolvable as _IResolvable_da3f097b,
47
51
  ITaggable as _ITaggable_36806126,
52
+ ITaggableV2 as _ITaggableV2_4e6798f8,
48
53
  TagManager as _TagManager_0a598cb3,
49
54
  TreeInspector as _TreeInspector_488e0dd5,
50
55
  )
@@ -360,6 +365,704 @@ class CfnDomainProps:
360
365
  )
361
366
 
362
367
 
368
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
369
+ class CfnPackageGroup(
370
+ _CfnResource_9df397a6,
371
+ metaclass=jsii.JSIIMeta,
372
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup",
373
+ ):
374
+ '''Creates a package group.
375
+
376
+ For more information about creating package groups, including example CLI commands, see `Create a package group <https://docs.aws.amazon.com/codeartifact/latest/ug/create-package-group.html>`_ in the *CodeArtifact User Guide* .
377
+
378
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html
379
+ :cloudformationResource: AWS::CodeArtifact::PackageGroup
380
+ :exampleMetadata: fixture=_generated
381
+
382
+ Example::
383
+
384
+ # The code below shows an example of how to instantiate this type.
385
+ # The values are placeholders you should change.
386
+ from aws_cdk import aws_codeartifact as codeartifact
387
+
388
+ cfn_package_group = codeartifact.CfnPackageGroup(self, "MyCfnPackageGroup",
389
+ domain_name="domainName",
390
+ pattern="pattern",
391
+
392
+ # the properties below are optional
393
+ contact_info="contactInfo",
394
+ description="description",
395
+ domain_owner="domainOwner",
396
+ origin_configuration=codeartifact.CfnPackageGroup.OriginConfigurationProperty(
397
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
398
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
399
+ restriction_mode="restrictionMode",
400
+
401
+ # the properties below are optional
402
+ repositories=["repositories"]
403
+ ),
404
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
405
+ restriction_mode="restrictionMode",
406
+
407
+ # the properties below are optional
408
+ repositories=["repositories"]
409
+ ),
410
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
411
+ restriction_mode="restrictionMode",
412
+
413
+ # the properties below are optional
414
+ repositories=["repositories"]
415
+ )
416
+ )
417
+ ),
418
+ tags=[CfnTag(
419
+ key="key",
420
+ value="value"
421
+ )]
422
+ )
423
+ '''
424
+
425
+ def __init__(
426
+ self,
427
+ scope: _constructs_77d1e7e8.Construct,
428
+ id: builtins.str,
429
+ *,
430
+ domain_name: builtins.str,
431
+ pattern: builtins.str,
432
+ contact_info: typing.Optional[builtins.str] = None,
433
+ description: typing.Optional[builtins.str] = None,
434
+ domain_owner: typing.Optional[builtins.str] = None,
435
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.OriginConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
436
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
437
+ ) -> None:
438
+ '''
439
+ :param scope: Scope in which this resource is defined.
440
+ :param id: Construct identifier for this resource (unique in its scope).
441
+ :param domain_name: The domain that contains the package group.
442
+ :param pattern: The pattern of the package group. The pattern determines which packages are associated with the package group.
443
+ :param contact_info: The contact information of the package group.
444
+ :param description: The description of the package group.
445
+ :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
446
+ :param origin_configuration: Details about the package origin configuration of a package group.
447
+ :param tags: A list of tags to be applied to the package group.
448
+ '''
449
+ if __debug__:
450
+ type_hints = typing.get_type_hints(_typecheckingstub__7a8aaa0852b2af2f8381bac18421469d96d102aa57d00f002433c862966b5603)
451
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
452
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
453
+ props = CfnPackageGroupProps(
454
+ domain_name=domain_name,
455
+ pattern=pattern,
456
+ contact_info=contact_info,
457
+ description=description,
458
+ domain_owner=domain_owner,
459
+ origin_configuration=origin_configuration,
460
+ tags=tags,
461
+ )
462
+
463
+ jsii.create(self.__class__, self, [scope, id, props])
464
+
465
+ @jsii.member(jsii_name="inspect")
466
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
467
+ '''Examines the CloudFormation resource and discloses attributes.
468
+
469
+ :param inspector: tree inspector to collect and process attributes.
470
+ '''
471
+ if __debug__:
472
+ type_hints = typing.get_type_hints(_typecheckingstub__7ce81570371704a4089ff9d234920c939ca57e8078fae0ed77580614455f254b)
473
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
474
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
475
+
476
+ @jsii.member(jsii_name="renderProperties")
477
+ def _render_properties(
478
+ self,
479
+ props: typing.Mapping[builtins.str, typing.Any],
480
+ ) -> typing.Mapping[builtins.str, typing.Any]:
481
+ '''
482
+ :param props: -
483
+ '''
484
+ if __debug__:
485
+ type_hints = typing.get_type_hints(_typecheckingstub__73902d03882d362546bad830a7e307a86e67195728c52e0a2837b7a05804b314)
486
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
487
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
488
+
489
+ @jsii.python.classproperty
490
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
491
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
492
+ '''The CloudFormation resource type name for this resource class.'''
493
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
494
+
495
+ @builtins.property
496
+ @jsii.member(jsii_name="attrArn")
497
+ def attr_arn(self) -> builtins.str:
498
+ '''When you pass the logical ID of this resource, the function returns the Amazon Resource Name (ARN) of the package group.
499
+
500
+ :cloudformationAttribute: Arn
501
+ '''
502
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
503
+
504
+ @builtins.property
505
+ @jsii.member(jsii_name="cdkTagManager")
506
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
507
+ '''Tag Manager which manages the tags for this resource.'''
508
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
509
+
510
+ @builtins.property
511
+ @jsii.member(jsii_name="cfnProperties")
512
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
513
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
514
+
515
+ @builtins.property
516
+ @jsii.member(jsii_name="domainName")
517
+ def domain_name(self) -> builtins.str:
518
+ '''The domain that contains the package group.'''
519
+ return typing.cast(builtins.str, jsii.get(self, "domainName"))
520
+
521
+ @domain_name.setter
522
+ def domain_name(self, value: builtins.str) -> None:
523
+ if __debug__:
524
+ type_hints = typing.get_type_hints(_typecheckingstub__fa73b50d995f7005fa2ec82631d018ef1849c9ffebef0125fbb6a4ee774b2163)
525
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
526
+ jsii.set(self, "domainName", value)
527
+
528
+ @builtins.property
529
+ @jsii.member(jsii_name="pattern")
530
+ def pattern(self) -> builtins.str:
531
+ '''The pattern of the package group.'''
532
+ return typing.cast(builtins.str, jsii.get(self, "pattern"))
533
+
534
+ @pattern.setter
535
+ def pattern(self, value: builtins.str) -> None:
536
+ if __debug__:
537
+ type_hints = typing.get_type_hints(_typecheckingstub__f2718281da222f54ccce3c7a3bf6ded0f2b7a3bdcd9d30fbeea35abc3e153fd1)
538
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
539
+ jsii.set(self, "pattern", value)
540
+
541
+ @builtins.property
542
+ @jsii.member(jsii_name="contactInfo")
543
+ def contact_info(self) -> typing.Optional[builtins.str]:
544
+ '''The contact information of the package group.'''
545
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contactInfo"))
546
+
547
+ @contact_info.setter
548
+ def contact_info(self, value: typing.Optional[builtins.str]) -> None:
549
+ if __debug__:
550
+ type_hints = typing.get_type_hints(_typecheckingstub__26fdce972c6efcbdd12712f2d1406046a1aaf63a8d0f3da99813e261e4029f97)
551
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
552
+ jsii.set(self, "contactInfo", value)
553
+
554
+ @builtins.property
555
+ @jsii.member(jsii_name="description")
556
+ def description(self) -> typing.Optional[builtins.str]:
557
+ '''The description of the package group.'''
558
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
559
+
560
+ @description.setter
561
+ def description(self, value: typing.Optional[builtins.str]) -> None:
562
+ if __debug__:
563
+ type_hints = typing.get_type_hints(_typecheckingstub__3b9671c9b67b0351b5842cb8cda895b5db7d8202b0617a306719b29c79b2309d)
564
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
565
+ jsii.set(self, "description", value)
566
+
567
+ @builtins.property
568
+ @jsii.member(jsii_name="domainOwner")
569
+ def domain_owner(self) -> typing.Optional[builtins.str]:
570
+ '''The 12-digit account number of the AWS account that owns the domain.'''
571
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainOwner"))
572
+
573
+ @domain_owner.setter
574
+ def domain_owner(self, value: typing.Optional[builtins.str]) -> None:
575
+ if __debug__:
576
+ type_hints = typing.get_type_hints(_typecheckingstub__15d889231b62e097fa73baf944ef89bab375256fa4ae0bdb93c27049076c51c7)
577
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
578
+ jsii.set(self, "domainOwner", value)
579
+
580
+ @builtins.property
581
+ @jsii.member(jsii_name="originConfiguration")
582
+ def origin_configuration(
583
+ self,
584
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]]:
585
+ '''Details about the package origin configuration of a package group.'''
586
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]], jsii.get(self, "originConfiguration"))
587
+
588
+ @origin_configuration.setter
589
+ def origin_configuration(
590
+ self,
591
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]],
592
+ ) -> None:
593
+ if __debug__:
594
+ type_hints = typing.get_type_hints(_typecheckingstub__63bcaafc797c7b557351ce8e1bfa571001310be1e41896261bec63105e81cae6)
595
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
596
+ jsii.set(self, "originConfiguration", value)
597
+
598
+ @builtins.property
599
+ @jsii.member(jsii_name="tags")
600
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
601
+ '''A list of tags to be applied to the package group.'''
602
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
603
+
604
+ @tags.setter
605
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
606
+ if __debug__:
607
+ type_hints = typing.get_type_hints(_typecheckingstub__e756db6ce537f9d80da313912b16eef0c2a610ee05772d30b4df98a4ddebee96)
608
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
609
+ jsii.set(self, "tags", value)
610
+
611
+ @jsii.data_type(
612
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.OriginConfigurationProperty",
613
+ jsii_struct_bases=[],
614
+ name_mapping={"restrictions": "restrictions"},
615
+ )
616
+ class OriginConfigurationProperty:
617
+ def __init__(
618
+ self,
619
+ *,
620
+ restrictions: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionsProperty", typing.Dict[builtins.str, typing.Any]]],
621
+ ) -> None:
622
+ '''The package group origin configuration that determines how package versions can enter repositories.
623
+
624
+ :param restrictions: The origin configuration settings that determine how package versions can enter repositories.
625
+
626
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html
627
+ :exampleMetadata: fixture=_generated
628
+
629
+ Example::
630
+
631
+ # The code below shows an example of how to instantiate this type.
632
+ # The values are placeholders you should change.
633
+ from aws_cdk import aws_codeartifact as codeartifact
634
+
635
+ origin_configuration_property = codeartifact.CfnPackageGroup.OriginConfigurationProperty(
636
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
637
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
638
+ restriction_mode="restrictionMode",
639
+
640
+ # the properties below are optional
641
+ repositories=["repositories"]
642
+ ),
643
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
644
+ restriction_mode="restrictionMode",
645
+
646
+ # the properties below are optional
647
+ repositories=["repositories"]
648
+ ),
649
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
650
+ restriction_mode="restrictionMode",
651
+
652
+ # the properties below are optional
653
+ repositories=["repositories"]
654
+ )
655
+ )
656
+ )
657
+ '''
658
+ if __debug__:
659
+ type_hints = typing.get_type_hints(_typecheckingstub__46aa889310dd45252527135dfe1c0e1137811a871c8d0978ef0c8c7dcf8636fa)
660
+ check_type(argname="argument restrictions", value=restrictions, expected_type=type_hints["restrictions"])
661
+ self._values: typing.Dict[builtins.str, typing.Any] = {
662
+ "restrictions": restrictions,
663
+ }
664
+
665
+ @builtins.property
666
+ def restrictions(
667
+ self,
668
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionsProperty"]:
669
+ '''The origin configuration settings that determine how package versions can enter repositories.
670
+
671
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html#cfn-codeartifact-packagegroup-originconfiguration-restrictions
672
+ '''
673
+ result = self._values.get("restrictions")
674
+ assert result is not None, "Required property 'restrictions' is missing"
675
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionsProperty"], result)
676
+
677
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
678
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
679
+
680
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
681
+ return not (rhs == self)
682
+
683
+ def __repr__(self) -> str:
684
+ return "OriginConfigurationProperty(%s)" % ", ".join(
685
+ k + "=" + repr(v) for k, v in self._values.items()
686
+ )
687
+
688
+ @jsii.data_type(
689
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionTypeProperty",
690
+ jsii_struct_bases=[],
691
+ name_mapping={
692
+ "restriction_mode": "restrictionMode",
693
+ "repositories": "repositories",
694
+ },
695
+ )
696
+ class RestrictionTypeProperty:
697
+ def __init__(
698
+ self,
699
+ *,
700
+ restriction_mode: builtins.str,
701
+ repositories: typing.Optional[typing.Sequence[builtins.str]] = None,
702
+ ) -> None:
703
+ '''The ``RestrictionType`` property type specifies the package group origin configuration restriction mode, and the repositories when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
704
+
705
+ :param restriction_mode: The package group origin restriction setting. When the value is ``INHERIT`` , the value is set to the value of the first parent package group which does not have a value of ``INHERIT`` .
706
+ :param repositories: The repositories to add to the allowed repositories list. The allowed repositories list is used when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
707
+
708
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html
709
+ :exampleMetadata: fixture=_generated
710
+
711
+ Example::
712
+
713
+ # The code below shows an example of how to instantiate this type.
714
+ # The values are placeholders you should change.
715
+ from aws_cdk import aws_codeartifact as codeartifact
716
+
717
+ restriction_type_property = codeartifact.CfnPackageGroup.RestrictionTypeProperty(
718
+ restriction_mode="restrictionMode",
719
+
720
+ # the properties below are optional
721
+ repositories=["repositories"]
722
+ )
723
+ '''
724
+ if __debug__:
725
+ type_hints = typing.get_type_hints(_typecheckingstub__b33f9d054f35f5ec68410c8313f2ffd1872a95e319e44f40a0c6992c3455211a)
726
+ check_type(argname="argument restriction_mode", value=restriction_mode, expected_type=type_hints["restriction_mode"])
727
+ check_type(argname="argument repositories", value=repositories, expected_type=type_hints["repositories"])
728
+ self._values: typing.Dict[builtins.str, typing.Any] = {
729
+ "restriction_mode": restriction_mode,
730
+ }
731
+ if repositories is not None:
732
+ self._values["repositories"] = repositories
733
+
734
+ @builtins.property
735
+ def restriction_mode(self) -> builtins.str:
736
+ '''The package group origin restriction setting.
737
+
738
+ When the value is ``INHERIT`` , the value is set to the value of the first parent package group which does not have a value of ``INHERIT`` .
739
+
740
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-restrictionmode
741
+ '''
742
+ result = self._values.get("restriction_mode")
743
+ assert result is not None, "Required property 'restriction_mode' is missing"
744
+ return typing.cast(builtins.str, result)
745
+
746
+ @builtins.property
747
+ def repositories(self) -> typing.Optional[typing.List[builtins.str]]:
748
+ '''The repositories to add to the allowed repositories list.
749
+
750
+ The allowed repositories list is used when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
751
+
752
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-repositories
753
+ '''
754
+ result = self._values.get("repositories")
755
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
756
+
757
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
758
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
759
+
760
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
761
+ return not (rhs == self)
762
+
763
+ def __repr__(self) -> str:
764
+ return "RestrictionTypeProperty(%s)" % ", ".join(
765
+ k + "=" + repr(v) for k, v in self._values.items()
766
+ )
767
+
768
+ @jsii.data_type(
769
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionsProperty",
770
+ jsii_struct_bases=[],
771
+ name_mapping={
772
+ "external_upstream": "externalUpstream",
773
+ "internal_upstream": "internalUpstream",
774
+ "publish": "publish",
775
+ },
776
+ )
777
+ class RestrictionsProperty:
778
+ def __init__(
779
+ self,
780
+ *,
781
+ external_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
782
+ internal_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
783
+ publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
784
+ ) -> None:
785
+ '''Contains information about the configured restrictions of the origin controls of a package group.
786
+
787
+ :param external_upstream: The package group origin restriction setting for external, upstream repositories.
788
+ :param internal_upstream: The package group origin restriction setting for internal, upstream repositories.
789
+ :param publish: The package group origin restriction setting for publishing packages.
790
+
791
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html
792
+ :exampleMetadata: fixture=_generated
793
+
794
+ Example::
795
+
796
+ # The code below shows an example of how to instantiate this type.
797
+ # The values are placeholders you should change.
798
+ from aws_cdk import aws_codeartifact as codeartifact
799
+
800
+ restrictions_property = codeartifact.CfnPackageGroup.RestrictionsProperty(
801
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
802
+ restriction_mode="restrictionMode",
803
+
804
+ # the properties below are optional
805
+ repositories=["repositories"]
806
+ ),
807
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
808
+ restriction_mode="restrictionMode",
809
+
810
+ # the properties below are optional
811
+ repositories=["repositories"]
812
+ ),
813
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
814
+ restriction_mode="restrictionMode",
815
+
816
+ # the properties below are optional
817
+ repositories=["repositories"]
818
+ )
819
+ )
820
+ '''
821
+ if __debug__:
822
+ type_hints = typing.get_type_hints(_typecheckingstub__c52406159408ff95f368a7de422beb3ef5a838a22e051fd0602f67aab0b1299d)
823
+ check_type(argname="argument external_upstream", value=external_upstream, expected_type=type_hints["external_upstream"])
824
+ check_type(argname="argument internal_upstream", value=internal_upstream, expected_type=type_hints["internal_upstream"])
825
+ check_type(argname="argument publish", value=publish, expected_type=type_hints["publish"])
826
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
827
+ if external_upstream is not None:
828
+ self._values["external_upstream"] = external_upstream
829
+ if internal_upstream is not None:
830
+ self._values["internal_upstream"] = internal_upstream
831
+ if publish is not None:
832
+ self._values["publish"] = publish
833
+
834
+ @builtins.property
835
+ def external_upstream(
836
+ self,
837
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
838
+ '''The package group origin restriction setting for external, upstream repositories.
839
+
840
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-externalupstream
841
+ '''
842
+ result = self._values.get("external_upstream")
843
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
844
+
845
+ @builtins.property
846
+ def internal_upstream(
847
+ self,
848
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
849
+ '''The package group origin restriction setting for internal, upstream repositories.
850
+
851
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-internalupstream
852
+ '''
853
+ result = self._values.get("internal_upstream")
854
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
855
+
856
+ @builtins.property
857
+ def publish(
858
+ self,
859
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
860
+ '''The package group origin restriction setting for publishing packages.
861
+
862
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-publish
863
+ '''
864
+ result = self._values.get("publish")
865
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
866
+
867
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
868
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
869
+
870
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
871
+ return not (rhs == self)
872
+
873
+ def __repr__(self) -> str:
874
+ return "RestrictionsProperty(%s)" % ", ".join(
875
+ k + "=" + repr(v) for k, v in self._values.items()
876
+ )
877
+
878
+
879
+ @jsii.data_type(
880
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroupProps",
881
+ jsii_struct_bases=[],
882
+ name_mapping={
883
+ "domain_name": "domainName",
884
+ "pattern": "pattern",
885
+ "contact_info": "contactInfo",
886
+ "description": "description",
887
+ "domain_owner": "domainOwner",
888
+ "origin_configuration": "originConfiguration",
889
+ "tags": "tags",
890
+ },
891
+ )
892
+ class CfnPackageGroupProps:
893
+ def __init__(
894
+ self,
895
+ *,
896
+ domain_name: builtins.str,
897
+ pattern: builtins.str,
898
+ contact_info: typing.Optional[builtins.str] = None,
899
+ description: typing.Optional[builtins.str] = None,
900
+ domain_owner: typing.Optional[builtins.str] = None,
901
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
902
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
903
+ ) -> None:
904
+ '''Properties for defining a ``CfnPackageGroup``.
905
+
906
+ :param domain_name: The domain that contains the package group.
907
+ :param pattern: The pattern of the package group. The pattern determines which packages are associated with the package group.
908
+ :param contact_info: The contact information of the package group.
909
+ :param description: The description of the package group.
910
+ :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
911
+ :param origin_configuration: Details about the package origin configuration of a package group.
912
+ :param tags: A list of tags to be applied to the package group.
913
+
914
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html
915
+ :exampleMetadata: fixture=_generated
916
+
917
+ Example::
918
+
919
+ # The code below shows an example of how to instantiate this type.
920
+ # The values are placeholders you should change.
921
+ from aws_cdk import aws_codeartifact as codeartifact
922
+
923
+ cfn_package_group_props = codeartifact.CfnPackageGroupProps(
924
+ domain_name="domainName",
925
+ pattern="pattern",
926
+
927
+ # the properties below are optional
928
+ contact_info="contactInfo",
929
+ description="description",
930
+ domain_owner="domainOwner",
931
+ origin_configuration=codeartifact.CfnPackageGroup.OriginConfigurationProperty(
932
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
933
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
934
+ restriction_mode="restrictionMode",
935
+
936
+ # the properties below are optional
937
+ repositories=["repositories"]
938
+ ),
939
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
940
+ restriction_mode="restrictionMode",
941
+
942
+ # the properties below are optional
943
+ repositories=["repositories"]
944
+ ),
945
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
946
+ restriction_mode="restrictionMode",
947
+
948
+ # the properties below are optional
949
+ repositories=["repositories"]
950
+ )
951
+ )
952
+ ),
953
+ tags=[CfnTag(
954
+ key="key",
955
+ value="value"
956
+ )]
957
+ )
958
+ '''
959
+ if __debug__:
960
+ type_hints = typing.get_type_hints(_typecheckingstub__25201ca742777c6bda1acf009c5a015a6a51866eef1a9bc32a2ebf1a5352ecf3)
961
+ check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
962
+ check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
963
+ check_type(argname="argument contact_info", value=contact_info, expected_type=type_hints["contact_info"])
964
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
965
+ check_type(argname="argument domain_owner", value=domain_owner, expected_type=type_hints["domain_owner"])
966
+ check_type(argname="argument origin_configuration", value=origin_configuration, expected_type=type_hints["origin_configuration"])
967
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
968
+ self._values: typing.Dict[builtins.str, typing.Any] = {
969
+ "domain_name": domain_name,
970
+ "pattern": pattern,
971
+ }
972
+ if contact_info is not None:
973
+ self._values["contact_info"] = contact_info
974
+ if description is not None:
975
+ self._values["description"] = description
976
+ if domain_owner is not None:
977
+ self._values["domain_owner"] = domain_owner
978
+ if origin_configuration is not None:
979
+ self._values["origin_configuration"] = origin_configuration
980
+ if tags is not None:
981
+ self._values["tags"] = tags
982
+
983
+ @builtins.property
984
+ def domain_name(self) -> builtins.str:
985
+ '''The domain that contains the package group.
986
+
987
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-domainname
988
+ '''
989
+ result = self._values.get("domain_name")
990
+ assert result is not None, "Required property 'domain_name' is missing"
991
+ return typing.cast(builtins.str, result)
992
+
993
+ @builtins.property
994
+ def pattern(self) -> builtins.str:
995
+ '''The pattern of the package group.
996
+
997
+ The pattern determines which packages are associated with the package group.
998
+
999
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-pattern
1000
+ '''
1001
+ result = self._values.get("pattern")
1002
+ assert result is not None, "Required property 'pattern' is missing"
1003
+ return typing.cast(builtins.str, result)
1004
+
1005
+ @builtins.property
1006
+ def contact_info(self) -> typing.Optional[builtins.str]:
1007
+ '''The contact information of the package group.
1008
+
1009
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-contactinfo
1010
+ '''
1011
+ result = self._values.get("contact_info")
1012
+ return typing.cast(typing.Optional[builtins.str], result)
1013
+
1014
+ @builtins.property
1015
+ def description(self) -> typing.Optional[builtins.str]:
1016
+ '''The description of the package group.
1017
+
1018
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-description
1019
+ '''
1020
+ result = self._values.get("description")
1021
+ return typing.cast(typing.Optional[builtins.str], result)
1022
+
1023
+ @builtins.property
1024
+ def domain_owner(self) -> typing.Optional[builtins.str]:
1025
+ '''The 12-digit account number of the AWS account that owns the domain.
1026
+
1027
+ It does not include dashes or spaces.
1028
+
1029
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-domainowner
1030
+ '''
1031
+ result = self._values.get("domain_owner")
1032
+ return typing.cast(typing.Optional[builtins.str], result)
1033
+
1034
+ @builtins.property
1035
+ def origin_configuration(
1036
+ self,
1037
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]]:
1038
+ '''Details about the package origin configuration of a package group.
1039
+
1040
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-originconfiguration
1041
+ '''
1042
+ result = self._values.get("origin_configuration")
1043
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]], result)
1044
+
1045
+ @builtins.property
1046
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1047
+ '''A list of tags to be applied to the package group.
1048
+
1049
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-tags
1050
+ '''
1051
+ result = self._values.get("tags")
1052
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1053
+
1054
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1055
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1056
+
1057
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1058
+ return not (rhs == self)
1059
+
1060
+ def __repr__(self) -> str:
1061
+ return "CfnPackageGroupProps(%s)" % ", ".join(
1062
+ k + "=" + repr(v) for k, v in self._values.items()
1063
+ )
1064
+
1065
+
363
1066
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
364
1067
  class CfnRepository(
365
1068
  _CfnResource_9df397a6,
@@ -420,7 +1123,7 @@ class CfnRepository(
420
1123
  :param repository_name: The name of an upstream repository.
421
1124
  :param description: A text description of the repository.
422
1125
  :param domain_owner: The 12-digit account ID of the AWS account that owns the domain.
423
- :param external_connections: An array of external connections associated with the repository.
1126
+ :param external_connections: An array of external connections associated with the repository. For more information, see `Supported external connection repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html#supported-public-repositories>`_ in the *CodeArtifact user guide* .
424
1127
  :param permissions_policy_document: The document that defines the resource policy that is set on a repository.
425
1128
  :param tags: A list of tags to be applied to the repository.
426
1129
  :param upstreams: A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see `Working with upstream repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html>`_ .
@@ -660,7 +1363,7 @@ class CfnRepositoryProps:
660
1363
  :param repository_name: The name of an upstream repository.
661
1364
  :param description: A text description of the repository.
662
1365
  :param domain_owner: The 12-digit account ID of the AWS account that owns the domain.
663
- :param external_connections: An array of external connections associated with the repository.
1366
+ :param external_connections: An array of external connections associated with the repository. For more information, see `Supported external connection repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html#supported-public-repositories>`_ in the *CodeArtifact user guide* .
664
1367
  :param permissions_policy_document: The document that defines the resource policy that is set on a repository.
665
1368
  :param tags: A list of tags to be applied to the repository.
666
1369
  :param upstreams: A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see `Working with upstream repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html>`_ .
@@ -761,6 +1464,8 @@ class CfnRepositoryProps:
761
1464
  def external_connections(self) -> typing.Optional[typing.List[builtins.str]]:
762
1465
  '''An array of external connections associated with the repository.
763
1466
 
1467
+ For more information, see `Supported external connection repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html#supported-public-repositories>`_ in the *CodeArtifact user guide* .
1468
+
764
1469
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-externalconnections
765
1470
  '''
766
1471
  result = self._values.get("external_connections")
@@ -810,6 +1515,8 @@ class CfnRepositoryProps:
810
1515
  __all__ = [
811
1516
  "CfnDomain",
812
1517
  "CfnDomainProps",
1518
+ "CfnPackageGroup",
1519
+ "CfnPackageGroupProps",
813
1520
  "CfnRepository",
814
1521
  "CfnRepositoryProps",
815
1522
  ]
@@ -874,6 +1581,112 @@ def _typecheckingstub__ed4a67a72fcc7050f3a4ea650fb97fc3375ca5e90727251a483297144
874
1581
  """Type checking stubs"""
875
1582
  pass
876
1583
 
1584
+ def _typecheckingstub__7a8aaa0852b2af2f8381bac18421469d96d102aa57d00f002433c862966b5603(
1585
+ scope: _constructs_77d1e7e8.Construct,
1586
+ id: builtins.str,
1587
+ *,
1588
+ domain_name: builtins.str,
1589
+ pattern: builtins.str,
1590
+ contact_info: typing.Optional[builtins.str] = None,
1591
+ description: typing.Optional[builtins.str] = None,
1592
+ domain_owner: typing.Optional[builtins.str] = None,
1593
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1594
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1595
+ ) -> None:
1596
+ """Type checking stubs"""
1597
+ pass
1598
+
1599
+ def _typecheckingstub__7ce81570371704a4089ff9d234920c939ca57e8078fae0ed77580614455f254b(
1600
+ inspector: _TreeInspector_488e0dd5,
1601
+ ) -> None:
1602
+ """Type checking stubs"""
1603
+ pass
1604
+
1605
+ def _typecheckingstub__73902d03882d362546bad830a7e307a86e67195728c52e0a2837b7a05804b314(
1606
+ props: typing.Mapping[builtins.str, typing.Any],
1607
+ ) -> None:
1608
+ """Type checking stubs"""
1609
+ pass
1610
+
1611
+ def _typecheckingstub__fa73b50d995f7005fa2ec82631d018ef1849c9ffebef0125fbb6a4ee774b2163(
1612
+ value: builtins.str,
1613
+ ) -> None:
1614
+ """Type checking stubs"""
1615
+ pass
1616
+
1617
+ def _typecheckingstub__f2718281da222f54ccce3c7a3bf6ded0f2b7a3bdcd9d30fbeea35abc3e153fd1(
1618
+ value: builtins.str,
1619
+ ) -> None:
1620
+ """Type checking stubs"""
1621
+ pass
1622
+
1623
+ def _typecheckingstub__26fdce972c6efcbdd12712f2d1406046a1aaf63a8d0f3da99813e261e4029f97(
1624
+ value: typing.Optional[builtins.str],
1625
+ ) -> None:
1626
+ """Type checking stubs"""
1627
+ pass
1628
+
1629
+ def _typecheckingstub__3b9671c9b67b0351b5842cb8cda895b5db7d8202b0617a306719b29c79b2309d(
1630
+ value: typing.Optional[builtins.str],
1631
+ ) -> None:
1632
+ """Type checking stubs"""
1633
+ pass
1634
+
1635
+ def _typecheckingstub__15d889231b62e097fa73baf944ef89bab375256fa4ae0bdb93c27049076c51c7(
1636
+ value: typing.Optional[builtins.str],
1637
+ ) -> None:
1638
+ """Type checking stubs"""
1639
+ pass
1640
+
1641
+ def _typecheckingstub__63bcaafc797c7b557351ce8e1bfa571001310be1e41896261bec63105e81cae6(
1642
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]],
1643
+ ) -> None:
1644
+ """Type checking stubs"""
1645
+ pass
1646
+
1647
+ def _typecheckingstub__e756db6ce537f9d80da313912b16eef0c2a610ee05772d30b4df98a4ddebee96(
1648
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1649
+ ) -> None:
1650
+ """Type checking stubs"""
1651
+ pass
1652
+
1653
+ def _typecheckingstub__46aa889310dd45252527135dfe1c0e1137811a871c8d0978ef0c8c7dcf8636fa(
1654
+ *,
1655
+ restrictions: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionsProperty, typing.Dict[builtins.str, typing.Any]]],
1656
+ ) -> None:
1657
+ """Type checking stubs"""
1658
+ pass
1659
+
1660
+ def _typecheckingstub__b33f9d054f35f5ec68410c8313f2ffd1872a95e319e44f40a0c6992c3455211a(
1661
+ *,
1662
+ restriction_mode: builtins.str,
1663
+ repositories: typing.Optional[typing.Sequence[builtins.str]] = None,
1664
+ ) -> None:
1665
+ """Type checking stubs"""
1666
+ pass
1667
+
1668
+ def _typecheckingstub__c52406159408ff95f368a7de422beb3ef5a838a22e051fd0602f67aab0b1299d(
1669
+ *,
1670
+ external_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1671
+ internal_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1672
+ publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1673
+ ) -> None:
1674
+ """Type checking stubs"""
1675
+ pass
1676
+
1677
+ def _typecheckingstub__25201ca742777c6bda1acf009c5a015a6a51866eef1a9bc32a2ebf1a5352ecf3(
1678
+ *,
1679
+ domain_name: builtins.str,
1680
+ pattern: builtins.str,
1681
+ contact_info: typing.Optional[builtins.str] = None,
1682
+ description: typing.Optional[builtins.str] = None,
1683
+ domain_owner: typing.Optional[builtins.str] = None,
1684
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1685
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1686
+ ) -> None:
1687
+ """Type checking stubs"""
1688
+ pass
1689
+
877
1690
  def _typecheckingstub__f4fb8e90c9d866f1bfe7bd9bf2e46e1f97b3f66247b8086423fecb6029b669e4(
878
1691
  scope: _constructs_77d1e7e8.Construct,
879
1692
  id: builtins.str,