must-cdk 0.0.9__py3-none-any.whl → 0.0.10__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.
- must_cdk/__init__.py +19 -19
- must_cdk/_jsii/__init__.py +1 -1
- must_cdk/_jsii/must-cdk@0.0.10.jsii.tgz +0 -0
- {must_cdk-0.0.9.dist-info → must_cdk-0.0.10.dist-info}/METADATA +1 -1
- must_cdk-0.0.10.dist-info/RECORD +9 -0
- must_cdk/_jsii/must-cdk@0.0.9.jsii.tgz +0 -0
- must_cdk-0.0.9.dist-info/RECORD +0 -9
- {must_cdk-0.0.9.dist-info → must_cdk-0.0.10.dist-info}/LICENSE +0 -0
- {must_cdk-0.0.9.dist-info → must_cdk-0.0.10.dist-info}/WHEEL +0 -0
- {must_cdk-0.0.9.dist-info → must_cdk-0.0.10.dist-info}/top_level.txt +0 -0
must_cdk/__init__.py
CHANGED
@@ -471,6 +471,7 @@ class EcsCodeDeploy(
|
|
471
471
|
scope: _constructs_77d1e7e8.Construct,
|
472
472
|
id: builtins.str,
|
473
473
|
*,
|
474
|
+
certificates: typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate],
|
474
475
|
cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
|
475
476
|
containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
|
476
477
|
environment: builtins.str,
|
@@ -479,7 +480,6 @@ class EcsCodeDeploy(
|
|
479
480
|
task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
|
480
481
|
vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
|
481
482
|
auto_scaling: typing.Optional[typing.Union[AutoScalingProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
482
|
-
certificates: typing.Optional[typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]] = None,
|
483
483
|
enable_public_load_balancer: typing.Optional[builtins.bool] = None,
|
484
484
|
memory_limit: typing.Optional[jsii.Number] = None,
|
485
485
|
task_cpu: typing.Optional[jsii.Number] = None,
|
@@ -487,6 +487,7 @@ class EcsCodeDeploy(
|
|
487
487
|
'''
|
488
488
|
:param scope: -
|
489
489
|
:param id: -
|
490
|
+
:param certificates: Optional ACM certificates for HTTPS termination.
|
490
491
|
:param cluster: ECS Cluster where the service will run.
|
491
492
|
:param containers: Configuration related to the task definition and container.
|
492
493
|
:param environment: Environment name (e.g., dev, prod) for tagging and naming.
|
@@ -495,7 +496,6 @@ class EcsCodeDeploy(
|
|
495
496
|
:param task_role: Task role for the ECS task.
|
496
497
|
:param vpc: VPC in which to deploy ECS and ALB resources.
|
497
498
|
:param auto_scaling: Optional auto-scaling configuration.
|
498
|
-
:param certificates: Optional ACM certificates for HTTPS termination.
|
499
499
|
:param enable_public_load_balancer: Whether the load balancer should be internet-facing (default: false).
|
500
500
|
:param memory_limit:
|
501
501
|
:param task_cpu: CPU units for the task (default: 1024).
|
@@ -505,6 +505,7 @@ class EcsCodeDeploy(
|
|
505
505
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
506
506
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
507
507
|
props = EcsCodeDeployProps(
|
508
|
+
certificates=certificates,
|
508
509
|
cluster=cluster,
|
509
510
|
containers=containers,
|
510
511
|
environment=environment,
|
@@ -513,7 +514,6 @@ class EcsCodeDeploy(
|
|
513
514
|
task_role=task_role,
|
514
515
|
vpc=vpc,
|
515
516
|
auto_scaling=auto_scaling,
|
516
|
-
certificates=certificates,
|
517
517
|
enable_public_load_balancer=enable_public_load_balancer,
|
518
518
|
memory_limit=memory_limit,
|
519
519
|
task_cpu=task_cpu,
|
@@ -543,6 +543,7 @@ class EcsCodeDeploy(
|
|
543
543
|
jsii_type="must-cdk.EcsCodeDeployProps",
|
544
544
|
jsii_struct_bases=[],
|
545
545
|
name_mapping={
|
546
|
+
"certificates": "certificates",
|
546
547
|
"cluster": "cluster",
|
547
548
|
"containers": "containers",
|
548
549
|
"environment": "environment",
|
@@ -551,7 +552,6 @@ class EcsCodeDeploy(
|
|
551
552
|
"task_role": "taskRole",
|
552
553
|
"vpc": "vpc",
|
553
554
|
"auto_scaling": "autoScaling",
|
554
|
-
"certificates": "certificates",
|
555
555
|
"enable_public_load_balancer": "enablePublicLoadBalancer",
|
556
556
|
"memory_limit": "memoryLimit",
|
557
557
|
"task_cpu": "taskCPU",
|
@@ -561,6 +561,7 @@ class EcsCodeDeployProps:
|
|
561
561
|
def __init__(
|
562
562
|
self,
|
563
563
|
*,
|
564
|
+
certificates: typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate],
|
564
565
|
cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
|
565
566
|
containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
|
566
567
|
environment: builtins.str,
|
@@ -569,13 +570,13 @@ class EcsCodeDeployProps:
|
|
569
570
|
task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
|
570
571
|
vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
|
571
572
|
auto_scaling: typing.Optional[typing.Union[AutoScalingProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
572
|
-
certificates: typing.Optional[typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]] = None,
|
573
573
|
enable_public_load_balancer: typing.Optional[builtins.bool] = None,
|
574
574
|
memory_limit: typing.Optional[jsii.Number] = None,
|
575
575
|
task_cpu: typing.Optional[jsii.Number] = None,
|
576
576
|
) -> None:
|
577
577
|
'''Properties for the EcsCodeDeploy construct.
|
578
578
|
|
579
|
+
:param certificates: Optional ACM certificates for HTTPS termination.
|
579
580
|
:param cluster: ECS Cluster where the service will run.
|
580
581
|
:param containers: Configuration related to the task definition and container.
|
581
582
|
:param environment: Environment name (e.g., dev, prod) for tagging and naming.
|
@@ -584,7 +585,6 @@ class EcsCodeDeployProps:
|
|
584
585
|
:param task_role: Task role for the ECS task.
|
585
586
|
:param vpc: VPC in which to deploy ECS and ALB resources.
|
586
587
|
:param auto_scaling: Optional auto-scaling configuration.
|
587
|
-
:param certificates: Optional ACM certificates for HTTPS termination.
|
588
588
|
:param enable_public_load_balancer: Whether the load balancer should be internet-facing (default: false).
|
589
589
|
:param memory_limit:
|
590
590
|
:param task_cpu: CPU units for the task (default: 1024).
|
@@ -593,6 +593,7 @@ class EcsCodeDeployProps:
|
|
593
593
|
auto_scaling = AutoScalingProps(**auto_scaling)
|
594
594
|
if __debug__:
|
595
595
|
type_hints = typing.get_type_hints(_typecheckingstub__0e1edfc306738ea99e0bd03a55876d7f75a063970dd3103fc1bbb766dff014b1)
|
596
|
+
check_type(argname="argument certificates", value=certificates, expected_type=type_hints["certificates"])
|
596
597
|
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
597
598
|
check_type(argname="argument containers", value=containers, expected_type=type_hints["containers"])
|
598
599
|
check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
|
@@ -601,11 +602,11 @@ class EcsCodeDeployProps:
|
|
601
602
|
check_type(argname="argument task_role", value=task_role, expected_type=type_hints["task_role"])
|
602
603
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
603
604
|
check_type(argname="argument auto_scaling", value=auto_scaling, expected_type=type_hints["auto_scaling"])
|
604
|
-
check_type(argname="argument certificates", value=certificates, expected_type=type_hints["certificates"])
|
605
605
|
check_type(argname="argument enable_public_load_balancer", value=enable_public_load_balancer, expected_type=type_hints["enable_public_load_balancer"])
|
606
606
|
check_type(argname="argument memory_limit", value=memory_limit, expected_type=type_hints["memory_limit"])
|
607
607
|
check_type(argname="argument task_cpu", value=task_cpu, expected_type=type_hints["task_cpu"])
|
608
608
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
609
|
+
"certificates": certificates,
|
609
610
|
"cluster": cluster,
|
610
611
|
"containers": containers,
|
611
612
|
"environment": environment,
|
@@ -616,8 +617,6 @@ class EcsCodeDeployProps:
|
|
616
617
|
}
|
617
618
|
if auto_scaling is not None:
|
618
619
|
self._values["auto_scaling"] = auto_scaling
|
619
|
-
if certificates is not None:
|
620
|
-
self._values["certificates"] = certificates
|
621
620
|
if enable_public_load_balancer is not None:
|
622
621
|
self._values["enable_public_load_balancer"] = enable_public_load_balancer
|
623
622
|
if memory_limit is not None:
|
@@ -625,6 +624,15 @@ class EcsCodeDeployProps:
|
|
625
624
|
if task_cpu is not None:
|
626
625
|
self._values["task_cpu"] = task_cpu
|
627
626
|
|
627
|
+
@builtins.property
|
628
|
+
def certificates(
|
629
|
+
self,
|
630
|
+
) -> typing.List[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]:
|
631
|
+
'''Optional ACM certificates for HTTPS termination.'''
|
632
|
+
result = self._values.get("certificates")
|
633
|
+
assert result is not None, "Required property 'certificates' is missing"
|
634
|
+
return typing.cast(typing.List[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate], result)
|
635
|
+
|
628
636
|
@builtins.property
|
629
637
|
def cluster(self) -> _aws_cdk_aws_ecs_ceddda9d.ICluster:
|
630
638
|
'''ECS Cluster where the service will run.'''
|
@@ -680,14 +688,6 @@ class EcsCodeDeployProps:
|
|
680
688
|
result = self._values.get("auto_scaling")
|
681
689
|
return typing.cast(typing.Optional[AutoScalingProps], result)
|
682
690
|
|
683
|
-
@builtins.property
|
684
|
-
def certificates(
|
685
|
-
self,
|
686
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]]:
|
687
|
-
'''Optional ACM certificates for HTTPS termination.'''
|
688
|
-
result = self._values.get("certificates")
|
689
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]], result)
|
690
|
-
|
691
691
|
@builtins.property
|
692
692
|
def enable_public_load_balancer(self) -> typing.Optional[builtins.bool]:
|
693
693
|
'''Whether the load balancer should be internet-facing (default: false).'''
|
@@ -1008,6 +1008,7 @@ def _typecheckingstub__19ac4f77d3bba1391929b87d2d23b70fe61e21aa6809f43ed4283d6ec
|
|
1008
1008
|
scope: _constructs_77d1e7e8.Construct,
|
1009
1009
|
id: builtins.str,
|
1010
1010
|
*,
|
1011
|
+
certificates: typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate],
|
1011
1012
|
cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
|
1012
1013
|
containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
|
1013
1014
|
environment: builtins.str,
|
@@ -1016,7 +1017,6 @@ def _typecheckingstub__19ac4f77d3bba1391929b87d2d23b70fe61e21aa6809f43ed4283d6ec
|
|
1016
1017
|
task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
|
1017
1018
|
vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
|
1018
1019
|
auto_scaling: typing.Optional[typing.Union[AutoScalingProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
1019
|
-
certificates: typing.Optional[typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]] = None,
|
1020
1020
|
enable_public_load_balancer: typing.Optional[builtins.bool] = None,
|
1021
1021
|
memory_limit: typing.Optional[jsii.Number] = None,
|
1022
1022
|
task_cpu: typing.Optional[jsii.Number] = None,
|
@@ -1026,6 +1026,7 @@ def _typecheckingstub__19ac4f77d3bba1391929b87d2d23b70fe61e21aa6809f43ed4283d6ec
|
|
1026
1026
|
|
1027
1027
|
def _typecheckingstub__0e1edfc306738ea99e0bd03a55876d7f75a063970dd3103fc1bbb766dff014b1(
|
1028
1028
|
*,
|
1029
|
+
certificates: typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate],
|
1029
1030
|
cluster: _aws_cdk_aws_ecs_ceddda9d.ICluster,
|
1030
1031
|
containers: typing.Sequence[typing.Union[ContainerProps, typing.Dict[builtins.str, typing.Any]]],
|
1031
1032
|
environment: builtins.str,
|
@@ -1034,7 +1035,6 @@ def _typecheckingstub__0e1edfc306738ea99e0bd03a55876d7f75a063970dd3103fc1bbb766d
|
|
1034
1035
|
task_role: _aws_cdk_aws_iam_ceddda9d.IRole,
|
1035
1036
|
vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
|
1036
1037
|
auto_scaling: typing.Optional[typing.Union[AutoScalingProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
1037
|
-
certificates: typing.Optional[typing.Sequence[_aws_cdk_aws_certificatemanager_ceddda9d.ICertificate]] = None,
|
1038
1038
|
enable_public_load_balancer: typing.Optional[builtins.bool] = None,
|
1039
1039
|
memory_limit: typing.Optional[jsii.Number] = None,
|
1040
1040
|
task_cpu: typing.Optional[jsii.Number] = None,
|
must_cdk/_jsii/__init__.py
CHANGED
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
must_cdk/__init__.py,sha256=SiPyBOVU0M2kOVhO_sOdgMZpCKI4vUz3VeID1dewkkM,53759
|
2
|
+
must_cdk/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
must_cdk/_jsii/__init__.py,sha256=sTKVWC8vbqw2FohBZfvNcvvmfIYysVdJxYLIr4O2r6Y,1429
|
4
|
+
must_cdk/_jsii/must-cdk@0.0.10.jsii.tgz,sha256=PrP2y_8d3feoWb-iHsRKfYKRGR691cOCx_Qx5MExTvU,270888
|
5
|
+
must_cdk-0.0.10.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
must_cdk-0.0.10.dist-info/METADATA,sha256=uXTXgJ-CC7UwdGk4mppIvm3W1ekybrhifhSzN8vH8Vw,1041
|
7
|
+
must_cdk-0.0.10.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
+
must_cdk-0.0.10.dist-info/top_level.txt,sha256=xm4unKYFXnjqQyemg16SUHfrXIb5XMbfUC_3xNsFyjc,9
|
9
|
+
must_cdk-0.0.10.dist-info/RECORD,,
|
Binary file
|
must_cdk-0.0.9.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
must_cdk/__init__.py,sha256=TAUyyyvgdJTiUBeoFcBz2eaKSIbVLCHBbfZnOrR80fA,53859
|
2
|
-
must_cdk/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
must_cdk/_jsii/__init__.py,sha256=IHz_nKI_sBm69hGz72z70pKB6WoPfg7GhcNc9lQbsbg,1427
|
4
|
-
must_cdk/_jsii/must-cdk@0.0.9.jsii.tgz,sha256=RQC5RbqiOfUAEJWPCN-jOd-4EI0_iklSZNu6ZjmKIaQ,270774
|
5
|
-
must_cdk-0.0.9.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
must_cdk-0.0.9.dist-info/METADATA,sha256=F-dH03rumvr4EwgJ7Zclh7RsCWWPXDSGCVNRJt-y1OY,1040
|
7
|
-
must_cdk-0.0.9.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
-
must_cdk-0.0.9.dist-info/top_level.txt,sha256=xm4unKYFXnjqQyemg16SUHfrXIb5XMbfUC_3xNsFyjc,9
|
9
|
-
must_cdk-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|