appmod-catalog-blueprints 1.4.1__tar.gz → 1.5.0__tar.gz

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 (17) hide show
  1. {appmod_catalog_blueprints-1.4.1/src/appmod_catalog_blueprints.egg-info → appmod_catalog_blueprints-1.5.0}/PKG-INFO +1 -1
  2. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/setup.py +2 -2
  3. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints/__init__.py +84 -2
  4. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints/_jsii/__init__.py +2 -2
  5. appmod_catalog_blueprints-1.5.0/src/appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.5.0.jsii.tgz +0 -0
  6. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0/src/appmod_catalog_blueprints.egg-info}/PKG-INFO +1 -1
  7. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints.egg-info/SOURCES.txt +1 -1
  8. appmod_catalog_blueprints-1.4.1/src/appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.4.1.jsii.tgz +0 -0
  9. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/LICENSE +0 -0
  10. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/MANIFEST.in +0 -0
  11. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/README.md +0 -0
  12. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/pyproject.toml +0 -0
  13. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/setup.cfg +0 -0
  14. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints/py.typed +0 -0
  15. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints.egg-info/dependency_links.txt +0 -0
  16. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints.egg-info/requires.txt +0 -0
  17. {appmod_catalog_blueprints-1.4.1 → appmod_catalog_blueprints-1.5.0}/src/appmod_catalog_blueprints.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: appmod-catalog-blueprints
3
- Version: 1.4.1
3
+ Version: 1.5.0
4
4
  Summary: Serverless infrastructure components organized by business use cases
5
5
  Home-page: https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git
6
6
  Author: Amazon Web Services<aws-cdk-dev@amazon.com>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "appmod-catalog-blueprints",
8
- "version": "1.4.1",
8
+ "version": "1.5.0",
9
9
  "description": "Serverless infrastructure components organized by business use cases",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "appmod_catalog_blueprints._jsii": [
29
- "cdk-appmod-catalog-blueprints@1.4.1.jsii.tgz"
29
+ "cdk-appmod-catalog-blueprints@1.5.0.jsii.tgz"
30
30
  ],
31
31
  "appmod_catalog_blueprints": [
32
32
  "py.typed"
@@ -3500,6 +3500,7 @@ class Network(
3500
3500
  scope: _constructs_77d1e7e8.Construct,
3501
3501
  id: builtins.str,
3502
3502
  *,
3503
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
3503
3504
  ip_addresses: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses] = None,
3504
3505
  max_azs: typing.Optional[jsii.Number] = None,
3505
3506
  nat_gateway_provider: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.NatProvider] = None,
