aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (56) hide show
  1. aws_cdk/__init__.py +9 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +105 -3
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
  6. aws_cdk/aws_appconfig/__init__.py +186 -8
  7. aws_cdk/aws_appintegrations/__init__.py +551 -0
  8. aws_cdk/aws_appsync/__init__.py +71 -0
  9. aws_cdk/aws_autoscaling/__init__.py +6 -4
  10. aws_cdk/aws_backup/__init__.py +23 -12
  11. aws_cdk/aws_batch/__init__.py +423 -73
  12. aws_cdk/aws_bedrock/__init__.py +197 -2
  13. aws_cdk/aws_cloudformation/__init__.py +1 -1
  14. aws_cdk/aws_cloudfront/__init__.py +2 -2
  15. aws_cdk/aws_cloudtrail/__init__.py +44 -14
  16. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  17. aws_cdk/aws_codeartifact/__init__.py +812 -2
  18. aws_cdk/aws_codebuild/__init__.py +21 -5
  19. aws_cdk/aws_codepipeline/__init__.py +24 -8
  20. aws_cdk/aws_cognito/__init__.py +41 -40
  21. aws_cdk/aws_connect/__init__.py +256 -0
  22. aws_cdk/aws_datasync/__init__.py +393 -13
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_docdbelastic/__init__.py +117 -0
  25. aws_cdk/aws_dynamodb/__init__.py +416 -5
  26. aws_cdk/aws_ec2/__init__.py +493 -93
  27. aws_cdk/aws_ecs/__init__.py +6 -4
  28. aws_cdk/aws_eks/__init__.py +27 -25
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
  30. aws_cdk/aws_entityresolution/__init__.py +91 -64
  31. aws_cdk/aws_glue/__init__.py +137 -3
  32. aws_cdk/aws_iam/__init__.py +9 -10
  33. aws_cdk/aws_internetmonitor/__init__.py +85 -0
  34. aws_cdk/aws_iotsitewise/__init__.py +110 -50
  35. aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
  36. aws_cdk/aws_kendra/__init__.py +34 -24
  37. aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
  39. aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
  40. aws_cdk/aws_msk/__init__.py +88 -0
  41. aws_cdk/aws_opensearchservice/__init__.py +19 -17
  42. aws_cdk/aws_pinpoint/__init__.py +42 -0
  43. aws_cdk/aws_rds/__init__.py +48 -14
  44. aws_cdk/aws_sagemaker/__init__.py +2 -2
  45. aws_cdk/aws_ssm/__init__.py +3 -3
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
  47. aws_cdk/aws_synthetics/__init__.py +74 -14
  48. aws_cdk/aws_transfer/__init__.py +4 -3
  49. aws_cdk/aws_wafv2/__init__.py +96 -46
  50. aws_cdk/cx_api/__init__.py +17 -0
  51. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
  52. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
  53. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
  56. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,9 @@ from .. import (
44
44
  CfnResource as _CfnResource_9df397a6,
45
45
  CfnTag as _CfnTag_f6864754,
46
46
  IInspectable as _IInspectable_c2943556,
47
+ IResolvable as _IResolvable_da3f097b,
47
48
  ITaggable as _ITaggable_36806126,
49
+ ITaggableV2 as _ITaggableV2_4e6798f8,
48
50
  TagManager as _TagManager_0a598cb3,
49
51
  TreeInspector as _TreeInspector_488e0dd5,
50
52
  )
@@ -360,6 +362,704 @@ class CfnDomainProps:
360
362
  )
361
363
 
362
364
 
