must-cdk 0.0.10__tar.gz → 0.0.12__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: must-cdk
3
- Version: 0.0.10
3
+ Version: 0.0.12
4
4
  Summary: must-cdk
5
5
  Home-page: https://github.com/globalmsq/must-cdk.git
6
6
  Author: Must Admin<admin-mufin@users.noreply.github.com>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "must-cdk",
8
- "version": "0.0.10",
8
+ "version": "0.0.12",
9
9
  "description": "must-cdk",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/globalmsq/must-cdk.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "must_cdk._jsii": [
29
- "must-cdk@0.0.10.jsii.tgz"
29
+ "must-cdk@0.0.12.jsii.tgz"
30
30
  ],
31
31
  "must_cdk": [
32
32
  "py.typed"
@@ -475,7 +475,9 @@ class EcsCodeDeploy(
475
475
  cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
476
476
  containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
477
477
  environment: builtins.str,
478
+ security_groups: typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup],
478
479
  service_name: builtins.str,
480
+ subnets: typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]],
479
481
  task_exec_role: _aws_cdk_aws_iam_ceddda9d.IRole,
480
482
  task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
481
483
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
@@ -491,7 +493,9 @@ class EcsCodeDeploy(
491
493
  :param cluster: ECS Cluster where the service will run.
492
494
  :param containers: Configuration related to the task definition and container.
493
495
  :param environment: Environment name (e.g., dev, prod) for tagging and naming.
496
+ :param security_groups:
494
497
  :param service_name: Base name used for resources like log groups, roles, services, etc.
498
+ :param subnets:
495
499
  :param task_exec_role: Task execution role for the ECS task.
496
500
  :param task_role: Task role for the ECS task.
497
501
  :param vpc: VPC in which to deploy ECS and ALB resources.
@@ -509,7 +513,9 @@ class EcsCodeDeploy(
509
513
  cluster=cluster,
510
514
  containers=containers,
511
515
  environment=environment,
516
+ security_groups=security_groups,
512
517
  service_name=service_name,
518
+ subnets=subnets,
513
519
  task_exec_role=task_exec_role,
514
520
  task_role=task_role,
515
521
  vpc=vpc,
@@ -547,7 +553,9 @@ class EcsCodeDeploy(
547
553
  "cluster": "cluster",
548
554
  "containers": "containers",
549
555
  "environment": "environment",
556
+ "security_groups": "securityGroups",
550
557
  "service_name": "serviceName",
558
+ "subnets": "subnets",
551
559
  "task_exec_role": "taskExecRole",
552
560
  "task_role": "taskRole",
553
561
  "vpc": "vpc",
@@ -565,7 +573,9 @@ class EcsCodeDeployProps:
565
573
  cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
566
574
  containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
567
575
  environment: builtins.str,
576
+ security_groups: typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup],
568
577
  service_name: builtins.str,
578
+ subnets: typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]],
569
579
  task_exec_role: _aws_cdk_aws_iam_ceddda9d.IRole,
570
580
  task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
571
581
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
@@ -580,7 +590,9 @@ class EcsCodeDeployProps:
580
590
  :param cluster: ECS Cluster where the service will run.
581
591
  :param containers: Configuration related to the task definition and container.
582
592
  :param environment: Environment name (e.g., dev, prod) for tagging and naming.
593
+ :param security_groups:
583
594
  :param service_name: Base name used for resources like log groups, roles, services, etc.
595
+ :param subnets:
584
596
  :param task_exec_role: Task execution role for the ECS task.
585
597
  :param task_role: Task role for the ECS task.
586
598
  :param vpc: VPC in which to deploy ECS and ALB resources.
@@ -589,6 +601,8 @@ class EcsCodeDeployProps:
589
601
  :param memory_limit:
590
602
  :param task_cpu: CPU units for the task (default: 1024).