@@ -3512,6 +3513,7 @@ class Network(
3512
3513
  '''
3513
3514
  :param scope: -
3514
3515
  :param id: -
3516
+ :param existing_vpc:
3515
3517
  :param ip_addresses:
3516
3518
  :param max_azs:
3517
3519
  :param nat_gateway_provider:
@@ -3528,6 +3530,7 @@ class Network(
3528
3530
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3529
3531
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3530
3532
  props = NetworkProps(
3533
+ existing_vpc=existing_vpc,
3531
3534
  ip_addresses=ip_addresses,
3532
3535
  max_azs=max_azs,
3533
3536
  nat_gateway_provider=nat_gateway_provider,
@@ -3540,6 +3543,53 @@ class Network(
3540
3543
 
3541
3544
  jsii.create(self.__class__, self, [scope, id, props])
3542
3545
 
3546
+ @jsii.member(jsii_name="useExistingVPCFromLookup")
3547
+ @builtins.classmethod
3548
+ def use_existing_vpc_from_lookup(
3549
+ cls,
3550
+ scope: _constructs_77d1e7e8.Construct,
3551
+ id: builtins.str,
3552
+ *,
3553
+ is_default: typing.Optional[builtins.bool] = None,
3554
+ owner_account_id: typing.Optional[builtins.str] = None,
3555
+ region: typing.Optional[builtins.str] = None,
3556
+ return_vpn_gateways: typing.Optional[builtins.bool] = None,
3557
+ subnet_group_name_tag: typing.Optional[builtins.str] = None,
3558
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3559
+ vpc_id: typing.Optional[builtins.str] = None,
3560
+ vpc_name: typing.Optional[builtins.str] = None,
3561
+ ) -> "Network":
3562
+ '''
3563
+ :param scope: -
3564
+ :param id: -
3565
+ :param is_default: Whether to match the default VPC. Default: Don't care whether we return the default VPC
3566
+ :param owner_account_id: The ID of the AWS account that owns the VPC. Default: the account id of the parent stack
3567
+ :param region: Optional to override inferred region. Default: Current stack's environment region
3568
+ :param return_vpn_gateways: Whether to look up whether a VPN Gateway is attached to the looked up VPC. You can set this to ``false`` if you know the VPC does not have a VPN Gateway attached, in order to avoid an API call. If you change this property from ``false`` to ``true`` or undefined, you may need to clear the corresponding context entry in ``cdk.context.json`` in order to trigger a new lookup. Default: true
3569
+ :param subnet_group_name_tag: Optional tag for subnet group name. If not provided, we'll look at the aws-cdk:subnet-name tag. If the subnet does not have the specified tag, we'll use its type as the name. Default: aws-cdk:subnet-name
3570
+ :param tags: Tags on the VPC. The VPC must have all of these tags Default: Don't filter on tags
3571
+ :param vpc_id: The ID of the VPC. If given, will import exactly this VPC. Default: Don't filter on vpcId
3572
+ :param vpc_name: The name of the VPC. If given, will import the VPC with this name. Default: Don't filter on vpcName
3573
+
3574
+ :stability: experimental
3575
+ '''
3576
+ if __debug__:
3577
+ type_hints = typing.get_type_hints(_typecheckingstub__8ef7c59482181ed4f28e171f52faec6a945cf35a038a8cc79fda7c3b5e028c5e)
3578
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3579
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3580
+ options = _aws_cdk_aws_ec2_ceddda9d.VpcLookupOptions(
3581
+ is_default=is_default,
3582
+ owner_account_id=owner_account_id,
3583
+ region=region,
3584
+ return_vpn_gateways=return_vpn_gateways,
3585
+ subnet_group_name_tag=subnet_group_name_tag,
3586
+ tags=tags,
3587
+ vpc_id=vpc_id,
3588
+ vpc_name=vpc_name,
3589
+ )
3590
+
3591
+ return typing.cast("Network", jsii.sinvoke(cls, "useExistingVPCFromLookup", [scope, id, options]))
3592
+
3543
3593
  @jsii.member(jsii_name="applicationSubnetSelection")
3544
3594
  def application_subnet_selection(self) -> _aws_cdk_aws_ec2_ceddda9d.SubnetSelection:
3545
3595
  '''
@@ -3570,17 +3620,18 @@ class Network(
3570
3620
 
3571
3621
  @builtins.property
3572
3622
  @jsii.member(jsii_name="vpc")
3573
- def vpc(self) -> _aws_cdk_aws_ec2_ceddda9d.Vpc:
3623
+ def vpc(self) -> _aws_cdk_aws_ec2_ceddda9d.IVpc:
3574
3624
  '''
3575
3625
  :stability: experimental
3576
3626
  '''
3577
- return typing.cast(_aws_cdk_aws_ec2_ceddda9d.Vpc, jsii.get(self, "vpc"))
3627
+ return typing.cast(_aws_cdk_aws_ec2_ceddda9d.IVpc, jsii.get(self, "vpc"))
3578
3628
 
3579
3629
 
3580
3630
  @jsii.data_type(
3581
3631
  jsii_type="@cdklabs/cdk-appmod-catalog-blueprints.NetworkProps",
3582
3632
  jsii_struct_bases=[],
3583
3633
  name_mapping={
3634
+ "existing_vpc": "existingVpc",
3584
3635
  "ip_addresses": "ipAddresses",
3585
3636
  "max_azs": "maxAzs",
3586
3637
  "nat_gateway_provider": "natGatewayProvider",
@@ -3595,6 +3646,7 @@ class NetworkProps:
3595
3646
  def __init__(
3596
3647
  self,
3597
3648
  *,
3649
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
3598
3650
  ip_addresses: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses] = None,
3599
3651
  max_azs: typing.Optional[jsii.Number] = None,
3600
3652
  nat_gateway_provider: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.NatProvider] = None,
@@ -3605,6 +3657,7 @@ class NetworkProps:
3605
3657
  vpc_name: typing.Optional[builtins.str] = None,
3606
3658
  ) -> None:
3607
3659
  '''
3660
+ :param existing_vpc:
3608
3661
  :param ip_addresses:
3609
3662
  :param max_azs:
3610
3663
  :param nat_gateway_provider:
@@ -3620,6 +3673,7 @@ class NetworkProps:
3620
3673
  nat_gateway_subnets = _aws_cdk_aws_ec2_ceddda9d.SubnetSelection(**nat_gateway_subnets)
3621
3674
  if __debug__:
3622
3675
  type_hints = typing.get_type_hints(_typecheckingstub__0c7413b984143840b4fc2e4fe5dd9854fed611c52a71931a04773289b6f1fdde)
3676
+ check_type(argname="argument existing_vpc", value=existing_vpc, expected_type=type_hints["existing_vpc"])
3623
3677
  check_type(argname="argument ip_addresses", value=ip_addresses, expected_type=type_hints["ip_addresses"])
3624
3678
  check_type(argname="argument max_azs", value=max_azs, expected_type=type_hints["max_azs"])
3625
3679
  check_type(argname="argument nat_gateway_provider", value=nat_gateway_provider, expected_type=type_hints["nat_gateway_provider"])
@@ -3629,6 +3683,8 @@ class NetworkProps:
3629
3683
  check_type(argname="argument subnet_configuration", value=subnet_configuration, expected_type=type_hints["subnet_configuration"])
3630
3684
  check_type(argname="argument vpc_name", value=vpc_name, expected_type=type_hints["vpc_name"])
3631
3685
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3686
+ if existing_vpc is not None:
3687
+ self._values["existing_vpc"] = existing_vpc
3632
3688
  if ip_addresses is not None:
3633
3689
  self._values["ip_addresses"] = ip_addresses
3634
3690
  if max_azs is not None:
@@ -3646,6 +3702,14 @@ class NetworkProps:
3646
3702
  if vpc_name is not None:
3647
3703
  self._values["vpc_name"] = vpc_name
3648
3704
 
3705
+ @builtins.property
3706
+ def existing_vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
3707
+ '''
3708
+ :stability: experimental
3709
+ '''
3710
+ result = self._values.get("existing_vpc")
3711
+ return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
3712
+
3649
3713
  @builtins.property
3650
3714
  def ip_addresses(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses]:
3651
3715
  '''
@@ -6758,6 +6822,7 @@ def _typecheckingstub__6ad9a3df68ffea56f493c494b7c642fca53d11a7de99864bb5e94dffe
6758
6822
  scope: _constructs_77d1e7e8.Construct,
6759
6823
  id: builtins.str,
6760
6824
  *,
6825
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
6761
6826
  ip_addresses: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses] = None,
6762
6827
  max_azs: typing.Optional[jsii.Number] = None,
6763
6828
  nat_gateway_provider: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.NatProvider] = None,
@@ -6770,6 +6835,22 @@ def _typecheckingstub__6ad9a3df68ffea56f493c494b7c642fca53d11a7de99864bb5e94dffe
6770
6835
  """Type checking stubs"""
6771
6836
  pass
6772
6837
 
6838
+ def _typecheckingstub__8ef7c59482181ed4f28e171f52faec6a945cf35a038a8cc79fda7c3b5e028c5e(
6839
+ scope: _constructs_77d1e7e8.Construct,
6840
+ id: builtins.str,
6841
+ *,
6842
+ is_default: typing.Optional[builtins.bool] = None,
6843
+ owner_account_id: typing.Optional[builtins.str] = None,
6844
+ region: typing.Optional[builtins.str] = None,
6845
+ return_vpn_gateways: typing.Optional[builtins.bool] = None,
6846
+ subnet_group_name_tag: typing.Optional[builtins.str] = None,
6847
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6848
+ vpc_id: typing.Optional[builtins.str] = None,
6849
+ vpc_name: typing.Optional[builtins.str] = None,
6850
+ ) -> None:
6851
+ """Type checking stubs"""
6852
+ pass
6853
+
6773
6854
  def _typecheckingstub__014347d1e11f93271eb3a6b34bc02d137814401023f915adcd8e379b691810e9(
6774
6855
  id: builtins.str,
6775
6856
  service: _aws_cdk_aws_ec2_ceddda9d.InterfaceVpcEndpointService,
@@ -6780,6 +6861,7 @@ def _typecheckingstub__014347d1e11f93271eb3a6b34bc02d137814401023f915adcd8e379b6
6780
6861
 
6781
6862
  def _typecheckingstub__0c7413b984143840b4fc2e4fe5dd9854fed611c52a71931a04773289b6f1fdde(
6782
6863
  *,
6864
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
6783
6865
  ip_addresses: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses] = None,
6784
6866
  max_azs: typing.Optional[jsii.Number] = None,
6785
6867
  nat_gateway_provider: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.NatProvider] = None,
@@ -34,9 +34,9 @@ import constructs._jsii
34
34
 
35
35
  __jsii_assembly__ = jsii.JSIIAssembly.load(
36
36
  "@cdklabs/cdk-appmod-catalog-blueprints",
37
- "1.4.1",
37
+ "1.5.0",
38
38
  __name__[0:-6],
39
- "cdk-appmod-catalog-blueprints@1.4.1.jsii.tgz",
39
+ "cdk-appmod-catalog-blueprints@1.5.0.jsii.tgz",
40
40
  )
41
41
 
42
42
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: appmod-catalog-blueprints
3
- Version: 1.4.1
3
+ Version: 1.5.0
4
4
  Summary: Serverless infrastructure components organized by business use cases
5
5
  Home-page: https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git
6
6
  Author: Amazon Web Services<aws-cdk-dev@amazon.com>
@@ -11,4 +11,4 @@ src/appmod_catalog_blueprints.egg-info/dependency_links.txt
11
11
  src/appmod_catalog_blueprints.egg-info/requires.txt
12
12
  src/appmod_catalog_blueprints.egg-info/top_level.txt
13
13
  src/appmod_catalog_blueprints/_jsii/__init__.py
14
- src/appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.4.1.jsii.tgz
14
+ src/appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.5.0.jsii.tgz