365
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
366
+ class CfnPackageGroup(
367
+ _CfnResource_9df397a6,
368
+ metaclass=jsii.JSIIMeta,
369
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup",
370
+ ):
371
+ '''Creates a package group.
372
+
373
+ 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* .
374
+
375
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html
376
+ :cloudformationResource: AWS::CodeArtifact::PackageGroup
377
+ :exampleMetadata: fixture=_generated
378
+
379
+ Example::
380
+
381
+ # The code below shows an example of how to instantiate this type.
382
+ # The values are placeholders you should change.
383
+ from aws_cdk import aws_codeartifact as codeartifact
384
+
385
+ cfn_package_group = codeartifact.CfnPackageGroup(self, "MyCfnPackageGroup",
386
+ domain_name="domainName",
387
+ pattern="pattern",
388
+
389
+ # the properties below are optional
390
+ contact_info="contactInfo",
391
+ description="description",
392
+ domain_owner="domainOwner",
393
+ origin_configuration=codeartifact.CfnPackageGroup.OriginConfigurationProperty(
394
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
395
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
396
+ restriction_mode="restrictionMode",
397
+
398
+ # the properties below are optional
399
+ repositories=["repositories"]
400
+ ),
401
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
402
+ restriction_mode="restrictionMode",
403
+
404
+ # the properties below are optional
405
+ repositories=["repositories"]
406
+ ),
407
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
408
+ restriction_mode="restrictionMode",
409
+
410
+ # the properties below are optional
411
+ repositories=["repositories"]
412
+ )
413
+ )
414
+ ),
415
+ tags=[CfnTag(
416
+ key="key",
417
+ value="value"
418
+ )]
419
+ )
420
+ '''
421
+
422
+ def __init__(
423
+ self,
424
+ scope: _constructs_77d1e7e8.Construct,
425
+ id: builtins.str,
426
+ *,
427
+ domain_name: builtins.str,
428
+ pattern: builtins.str,
429
+ contact_info: typing.Optional[builtins.str] = None,
430
+ description: typing.Optional[builtins.str] = None,
431
+ domain_owner: typing.Optional[builtins.str] = None,
432
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.OriginConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
433
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
434
+ ) -> None:
435
+ '''
436
+ :param scope: Scope in which this resource is defined.
437
+ :param id: Construct identifier for this resource (unique in its scope).
438
+ :param domain_name: The domain that contains the package group.
439
+ :param pattern: The pattern of the package group. The pattern determines which packages are associated with the package group.
440
+ :param contact_info: The contact information of the package group.
441
+ :param description: The description of the package group.
442
+ :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
443
+ :param origin_configuration: Details about the package origin configuration of a package group.
444
+ :param tags: A list of tags to be applied to the package group.
445
+ '''
446
+ if __debug__:
447
+ type_hints = typing.get_type_hints(_typecheckingstub__7a8aaa0852b2af2f8381bac18421469d96d102aa57d00f002433c862966b5603)
448
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
449
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
450
+ props = CfnPackageGroupProps(
451
+ domain_name=domain_name,
452
+ pattern=pattern,
453
+ contact_info=contact_info,
454
+ description=description,
455
+ domain_owner=domain_owner,
456
+ origin_configuration=origin_configuration,
457
+ tags=tags,
458
+ )
459
+
460
+ jsii.create(self.__class__, self, [scope, id, props])
461
+
462
+ @jsii.member(jsii_name="inspect")
463
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
464
+ '''Examines the CloudFormation resource and discloses attributes.
465
+
466
+ :param inspector: tree inspector to collect and process attributes.
467
+ '''
468
+ if __debug__:
469
+ type_hints = typing.get_type_hints(_typecheckingstub__7ce81570371704a4089ff9d234920c939ca57e8078fae0ed77580614455f254b)
470
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
471
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
472
+
473
+ @jsii.member(jsii_name="renderProperties")
474
+ def _render_properties(
475
+ self,
476
+ props: typing.Mapping[builtins.str, typing.Any],
477
+ ) -> typing.Mapping[builtins.str, typing.Any]:
478
+ '''
479
+ :param props: -
480
+ '''
481
+ if __debug__:
482
+ type_hints = typing.get_type_hints(_typecheckingstub__73902d03882d362546bad830a7e307a86e67195728c52e0a2837b7a05804b314)
483
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
484
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
485
+
486
+ @jsii.python.classproperty
487
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
488
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
489
+ '''The CloudFormation resource type name for this resource class.'''
490
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
491
+
492
+ @builtins.property
493
+ @jsii.member(jsii_name="attrArn")
494
+ def attr_arn(self) -> builtins.str:
495
+ '''When you pass the logical ID of this resource, the function returns the Amazon Resource Name (ARN) of the package group.
496
+
497
+ :cloudformationAttribute: Arn
498
+ '''
499
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
500
+
501
+ @builtins.property
502
+ @jsii.member(jsii_name="cdkTagManager")
503
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
504
+ '''Tag Manager which manages the tags for this resource.'''
505
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
506
+
507
+ @builtins.property
508
+ @jsii.member(jsii_name="cfnProperties")
509
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
510
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
511
+
512
+ @builtins.property
513
+ @jsii.member(jsii_name="domainName")
514
+ def domain_name(self) -> builtins.str:
515
+ '''The domain that contains the package group.'''
516
+ return typing.cast(builtins.str, jsii.get(self, "domainName"))
517
+
518
+ @domain_name.setter
519
+ def domain_name(self, value: builtins.str) -> None:
520
+ if __debug__:
521
+ type_hints = typing.get_type_hints(_typecheckingstub__fa73b50d995f7005fa2ec82631d018ef1849c9ffebef0125fbb6a4ee774b2163)
522
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
523
+ jsii.set(self, "domainName", value)
524
+
525
+ @builtins.property
526
+ @jsii.member(jsii_name="pattern")
527
+ def pattern(self) -> builtins.str:
528
+ '''The pattern of the package group.'''
529
+ return typing.cast(builtins.str, jsii.get(self, "pattern"))
530
+
531
+ @pattern.setter
532
+ def pattern(self, value: builtins.str) -> None:
533
+ if __debug__:
534
+ type_hints = typing.get_type_hints(_typecheckingstub__f2718281da222f54ccce3c7a3bf6ded0f2b7a3bdcd9d30fbeea35abc3e153fd1)
535
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
536
+ jsii.set(self, "pattern", value)
537
+
538
+ @builtins.property
539
+ @jsii.member(jsii_name="contactInfo")
540
+ def contact_info(self) -> typing.Optional[builtins.str]:
541
+ '''The contact information of the package group.'''
542
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contactInfo"))
543
+
544
+ @contact_info.setter
545
+ def contact_info(self, value: typing.Optional[builtins.str]) -> None:
546
+ if __debug__:
547
+ type_hints = typing.get_type_hints(_typecheckingstub__26fdce972c6efcbdd12712f2d1406046a1aaf63a8d0f3da99813e261e4029f97)
548
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
549
+ jsii.set(self, "contactInfo", value)
550
+
551
+ @builtins.property
552
+ @jsii.member(jsii_name="description")
553
+ def description(self) -> typing.Optional[builtins.str]:
554
+ '''The description of the package group.'''
555
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
556
+
557
+ @description.setter
558
+ def description(self, value: typing.Optional[builtins.str]) -> None:
559
+ if __debug__:
560
+ type_hints = typing.get_type_hints(_typecheckingstub__3b9671c9b67b0351b5842cb8cda895b5db7d8202b0617a306719b29c79b2309d)
561
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
562
+ jsii.set(self, "description", value)
563
+
564
+ @builtins.property
565
+ @jsii.member(jsii_name="domainOwner")
566
+ def domain_owner(self) -> typing.Optional[builtins.str]:
567
+ '''The 12-digit account number of the AWS account that owns the domain.'''
568
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainOwner"))
569
+
570
+ @domain_owner.setter
571
+ def domain_owner(self, value: typing.Optional[builtins.str]) -> None:
572
+ if __debug__:
573
+ type_hints = typing.get_type_hints(_typecheckingstub__15d889231b62e097fa73baf944ef89bab375256fa4ae0bdb93c27049076c51c7)
574
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
575
+ jsii.set(self, "domainOwner", value)
576
+
577
+ @builtins.property
578
+ @jsii.member(jsii_name="originConfiguration")
579
+ def origin_configuration(
580
+ self,
581
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]]:
582
+ '''Details about the package origin configuration of a package group.'''
583
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]], jsii.get(self, "originConfiguration"))
584
+
585
+ @origin_configuration.setter
586
+ def origin_configuration(
587
+ self,
588
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.OriginConfigurationProperty"]],
589
+ ) -> None:
590
+ if __debug__:
591
+ type_hints = typing.get_type_hints(_typecheckingstub__63bcaafc797c7b557351ce8e1bfa571001310be1e41896261bec63105e81cae6)
592
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
593
+ jsii.set(self, "originConfiguration", value)
594
+
595
+ @builtins.property
596
+ @jsii.member(jsii_name="tags")
597
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
598
+ '''A list of tags to be applied to the package group.'''
599
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
600
+
601
+ @tags.setter
602
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
603
+ if __debug__:
604
+ type_hints = typing.get_type_hints(_typecheckingstub__e756db6ce537f9d80da313912b16eef0c2a610ee05772d30b4df98a4ddebee96)
605
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
606
+ jsii.set(self, "tags", value)
607
+
608
+ @jsii.data_type(
609
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.OriginConfigurationProperty",
610
+ jsii_struct_bases=[],
611
+ name_mapping={"restrictions": "restrictions"},
612
+ )
613
+ class OriginConfigurationProperty:
614
+ def __init__(
615
+ self,
616
+ *,
617
+ restrictions: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionsProperty", typing.Dict[builtins.str, typing.Any]]],
618
+ ) -> None:
619
+ '''The package group origin configuration that determines how package versions can enter repositories.
620
+
621
+ :param restrictions: The origin configuration settings that determine how package versions can enter repositories.
622
+
623
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html
624
+ :exampleMetadata: fixture=_generated
625
+
626
+ Example::
627
+
628
+ # The code below shows an example of how to instantiate this type.
629
+ # The values are placeholders you should change.
630
+ from aws_cdk import aws_codeartifact as codeartifact
631
+
632
+ origin_configuration_property = codeartifact.CfnPackageGroup.OriginConfigurationProperty(
633
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
634
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
635
+ restriction_mode="restrictionMode",
636
+
637
+ # the properties below are optional
638
+ repositories=["repositories"]
639
+ ),
640
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
641
+ restriction_mode="restrictionMode",
642
+
643
+ # the properties below are optional
644
+ repositories=["repositories"]
645
+ ),
646
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
647
+ restriction_mode="restrictionMode",
648
+
649
+ # the properties below are optional
650
+ repositories=["repositories"]
651
+ )
652
+ )
653
+ )
654
+ '''
655
+ if __debug__:
656
+ type_hints = typing.get_type_hints(_typecheckingstub__46aa889310dd45252527135dfe1c0e1137811a871c8d0978ef0c8c7dcf8636fa)
657
+ check_type(argname="argument restrictions", value=restrictions, expected_type=type_hints["restrictions"])
658
+ self._values: typing.Dict[builtins.str, typing.Any] = {
659
+ "restrictions": restrictions,
660
+ }
661
+
662
+ @builtins.property
663
+ def restrictions(
664
+ self,
665
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionsProperty"]:
666
+ '''The origin configuration settings that determine how package versions can enter repositories.
667
+
668
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html#cfn-codeartifact-packagegroup-originconfiguration-restrictions
669
+ '''
670
+ result = self._values.get("restrictions")
671
+ assert result is not None, "Required property 'restrictions' is missing"
672
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionsProperty"], result)
673
+
674
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
675
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
676
+
677
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
678
+ return not (rhs == self)
679
+
680
+ def __repr__(self) -> str:
681
+ return "OriginConfigurationProperty(%s)" % ", ".join(
682
+ k + "=" + repr(v) for k, v in self._values.items()
683
+ )
684
+
685
+ @jsii.data_type(
686
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionTypeProperty",
687
+ jsii_struct_bases=[],
688
+ name_mapping={
689
+ "restriction_mode": "restrictionMode",
690
+ "repositories": "repositories",
691
+ },
692
+ )
693
+ class RestrictionTypeProperty:
694
+ def __init__(
695
+ self,
696
+ *,
697
+ restriction_mode: builtins.str,
698
+ repositories: typing.Optional[typing.Sequence[builtins.str]] = None,
699
+ ) -> None:
700
+ '''The ``RestrictionType`` property type specifies the package group origin configuration restriction mode, and the repositories when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
701
+
702
+ :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`` .
703
+ :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`` .
704
+
705
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html
706
+ :exampleMetadata: fixture=_generated
707
+
708
+ Example::
709
+
710
+ # The code below shows an example of how to instantiate this type.
711
+ # The values are placeholders you should change.
712
+ from aws_cdk import aws_codeartifact as codeartifact
713
+
714
+ restriction_type_property = codeartifact.CfnPackageGroup.RestrictionTypeProperty(
715
+ restriction_mode="restrictionMode",
716
+
717
+ # the properties below are optional
718
+ repositories=["repositories"]
719
+ )
720
+ '''
721
+ if __debug__:
722
+ type_hints = typing.get_type_hints(_typecheckingstub__b33f9d054f35f5ec68410c8313f2ffd1872a95e319e44f40a0c6992c3455211a)
723
+ check_type(argname="argument restriction_mode", value=restriction_mode, expected_type=type_hints["restriction_mode"])
724
+ check_type(argname="argument repositories", value=repositories, expected_type=type_hints["repositories"])
725
+ self._values: typing.Dict[builtins.str, typing.Any] = {
726
+ "restriction_mode": restriction_mode,
727
+ }
728
+ if repositories is not None:
729
+ self._values["repositories"] = repositories
730
+
731
+ @builtins.property
732
+ def restriction_mode(self) -> builtins.str:
733
+ '''The package group origin restriction setting.
734
+
735
+ 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`` .
736
+
737
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-restrictionmode
738
+ '''
739
+ result = self._values.get("restriction_mode")
740
+ assert result is not None, "Required property 'restriction_mode' is missing"
741
+ return typing.cast(builtins.str, result)
742
+
743
+ @builtins.property
744
+ def repositories(self) -> typing.Optional[typing.List[builtins.str]]:
745
+ '''The repositories to add to the allowed repositories list.
746
+
747
+ The allowed repositories list is used when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
748
+
749
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-repositories
750
+ '''
751
+ result = self._values.get("repositories")
752
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
753
+
754
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
755
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
756
+
757
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
758
+ return not (rhs == self)
759
+
760
+ def __repr__(self) -> str:
761
+ return "RestrictionTypeProperty(%s)" % ", ".join(
762
+ k + "=" + repr(v) for k, v in self._values.items()
763
+ )
764
+
765
+ @jsii.data_type(
766
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionsProperty",
767
+ jsii_struct_bases=[],
768
+ name_mapping={
769
+ "external_upstream": "externalUpstream",
770
+ "internal_upstream": "internalUpstream",
771
+ "publish": "publish",
772
+ },
773
+ )
774
+ class RestrictionsProperty:
775
+ def __init__(
776
+ self,
777
+ *,
778
+ external_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
779
+ internal_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
780
+ publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
781
+ ) -> None:
782
+ '''Contains information about the configured restrictions of the origin controls of a package group.
783
+
784
+ :param external_upstream: The package group origin restriction setting for external, upstream repositories.
785
+ :param internal_upstream: The package group origin restriction setting for internal, upstream repositories.
786
+ :param publish: The package group origin restriction setting for publishing packages.
787
+
788
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html
789
+ :exampleMetadata: fixture=_generated
790
+
791
+ Example::
792
+
793
+ # The code below shows an example of how to instantiate this type.
794
+ # The values are placeholders you should change.
795
+ from aws_cdk import aws_codeartifact as codeartifact
796
+
797
+ restrictions_property = codeartifact.CfnPackageGroup.RestrictionsProperty(
798
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
799
+ restriction_mode="restrictionMode",
800
+
801
+ # the properties below are optional
802
+ repositories=["repositories"]
803
+ ),
804
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
805
+ restriction_mode="restrictionMode",
806
+
807
+ # the properties below are optional
808
+ repositories=["repositories"]
809
+ ),
810
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
811
+ restriction_mode="restrictionMode",
812
+
813
+ # the properties below are optional
814
+ repositories=["repositories"]
815
+ )
816
+ )
817
+ '''
818
+ if __debug__:
819
+ type_hints = typing.get_type_hints(_typecheckingstub__c52406159408ff95f368a7de422beb3ef5a838a22e051fd0602f67aab0b1299d)
820
+ check_type(argname="argument external_upstream", value=external_upstream, expected_type=type_hints["external_upstream"])
821
+ check_type(argname="argument internal_upstream", value=internal_upstream, expected_type=type_hints["internal_upstream"])
822
+ check_type(argname="argument publish", value=publish, expected_type=type_hints["publish"])
823
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
824
+ if external_upstream is not None:
825
+ self._values["external_upstream"] = external_upstream
826
+ if internal_upstream is not None:
827
+ self._values["internal_upstream"] = internal_upstream
828
+ if publish is not None:
829
+ self._values["publish"] = publish
830
+
831
+ @builtins.property
832
+ def external_upstream(
833
+ self,
834
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
835
+ '''The package group origin restriction setting for external, upstream repositories.
836
+
837
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-externalupstream
838
+ '''
839
+ result = self._values.get("external_upstream")
840
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
841
+
842
+ @builtins.property
843
+ def internal_upstream(
844
+ self,
845
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
846
+ '''The package group origin restriction setting for internal, upstream repositories.
847
+
848
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-internalupstream
849
+ '''
850
+ result = self._values.get("internal_upstream")
851
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
852
+
853
+ @builtins.property
854
+ def publish(
855
+ self,
856
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
857
+ '''The package group origin restriction setting for publishing packages.
858
+
859
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-publish
860
+ '''
861
+ result = self._values.get("publish")
862
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]], result)
863
+
864
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
865
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
866
+
867
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
868
+ return not (rhs == self)
869
+
870
+ def __repr__(self) -> str:
871
+ return "RestrictionsProperty(%s)" % ", ".join(
872
+ k + "=" + repr(v) for k, v in self._values.items()
873
+ )
874
+
875
+
876
+ @jsii.data_type(
877
+ jsii_type="aws-cdk-lib.aws_codeartifact.CfnPackageGroupProps",
878
+ jsii_struct_bases=[],
879
+ name_mapping={
880
+ "domain_name": "domainName",
881
+ "pattern": "pattern",
882
+ "contact_info": "contactInfo",
883
+ "description": "description",
884
+ "domain_owner": "domainOwner",
885
+ "origin_configuration": "originConfiguration",
886
+ "tags": "tags",
887
+ },
888
+ )
889
+ class CfnPackageGroupProps:
890
+ def __init__(
891
+ self,
892
+ *,
893
+ domain_name: builtins.str,
894
+ pattern: builtins.str,
895
+ contact_info: typing.Optional[builtins.str] = None,
896
+ description: typing.Optional[builtins.str] = None,
897
+ domain_owner: typing.Optional[builtins.str] = None,
898
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
899
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
900
+ ) -> None:
901
+ '''Properties for defining a ``CfnPackageGroup``.
902
+
903
+ :param domain_name: The domain that contains the package group.
904
+ :param pattern: The pattern of the package group. The pattern determines which packages are associated with the package group.
905
+ :param contact_info: The contact information of the package group.
906
+ :param description: The description of the package group.
907
+ :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
908
+ :param origin_configuration: Details about the package origin configuration of a package group.
909
+ :param tags: A list of tags to be applied to the package group.
910
+
911
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html
912
+ :exampleMetadata: fixture=_generated
913
+
914
+ Example::
915
+
916
+ # The code below shows an example of how to instantiate this type.
917
+ # The values are placeholders you should change.
918
+ from aws_cdk import aws_codeartifact as codeartifact
919
+
920
+ cfn_package_group_props = codeartifact.CfnPackageGroupProps(
921
+ domain_name="domainName",
922
+ pattern="pattern",
923
+
924
+ # the properties below are optional
925
+ contact_info="contactInfo",
926
+ description="description",
927
+ domain_owner="domainOwner",
928
+ origin_configuration=codeartifact.CfnPackageGroup.OriginConfigurationProperty(
929
+ restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
930
+ external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
931
+ restriction_mode="restrictionMode",
932
+
933
+ # the properties below are optional
934
+ repositories=["repositories"]
935
+ ),
936
+ internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
937
+ restriction_mode="restrictionMode",
938
+
939
+ # the properties below are optional
940
+ repositories=["repositories"]
941
+ ),
942
+ publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
943
+ restriction_mode="restrictionMode",
944
+
945
+ # the properties below are optional
946
+ repositories=["repositories"]
947
+ )
948
+ )
949
+ ),
950
+ tags=[CfnTag(
951
+ key="key",
952
+ value="value"
953
+ )]
954
+ )
955
+ '''
956
+ if __debug__:
957
+ type_hints = typing.get_type_hints(_typecheckingstub__25201ca742777c6bda1acf009c5a015a6a51866eef1a9bc32a2ebf1a5352ecf3)
958
+ check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
959
+ check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
960
+ check_type(argname="argument contact_info", value=contact_info, expected_type=type_hints["contact_info"])
961
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
962
+ check_type(argname="argument domain_owner", value=domain_owner, expected_type=type_hints["domain_owner"])
963
+ check_type(argname="argument origin_configuration", value=origin_configuration, expected_type=type_hints["origin_configuration"])
964
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
965
+ self._values: typing.Dict[builtins.str, typing.Any] = {
966
+ "domain_name": domain_name,
967
+ "pattern": pattern,
968
+ }
969
+ if contact_info is not None:
970
+ self._values["contact_info"] = contact_info
971
+ if description is not None:
972
+ self._values["description"] = description
973
+ if domain_owner is not None:
974
+ self._values["domain_owner"] = domain_owner
975
+ if origin_configuration is not None:
976
+ self._values["origin_configuration"] = origin_configuration
977
+ if tags is not None:
978
+ self._values["tags"] = tags
979
+
980
+ @builtins.property
981
+ def domain_name(self) -> builtins.str:
982
+ '''The domain that contains the package group.
983
+
984
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-domainname
985
+ '''
986
+ result = self._values.get("domain_name")
987
+ assert result is not None, "Required property 'domain_name' is missing"
988
+ return typing.cast(builtins.str, result)
989
+
990
+ @builtins.property
991
+ def pattern(self) -> builtins.str:
992
+ '''The pattern of the package group.
993
+
994
+ The pattern determines which packages are associated with the package group.
995
+
996
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-pattern
997
+ '''
998
+ result = self._values.get("pattern")
999
+ assert result is not None, "Required property 'pattern' is missing"
1000
+ return typing.cast(builtins.str, result)
1001
+
1002
+ @builtins.property
1003
+ def contact_info(self) -> typing.Optional[builtins.str]:
1004
+ '''The contact information of the package group.
1005
+
1006
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-contactinfo
1007
+ '''
1008
+ result = self._values.get("contact_info")
1009
+ return typing.cast(typing.Optional[builtins.str], result)
1010
+
1011
+ @builtins.property
1012
+ def description(self) -> typing.Optional[builtins.str]:
1013
+ '''The description of the package group.
1014
+
1015
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-description
1016
+ '''
1017
+ result = self._values.get("description")
1018
+ return typing.cast(typing.Optional[builtins.str], result)
1019
+
1020
+ @builtins.property
1021
+ def domain_owner(self) -> typing.Optional[builtins.str]:
1022
+ '''The 12-digit account number of the AWS account that owns the domain.
1023
+
1024
+ It does not include dashes or spaces.
1025
+
1026
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-domainowner
1027
+ '''
1028
+ result = self._values.get("domain_owner")
1029
+ return typing.cast(typing.Optional[builtins.str], result)
1030
+
1031
+ @builtins.property
1032
+ def origin_configuration(
1033
+ self,
1034
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]]:
1035
+ '''Details about the package origin configuration of a package group.
1036
+
1037
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-originconfiguration
1038
+ '''
1039
+ result = self._values.get("origin_configuration")
1040
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]], result)
1041
+
1042
+ @builtins.property
1043
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1044
+ '''A list of tags to be applied to the package group.
1045
+
1046
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-tags
1047
+ '''
1048
+ result = self._values.get("tags")
1049
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1050
+
1051
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1052
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1053
+
1054
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1055
+ return not (rhs == self)
1056
+
1057
+ def __repr__(self) -> str:
1058
+ return "CfnPackageGroupProps(%s)" % ", ".join(
1059
+ k + "=" + repr(v) for k, v in self._values.items()
1060
+ )
1061
+
1062
+
363
1063
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
364
1064
  class CfnRepository(
365
1065
  _CfnResource_9df397a6,
@@ -420,7 +1120,7 @@ class CfnRepository(
420
1120
  :param repository_name: The name of an upstream repository.
421
1121
  :param description: A text description of the repository.
422
1122
  :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.
1123
+ :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
1124
  :param permissions_policy_document: The document that defines the resource policy that is set on a repository.
425
1125
  :param tags: A list of tags to be applied to the repository.
426
1126
  :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 +1360,7 @@ class CfnRepositoryProps:
660
1360
  :param repository_name: The name of an upstream repository.
661
1361
  :param description: A text description of the repository.
662
1362
  :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.
1363
+ :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
1364
  :param permissions_policy_document: The document that defines the resource policy that is set on a repository.
665
1365
  :param tags: A list of tags to be applied to the repository.
666
1366
  :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 +1461,8 @@ class CfnRepositoryProps:
761
1461
  def external_connections(self) -> typing.Optional[typing.List[builtins.str]]:
762
1462
  '''An array of external connections associated with the repository.
763
1463
 
1464
+ 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* .
1465
+
764
1466
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-externalconnections
765
1467
  '''
766
1468
  result = self._values.get("external_connections")
@@ -810,6 +1512,8 @@ class CfnRepositoryProps:
810
1512
  __all__ = [
811
1513
  "CfnDomain",
812
1514
  "CfnDomainProps",
1515
+ "CfnPackageGroup",
1516
+ "CfnPackageGroupProps",
813
1517
  "CfnRepository",
814
1518
  "CfnRepositoryProps",
815
1519
  ]
@@ -874,6 +1578,112 @@ def _typecheckingstub__ed4a67a72fcc7050f3a4ea650fb97fc3375ca5e90727251a483297144
874
1578
  """Type checking stubs"""
875
1579
  pass
876
1580
 
1581
+ def _typecheckingstub__7a8aaa0852b2af2f8381bac18421469d96d102aa57d00f002433c862966b5603(
1582
+ scope: _constructs_77d1e7e8.Construct,
1583
+ id: builtins.str,
1584
+ *,
1585
+ domain_name: builtins.str,
1586
+ pattern: builtins.str,
1587
+ contact_info: typing.Optional[builtins.str] = None,
1588
+ description: typing.Optional[builtins.str] = None,
1589
+ domain_owner: typing.Optional[builtins.str] = None,
1590
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1591
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1592
+ ) -> None:
1593
+ """Type checking stubs"""
1594
+ pass
1595
+
1596
+ def _typecheckingstub__7ce81570371704a4089ff9d234920c939ca57e8078fae0ed77580614455f254b(
1597
+ inspector: _TreeInspector_488e0dd5,
1598
+ ) -> None:
1599
+ """Type checking stubs"""
1600
+ pass
1601
+
1602
+ def _typecheckingstub__73902d03882d362546bad830a7e307a86e67195728c52e0a2837b7a05804b314(
1603
+ props: typing.Mapping[builtins.str, typing.Any],
1604
+ ) -> None:
1605
+ """Type checking stubs"""
1606
+ pass
1607
+
1608
+ def _typecheckingstub__fa73b50d995f7005fa2ec82631d018ef1849c9ffebef0125fbb6a4ee774b2163(
1609
+ value: builtins.str,
1610
+ ) -> None:
1611
+ """Type checking stubs"""
1612
+ pass
1613
+
1614
+ def _typecheckingstub__f2718281da222f54ccce3c7a3bf6ded0f2b7a3bdcd9d30fbeea35abc3e153fd1(
1615
+ value: builtins.str,
1616
+ ) -> None:
1617
+ """Type checking stubs"""
1618
+ pass
1619
+
1620
+ def _typecheckingstub__26fdce972c6efcbdd12712f2d1406046a1aaf63a8d0f3da99813e261e4029f97(
1621
+ value: typing.Optional[builtins.str],
1622
+ ) -> None:
1623
+ """Type checking stubs"""
1624
+ pass
1625
+
1626
+ def _typecheckingstub__3b9671c9b67b0351b5842cb8cda895b5db7d8202b0617a306719b29c79b2309d(
1627
+ value: typing.Optional[builtins.str],
1628
+ ) -> None:
1629
+ """Type checking stubs"""
1630
+ pass
1631
+
1632
+ def _typecheckingstub__15d889231b62e097fa73baf944ef89bab375256fa4ae0bdb93c27049076c51c7(
1633
+ value: typing.Optional[builtins.str],
1634
+ ) -> None:
1635
+ """Type checking stubs"""
1636
+ pass
1637
+
1638
+ def _typecheckingstub__63bcaafc797c7b557351ce8e1bfa571001310be1e41896261bec63105e81cae6(
1639
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPackageGroup.OriginConfigurationProperty]],
1640
+ ) -> None:
1641
+ """Type checking stubs"""
1642
+ pass
1643
+
1644
+ def _typecheckingstub__e756db6ce537f9d80da313912b16eef0c2a610ee05772d30b4df98a4ddebee96(
1645
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1646
+ ) -> None:
1647
+ """Type checking stubs"""
1648
+ pass
1649
+
1650
+ def _typecheckingstub__46aa889310dd45252527135dfe1c0e1137811a871c8d0978ef0c8c7dcf8636fa(
1651
+ *,
1652
+ restrictions: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionsProperty, typing.Dict[builtins.str, typing.Any]]],
1653
+ ) -> None:
1654
+ """Type checking stubs"""
1655
+ pass
1656
+
1657
+ def _typecheckingstub__b33f9d054f35f5ec68410c8313f2ffd1872a95e319e44f40a0c6992c3455211a(
1658
+ *,
1659
+ restriction_mode: builtins.str,
1660
+ repositories: typing.Optional[typing.Sequence[builtins.str]] = None,
1661
+ ) -> None:
1662
+ """Type checking stubs"""
1663
+ pass
1664
+
1665
+ def _typecheckingstub__c52406159408ff95f368a7de422beb3ef5a838a22e051fd0602f67aab0b1299d(
1666
+ *,
1667
+ external_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1668
+ internal_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1669
+ publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.RestrictionTypeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1670
+ ) -> None:
1671
+ """Type checking stubs"""
1672
+ pass
1673
+
1674
+ def _typecheckingstub__25201ca742777c6bda1acf009c5a015a6a51866eef1a9bc32a2ebf1a5352ecf3(
1675
+ *,
1676
+ domain_name: builtins.str,
1677
+ pattern: builtins.str,
1678
+ contact_info: typing.Optional[builtins.str] = None,
1679
+ description: typing.Optional[builtins.str] = None,
1680
+ domain_owner: typing.Optional[builtins.str] = None,
1681
+ origin_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPackageGroup.OriginConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1682
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1683
+ ) -> None:
1684
+ """Type checking stubs"""
1685
+ pass
1686
+
877
1687
  def _typecheckingstub__f4fb8e90c9d866f1bfe7bd9bf2e46e1f97b3f66247b8086423fecb6029b669e4(
878
1688
  scope: _constructs_77d1e7e8.Construct,
879
1689
  id: builtins.str,