591
603
  '''
604
+ if isinstance(subnets, dict):
605
+ subnets = _aws_cdk_aws_ec2_ceddda9d.SubnetSelection(**subnets)
592
606
  if isinstance(auto_scaling, dict):
593
607
  auto_scaling = AutoScalingProps(**auto_scaling)
594
608
  if __debug__:
@@ -597,7 +611,9 @@ class EcsCodeDeployProps:
597
611
  check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
598
612
  check_type(argname="argument containers", value=containers, expected_type=type_hints["containers"])
599
613
  check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
614
+ check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
600
615
  check_type(argname="argument service_name", value=service_name, expected_type=type_hints["service_name"])
616
+ check_type(argname="argument subnets", value=subnets, expected_type=type_hints["subnets"])
601
617
  check_type(argname="argument task_exec_role", value=task_exec_role, expected_type=type_hints["task_exec_role"])
602
618
  check_type(argname="argument task_role", value=task_role, expected_type=type_hints["task_role"])
603
619
  check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
@@ -610,7 +626,9 @@ class EcsCodeDeployProps:
610
626
  "cluster": cluster,
611
627
  "containers": containers,
612
628
  "environment": environment,
629
+ "security_groups": security_groups,
613
630
  "service_name": service_name,
631
+ "subnets": subnets,
614
632
  "task_exec_role": task_exec_role,
615
633
  "task_role": task_role,
616
634
  "vpc": vpc,
@@ -654,6 +672,12 @@ class EcsCodeDeployProps:
654
672
  assert result is not None, "Required property 'environment' is missing"
655
673
  return typing.cast(builtins.str, result)
656
674
 
675
+ @builtins.property
676
+ def security_groups(self) -> typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]:
677
+ result = self._values.get("security_groups")
678
+ assert result is not None, "Required property 'security_groups' is missing"
679
+ return typing.cast(typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup], result)
680
+
657
681
  @builtins.property
658
682
  def service_name(self) -> builtins.str:
659
683
  '''Base name used for resources like log groups, roles, services, etc.'''
@@ -661,6 +685,12 @@ class EcsCodeDeployProps:
661
685
  assert result is not None, "Required property 'service_name' is missing"
662
686
  return typing.cast(builtins.str, result)
663
687
 
688
+ @builtins.property
689
+ def subnets(self) -> _aws_cdk_aws_ec2_ceddda9d.SubnetSelection:
690
+ result = self._values.get("subnets")
691
+ assert result is not None, "Required property 'subnets' is missing"
692
+ return typing.cast(_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, result)
693
+
664
694
  @builtins.property
665
695
  def task_exec_role(self) -> _aws_cdk_aws_iam_ceddda9d.IRole:
666
696
  '''Task execution role for the ECS task.'''
@@ -1012,7 +1042,9 @@ def _typecheckingstub__19ac4f77d3bba1391929b87d2d23b70fe61e21aa6809f43ed4283d6ec
1012
1042
  cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
1013
1043
  containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
1014
1044
  environment: builtins.str,
1045
+ security_groups: typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup],
1015
1046
  service_name: builtins.str,
1047
+ subnets: typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]],
1016
1048
  task_exec_role: _aws_cdk_aws_iam_ceddda9d.IRole,
1017
1049
  task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
1018
1050
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
@@ -1030,7 +1062,9 @@ def _typecheckingstub__0e1edfc306738ea99e0bd03a55876d7f75a063970dd3103fc1bbb766d
1030
1062
  cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
1031
1063
  containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
1032
1064
  environment: builtins.str,
1065
+ security_groups: typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup],
1033
1066
  service_name: builtins.str,
1067
+ subnets: typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]],
1034
1068
  task_exec_role: _aws_cdk_aws_iam_ceddda9d.IRole,
1035
1069
  task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
1036
1070
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
@@ -32,7 +32,7 @@ import aws_cdk._jsii
32
32
  import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
- "must-cdk", "0.0.10", __name__[0:-6], "must-cdk@0.0.10.jsii.tgz"
35
+ "must-cdk", "0.0.12", __name__[0:-6], "must-cdk@0.0.12.jsii.tgz"
36
36
  )
37
37
 
38
38
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: must-cdk
3
- Version: 0.0.10
3
+ Version: 0.0.12
4
4
  Summary: must-cdk
5
5
  Home-page: https://github.com/globalmsq/must-cdk.git
6
6
  Author: Must Admin<admin-mufin@users.noreply.github.com>
@@ -11,4 +11,4 @@ src/must_cdk.egg-info/dependency_links.txt
11
11
  src/must_cdk.egg-info/requires.txt
12
12
  src/must_cdk.egg-info/top_level.txt
13
13
  src/must_cdk/_jsii/__init__.py
14
- src/must_cdk/_jsii/must-cdk@0.0.10.jsii.tgz
14
+ src/must_cdk/_jsii/must-cdk@0.0.12.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes