aws-cdk-lib 2.162.0__py3-none-any.whl → 2.163.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 (59) hide show
  1. aws_cdk/__init__.py +5 -7
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.162.0.jsii.tgz → aws-cdk-lib@2.163.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +7 -7
  5. aws_cdk/aws_appflow/__init__.py +30 -16
  6. aws_cdk/aws_appsync/__init__.py +11 -21
  7. aws_cdk/aws_autoscaling/__init__.py +123 -0
  8. aws_cdk/aws_b2bi/__init__.py +83 -57
  9. aws_cdk/aws_cloudformation/__init__.py +5 -7
  10. aws_cdk/aws_codebuild/__init__.py +19 -40
  11. aws_cdk/aws_codepipeline/__init__.py +88 -7
  12. aws_cdk/aws_cognito/__init__.py +282 -168
  13. aws_cdk/aws_dms/__init__.py +1076 -117
  14. aws_cdk/aws_docdb/__init__.py +19 -13
  15. aws_cdk/aws_dynamodb/__init__.py +43 -22
  16. aws_cdk/aws_ec2/__init__.py +1213 -38
  17. aws_cdk/aws_ecs/__init__.py +187 -18
  18. aws_cdk/aws_ecs_patterns/__init__.py +189 -27
  19. aws_cdk/aws_efs/__init__.py +56 -37
  20. aws_cdk/aws_eks/__init__.py +6 -2
  21. aws_cdk/aws_elasticache/__init__.py +118 -118
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +21 -1
  23. aws_cdk/aws_emr/__init__.py +124 -57
  24. aws_cdk/aws_events/__init__.py +40 -0
  25. aws_cdk/aws_fms/__init__.py +757 -8
  26. aws_cdk/aws_fsx/__init__.py +245 -10
  27. aws_cdk/aws_gamelift/__init__.py +121 -0
  28. aws_cdk/aws_glue/__init__.py +344 -61
  29. aws_cdk/aws_iam/__init__.py +44 -0
  30. aws_cdk/aws_identitystore/__init__.py +4 -2
  31. aws_cdk/aws_iot/__init__.py +40 -12
  32. aws_cdk/aws_kinesis/__init__.py +239 -0
  33. aws_cdk/aws_kms/__init__.py +92 -3
  34. aws_cdk/aws_lambda/__init__.py +2 -2
  35. aws_cdk/aws_mediapackagev2/__init__.py +26 -10
  36. aws_cdk/aws_memorydb/__init__.py +7 -7
  37. aws_cdk/aws_networkfirewall/__init__.py +89 -0
  38. aws_cdk/aws_qbusiness/__init__.py +51 -7
  39. aws_cdk/aws_quicksight/__init__.py +221 -87
  40. aws_cdk/aws_rds/__init__.py +376 -75
  41. aws_cdk/aws_redshift/__init__.py +493 -13
  42. aws_cdk/aws_route53profiles/__init__.py +4 -2
  43. aws_cdk/aws_route53resolver/__init__.py +26 -60
  44. aws_cdk/aws_s3/__init__.py +104 -4
  45. aws_cdk/aws_s3express/__init__.py +73 -13
  46. aws_cdk/aws_s3outposts/__init__.py +21 -12
  47. aws_cdk/aws_sagemaker/__init__.py +4 -44
  48. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  49. aws_cdk/aws_stepfunctions/__init__.py +529 -156
  50. aws_cdk/aws_transfer/__init__.py +15 -4
  51. aws_cdk/aws_waf/__init__.py +11 -11
  52. aws_cdk/aws_wafregional/__init__.py +12 -12
  53. aws_cdk/aws_wisdom/__init__.py +710 -5
  54. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/METADATA +1 -1
  55. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/RECORD +59 -59
  56. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/LICENSE +0 -0
  57. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/NOTICE +0 -0
  58. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/WHEEL +0 -0
  59. {aws_cdk_lib-2.162.0.dist-info → aws_cdk_lib-2.163.0.dist-info}/top_level.txt +0 -0
@@ -1124,6 +1124,56 @@ queue_processing_fargate_service = ecs_patterns.NetworkLoadBalancedFargateServic
1124
1124
  )
1125
1125
  ```
1126
1126
 
1127
+ ### Set TLS for NetworkLoadBalancedFargateService / NetworkLoadBalancedEc2Service
1128
+
1129
+ To set up TLS listener in Network Load Balancer, you need to pass extactly one ACM certificate into the option `listenerCertificate`. The listener port and the target group port will also become 443 by default. You can override the listener's port with `listenerPort` and the target group's port with `taskImageOptions.containerPort`.
1130
+
1131
+ ```python
1132
+ from aws_cdk.aws_certificatemanager import Certificate
1133
+
1134
+
1135
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
1136
+ load_balanced_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "Service",
1137
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
1138
+ # It is configured to port 4443 here
1139
+ listener_port=4443,
1140
+ listener_certificate=certificate,
1141
+ task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
1142
+ image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample"),
1143
+ # The default value of containerPort is 443 if you pass in listenerCertificate
1144
+ # It is configured to port 8443 here
1145
+ container_port=8443
1146
+ )
1147
+ )
1148
+ ```
1149
+
1150
+ ```python
1151
+ from aws_cdk.aws_certificatemanager import Certificate
1152
+
1153
+ # cluster: ecs.Cluster
1154
+
1155
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
1156
+ load_balanced_ecs_service = ecs_patterns.NetworkLoadBalancedEc2Service(self, "Service",
1157
+ cluster=cluster,
1158
+ memory_limit_mi_b=1024,
1159
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
1160
+ # It is configured to port 4443 here
1161
+ listener_port=4443,
1162
+ listener_certificate=certificate,
1163
+ task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
1164
+ image=ecs.ContainerImage.from_registry("test"),
1165
+ # The default value of containerPort is 443 if you pass in listenerCertificate
1166
+ # It is configured to port 8443 here
1167
+ container_port=8443,
1168
+ environment={
1169
+ "TEST_ENVIRONMENT_VARIABLE1": "test environment variable 1 value",
1170
+ "TEST_ENVIRONMENT_VARIABLE2": "test environment variable 2 value"
1171
+ }
1172
+ ),
1173
+ desired_count=2
1174
+ )
1175
+ ```
1176
+
1127
1177
  ### Use dualstack Load Balancer
1128
1178
 
1129
1179
  You can use dualstack IP address type for Application Load Balancer and Network Load Balancer.
@@ -1268,6 +1318,7 @@ from ..aws_elasticloadbalancingv2 import (
1268
1318
  ApplicationProtocolVersion as _ApplicationProtocolVersion_dddfe47b,
1269
1319
  ApplicationTargetGroup as _ApplicationTargetGroup_906fe365,
1270
1320
  IApplicationLoadBalancer as _IApplicationLoadBalancer_4cbd50ab,
1321
+ IListenerCertificate as _IListenerCertificate_94ab42d7,
1271
1322
  INetworkLoadBalancer as _INetworkLoadBalancer_96e17101,
1272
1323
  IpAddressType as _IpAddressType_c43b240e,
1273
1324
  NetworkListener as _NetworkListener_539c17bf,
@@ -4009,6 +4060,7 @@ class NetworkLoadBalancedServiceBase(
4009
4060
  enable_execute_command: typing.Optional[builtins.bool] = None,
4010
4061
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
4011
4062
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
4063
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
4012
4064
  listener_port: typing.Optional[jsii.Number] = None,
4013
4065
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
4014
4066
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -4036,7 +4088,8 @@ class NetworkLoadBalancedServiceBase(
4036
4088
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
4037
4089
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
4038
4090
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
4039
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
4091
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
4092
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
4040
4093
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
4041
4094
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
4042
4095
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -4064,6 +4117,7 @@ class NetworkLoadBalancedServiceBase(
4064
4117
  enable_execute_command=enable_execute_command,
4065
4118
  health_check_grace_period=health_check_grace_period,
4066
4119
  ip_address_type=ip_address_type,
4120
+ listener_certificate=listener_certificate,
4067
4121
  listener_port=listener_port,
4068
4122
  load_balancer=load_balancer,
4069
4123
  max_healthy_percent=max_healthy_percent,
@@ -4174,6 +4228,7 @@ typing.cast(typing.Any, NetworkLoadBalancedServiceBase).__jsii_proxy_class__ = l
4174
4228
  "enable_execute_command": "enableExecuteCommand",
4175
4229
  "health_check_grace_period": "healthCheckGracePeriod",
4176
4230
  "ip_address_type": "ipAddressType",
4231
+ "listener_certificate": "listenerCertificate",
4177
4232
  "listener_port": "listenerPort",
4178
4233
  "load_balancer": "loadBalancer",
4179
4234
  "max_healthy_percent": "maxHealthyPercent",
@@ -4202,6 +4257,7 @@ class NetworkLoadBalancedServiceBaseProps:
4202
4257
  enable_execute_command: typing.Optional[builtins.bool] = None,
4203
4258
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
4204
4259
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
4260
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
4205
4261
  listener_port: typing.Optional[jsii.Number] = None,
4206
4262
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
4207
4263
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -4227,7 +4283,8 @@ class NetworkLoadBalancedServiceBaseProps:
4227
4283
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
4228
4284
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
4229
4285
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
4230
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
4286
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
4287
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
4231
4288
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
4232
4289
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
4233
4290
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -4257,6 +4314,7 @@ class NetworkLoadBalancedServiceBaseProps:
4257
4314
  # container_definition: ecs.ContainerDefinition
4258
4315
  # container_image: ecs.ContainerImage
4259
4316
  # hosted_zone: route53.HostedZone
4317
+ # listener_certificate: elbv2.ListenerCertificate
4260
4318
  # log_driver: ecs.LogDriver
4261
4319
  # namespace: servicediscovery.INamespace
4262
4320
  # network_load_balancer: elbv2.NetworkLoadBalancer
@@ -4296,6 +4354,7 @@ class NetworkLoadBalancedServiceBaseProps:
4296
4354
  enable_execute_command=False,
4297
4355
  health_check_grace_period=cdk.Duration.minutes(30),
4298
4356
  ip_address_type=elbv2.IpAddressType.IPV4,
4357
+ listener_certificate=listener_certificate,
4299
4358
  listener_port=123,
4300
4359
  load_balancer=network_load_balancer,
4301
4360
  max_healthy_percent=123,
@@ -4350,6 +4409,7 @@ class NetworkLoadBalancedServiceBaseProps:
4350
4409
  check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
4351
4410
  check_type(argname="argument health_check_grace_period", value=health_check_grace_period, expected_type=type_hints["health_check_grace_period"])
4352
4411
  check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
4412
+ check_type(argname="argument listener_certificate", value=listener_certificate, expected_type=type_hints["listener_certificate"])
4353
4413
  check_type(argname="argument listener_port", value=listener_port, expected_type=type_hints["listener_port"])
4354
4414
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
4355
4415
  check_type(argname="argument max_healthy_percent", value=max_healthy_percent, expected_type=type_hints["max_healthy_percent"])
@@ -4385,6 +4445,8 @@ class NetworkLoadBalancedServiceBaseProps:
4385
4445
  self._values["health_check_grace_period"] = health_check_grace_period
4386
4446
  if ip_address_type is not None:
4387
4447
  self._values["ip_address_type"] = ip_address_type
4448
+ if listener_certificate is not None:
4449
+ self._values["listener_certificate"] = listener_certificate
4388
4450
  if listener_port is not None:
4389
4451
  self._values["listener_port"] = listener_port
4390
4452
  if load_balancer is not None:
@@ -4537,11 +4599,23 @@ class NetworkLoadBalancedServiceBaseProps:
4537
4599
  result = self._values.get("ip_address_type")
4538
4600
  return typing.cast(typing.Optional[_IpAddressType_c43b240e], result)
4539
4601
 
4602
+ @builtins.property
4603
+ def listener_certificate(self) -> typing.Optional[_IListenerCertificate_94ab42d7]:
4604
+ '''Listener certificate list of ACM cert ARNs.
4605
+
4606
+ If you provide a certificate, the listener's protocol will be TLS.
4607
+ If not, the listener's protocol will be TCP.
4608
+
4609
+ :default: - none
4610
+ '''
4611
+ result = self._values.get("listener_certificate")
4612
+ return typing.cast(typing.Optional[_IListenerCertificate_94ab42d7], result)
4613
+
4540
4614
  @builtins.property
4541
4615
  def listener_port(self) -> typing.Optional[jsii.Number]:
4542
4616
  '''Listener port of the network load balancer that will serve traffic to the service.
4543
4617
 
4544
- :default: 80
4618
+ :default: 80 or 443 with listenerCertificate provided
4545
4619
  '''
4546
4620
  result = self._values.get("listener_port")
4547
4621
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -4704,7 +4778,7 @@ class NetworkLoadBalancedTaskImageOptions:
4704
4778
  '''
4705
4779
  :param image: The image used to start a container. Image or taskDefinition must be specified, but not both. Default: - none
4706
4780
  :param container_name: The container name value to be specified in the task definition. Default: - none
4707
- :param container_port: The port number on the container that is bound to the user-specified or automatically assigned host port. If you are using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort. If you are using containers in a task with the bridge network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range. Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance. For more information, see `hostPort <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html#ECS-Type-PortMapping-hostPort>`_. Default: 80
4781
+ :param container_port: The port number on the container that is bound to the user-specified or automatically assigned host port. If you are using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort. If you are using containers in a task with the bridge network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range. Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance. For more information, see `hostPort <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html#ECS-Type-PortMapping-hostPort>`_. Default: 80 or 443 with listenerCertificate provided
4708
4782
  :param docker_labels: A key/value map of labels to add to the container. Default: - No labels.
4709
4783
  :param enable_logging: Flag to indicate whether to enable logging. Default: true
4710
4784
  :param environment: The environment variables to pass to the container. Default: - No environment variables.
@@ -4718,13 +4792,23 @@ class NetworkLoadBalancedTaskImageOptions:
4718
4792
 
4719
4793
  Example::
4720
4794
 
4795
+ from aws_cdk.aws_certificatemanager import Certificate
4796
+
4721
4797
  # cluster: ecs.Cluster
4722
4798
 
4799
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
4723
4800
  load_balanced_ecs_service = ecs_patterns.NetworkLoadBalancedEc2Service(self, "Service",
4724
4801
  cluster=cluster,
4725
4802
  memory_limit_mi_b=1024,
4803
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
4804
+ # It is configured to port 4443 here
4805
+ listener_port=4443,
4806
+ listener_certificate=certificate,
4726
4807
  task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
4727
4808
  image=ecs.ContainerImage.from_registry("test"),
4809
+ # The default value of containerPort is 443 if you pass in listenerCertificate
4810
+ # It is configured to port 8443 here
4811
+ container_port=8443,
4728
4812
  environment={
4729
4813
  "TEST_ENVIRONMENT_VARIABLE1": "test environment variable 1 value",
4730
4814
  "TEST_ENVIRONMENT_VARIABLE2": "test environment variable 2 value"
@@ -4804,7 +4888,7 @@ class NetworkLoadBalancedTaskImageOptions:
4804
4888
  For more information, see
4805
4889
  `hostPort <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html#ECS-Type-PortMapping-hostPort>`_.
4806
4890
 
4807
- :default: 80
4891
+ :default: 80 or 443 with listenerCertificate provided
4808
4892
  '''
4809
4893
  result = self._values.get("container_port")
4810
4894
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -10392,13 +10476,23 @@ class NetworkLoadBalancedEc2Service(
10392
10476
 
10393
10477
  Example::
10394
10478
 
10479
+ from aws_cdk.aws_certificatemanager import Certificate
10480
+
10395
10481
  # cluster: ecs.Cluster
10396
10482
 
10483
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
10397
10484
  load_balanced_ecs_service = ecs_patterns.NetworkLoadBalancedEc2Service(self, "Service",
10398
10485
  cluster=cluster,
10399
10486
  memory_limit_mi_b=1024,
10487
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
10488
+ # It is configured to port 4443 here
10489
+ listener_port=4443,
10490
+ listener_certificate=certificate,
10400
10491
  task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
10401
10492
  image=ecs.ContainerImage.from_registry("test"),
10493
+ # The default value of containerPort is 443 if you pass in listenerCertificate
10494
+ # It is configured to port 8443 here
10495
+ container_port=8443,
10402
10496
  environment={
10403
10497
  "TEST_ENVIRONMENT_VARIABLE1": "test environment variable 1 value",
10404
10498
  "TEST_ENVIRONMENT_VARIABLE2": "test environment variable 2 value"
@@ -10431,6 +10525,7 @@ class NetworkLoadBalancedEc2Service(
10431
10525
  enable_execute_command: typing.Optional[builtins.bool] = None,
10432
10526
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
10433
10527
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
10528
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
10434
10529
  listener_port: typing.Optional[jsii.Number] = None,
10435
10530
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
10436
10531
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -10464,7 +10559,8 @@ class NetworkLoadBalancedEc2Service(
10464
10559
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
10465
10560
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
10466
10561
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
10467
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
10562
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
10563
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
10468
10564
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
10469
10565
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
10470
10566
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -10498,6 +10594,7 @@ class NetworkLoadBalancedEc2Service(
10498
10594
  enable_execute_command=enable_execute_command,
10499
10595
  health_check_grace_period=health_check_grace_period,
10500
10596
  ip_address_type=ip_address_type,
10597
+ listener_certificate=listener_certificate,
10501
10598
  listener_port=listener_port,
10502
10599
  load_balancer=load_balancer,
10503
10600
  max_healthy_percent=max_healthy_percent,
@@ -10541,6 +10638,7 @@ class NetworkLoadBalancedEc2Service(
10541
10638
  "enable_execute_command": "enableExecuteCommand",
10542
10639
  "health_check_grace_period": "healthCheckGracePeriod",
10543
10640
  "ip_address_type": "ipAddressType",
10641
+ "listener_certificate": "listenerCertificate",
10544
10642
  "listener_port": "listenerPort",
10545
10643
  "load_balancer": "loadBalancer",
10546
10644
  "max_healthy_percent": "maxHealthyPercent",
@@ -10575,6 +10673,7 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10575
10673
  enable_execute_command: typing.Optional[builtins.bool] = None,
10576
10674
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
10577
10675
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
10676
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
10578
10677
  listener_port: typing.Optional[jsii.Number] = None,
10579
10678
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
10580
10679
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -10606,7 +10705,8 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10606
10705
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
10607
10706
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
10608
10707
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
10609
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
10708
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
10709
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
10610
10710
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
10611
10711
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
10612
10712
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -10627,13 +10727,23 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10627
10727
 
10628
10728
  Example::
10629
10729
 
10730
+ from aws_cdk.aws_certificatemanager import Certificate
10731
+
10630
10732
  # cluster: ecs.Cluster
10631
10733
 
10734
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
10632
10735
  load_balanced_ecs_service = ecs_patterns.NetworkLoadBalancedEc2Service(self, "Service",
10633
10736
  cluster=cluster,
10634
10737
  memory_limit_mi_b=1024,
10738
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
10739
+ # It is configured to port 4443 here
10740
+ listener_port=4443,
10741
+ listener_certificate=certificate,
10635
10742
  task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
10636
10743
  image=ecs.ContainerImage.from_registry("test"),
10744
+ # The default value of containerPort is 443 if you pass in listenerCertificate
10745
+ # It is configured to port 8443 here
10746
+ container_port=8443,
10637
10747
  environment={
10638
10748
  "TEST_ENVIRONMENT_VARIABLE1": "test environment variable 1 value",
10639
10749
  "TEST_ENVIRONMENT_VARIABLE2": "test environment variable 2 value"
@@ -10664,6 +10774,7 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10664
10774
  check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
10665
10775
  check_type(argname="argument health_check_grace_period", value=health_check_grace_period, expected_type=type_hints["health_check_grace_period"])
10666
10776
  check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
10777
+ check_type(argname="argument listener_certificate", value=listener_certificate, expected_type=type_hints["listener_certificate"])
10667
10778
  check_type(argname="argument listener_port", value=listener_port, expected_type=type_hints["listener_port"])
10668
10779
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
10669
10780
  check_type(argname="argument max_healthy_percent", value=max_healthy_percent, expected_type=type_hints["max_healthy_percent"])
@@ -10705,6 +10816,8 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10705
10816
  self._values["health_check_grace_period"] = health_check_grace_period
10706
10817
  if ip_address_type is not None:
10707
10818
  self._values["ip_address_type"] = ip_address_type
10819
+ if listener_certificate is not None:
10820
+ self._values["listener_certificate"] = listener_certificate
10708
10821
  if listener_port is not None:
10709
10822
  self._values["listener_port"] = listener_port
10710
10823
  if load_balancer is not None:
@@ -10869,11 +10982,23 @@ class NetworkLoadBalancedEc2ServiceProps(NetworkLoadBalancedServiceBaseProps):
10869
10982
  result = self._values.get("ip_address_type")
10870
10983
  return typing.cast(typing.Optional[_IpAddressType_c43b240e], result)
10871
10984
 
10985
+ @builtins.property
10986
+ def listener_certificate(self) -> typing.Optional[_IListenerCertificate_94ab42d7]:
10987
+ '''Listener certificate list of ACM cert ARNs.
10988
+
10989
+ If you provide a certificate, the listener's protocol will be TLS.
10990
+ If not, the listener's protocol will be TCP.
10991
+
10992
+ :default: - none
10993
+ '''
10994
+ result = self._values.get("listener_certificate")
10995
+ return typing.cast(typing.Optional[_IListenerCertificate_94ab42d7], result)
10996
+
10872
10997
  @builtins.property
10873
10998
  def listener_port(self) -> typing.Optional[jsii.Number]:
10874
10999
  '''Listener port of the network load balancer that will serve traffic to the service.
10875
11000
 
10876
- :default: 80
11001
+ :default: 80 or 443 with listenerCertificate provided
10877
11002
  '''
10878
11003
  result = self._values.get("listener_port")
10879
11004
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -11089,16 +11214,21 @@ class NetworkLoadBalancedFargateService(
11089
11214
 
11090
11215
  Example::
11091
11216
 
11092
- # vpc: ec2.Vpc
11093
- # security_group: ec2.SecurityGroup
11217
+ from aws_cdk.aws_certificatemanager import Certificate
11094
11218
 
11095
- queue_processing_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "Service",
11096
- vpc=vpc,
11097
- memory_limit_mi_b=512,
11219
+
11220
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
11221
+ load_balanced_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "Service",
11222
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
11223
+ # It is configured to port 4443 here
11224
+ listener_port=4443,
11225
+ listener_certificate=certificate,
11098
11226
  task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
11099
- image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
11100
- ),
11101
- security_groups=[security_group]
11227
+ image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample"),
11228
+ # The default value of containerPort is 443 if you pass in listenerCertificate
11229
+ # It is configured to port 8443 here
11230
+ container_port=8443
11231
+ )
11102
11232
  )
11103
11233
  '''
11104
11234
 
@@ -11122,6 +11252,7 @@ class NetworkLoadBalancedFargateService(
11122
11252
  enable_execute_command: typing.Optional[builtins.bool] = None,
11123
11253
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
11124
11254
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
11255
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
11125
11256
  listener_port: typing.Optional[jsii.Number] = None,
11126
11257
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
11127
11258
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -11158,7 +11289,8 @@ class NetworkLoadBalancedFargateService(
11158
11289
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
11159
11290
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
11160
11291
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
11161
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
11292
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
11293
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
11162
11294
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
11163
11295
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
11164
11296
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -11195,6 +11327,7 @@ class NetworkLoadBalancedFargateService(
11195
11327
  enable_execute_command=enable_execute_command,
11196
11328
  health_check_grace_period=health_check_grace_period,
11197
11329
  ip_address_type=ip_address_type,
11330
+ listener_certificate=listener_certificate,
11198
11331
  listener_port=listener_port,
11199
11332
  load_balancer=load_balancer,
11200
11333
  max_healthy_percent=max_healthy_percent,
@@ -11249,6 +11382,7 @@ class NetworkLoadBalancedFargateService(
11249
11382
  "enable_execute_command": "enableExecuteCommand",
11250
11383
  "health_check_grace_period": "healthCheckGracePeriod",
11251
11384
  "ip_address_type": "ipAddressType",
11385
+ "listener_certificate": "listenerCertificate",
11252
11386
  "listener_port": "listenerPort",
11253
11387
  "load_balancer": "loadBalancer",
11254
11388
  "max_healthy_percent": "maxHealthyPercent",
@@ -11289,6 +11423,7 @@ class NetworkLoadBalancedFargateServiceProps(
11289
11423
  enable_execute_command: typing.Optional[builtins.bool] = None,
11290
11424
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
11291
11425
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
11426
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
11292
11427
  listener_port: typing.Optional[jsii.Number] = None,
11293
11428
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
11294
11429
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -11323,7 +11458,8 @@ class NetworkLoadBalancedFargateServiceProps(
11323
11458
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: - false
11324
11459
  :param health_check_grace_period: The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. Default: - defaults to 60 seconds if at least one load balancer is in-use and it is not already set
11325
11460
  :param ip_address_type: The type of IP addresses to use. If you want to add a UDP or TCP_UDP listener to the load balancer, you must choose IPv4. Default: IpAddressType.IPV4
11326
- :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80
11461
+ :param listener_certificate: Listener certificate list of ACM cert ARNs. If you provide a certificate, the listener's protocol will be TLS. If not, the listener's protocol will be TCP. Default: - none
11462
+ :param listener_port: Listener port of the network load balancer that will serve traffic to the service. Default: 80 or 443 with listenerCertificate provided
11327
11463
  :param load_balancer: The network load balancer that will serve traffic to the service. If the load balancer has been imported, the vpc attribute must be specified in the call to fromNetworkLoadBalancerAttributes(). [disable-awslint:ref-via-interface] Default: - a new load balancer will be created.
11328
11464
  :param max_healthy_percent: The maximum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that can run in a service during a deployment. Default: - 100 if daemon, otherwise 200
11329
11465
  :param min_healthy_percent: The minimum number of tasks, specified as a percentage of the Amazon ECS service's DesiredCount value, that must continue to run and remain healthy during a deployment. Default: - 0 if daemon, otherwise 50
@@ -11347,16 +11483,21 @@ class NetworkLoadBalancedFargateServiceProps(
11347
11483
 
11348
11484
  Example::
11349
11485
 
11350
- # vpc: ec2.Vpc
11351
- # security_group: ec2.SecurityGroup
11486
+ from aws_cdk.aws_certificatemanager import Certificate
11352
11487
 
11353
- queue_processing_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "Service",
11354
- vpc=vpc,
11355
- memory_limit_mi_b=512,
11488
+
11489
+ certificate = Certificate.from_certificate_arn(self, "Cert", "arn:aws:acm:us-east-1:123456:certificate/abcdefg")
11490
+ load_balanced_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "Service",
11491
+ # The default value of listenerPort is 443 if you pass in listenerCertificate
11492
+ # It is configured to port 4443 here
11493
+ listener_port=4443,
11494
+ listener_certificate=certificate,
11356
11495
  task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
11357
- image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
11358
- ),
11359
- security_groups=[security_group]
11496
+ image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample"),
11497
+ # The default value of containerPort is 443 if you pass in listenerCertificate
11498
+ # It is configured to port 8443 here
11499
+ container_port=8443
11500
+ )
11360
11501
  )
11361
11502
  '''
11362
11503
  if isinstance(circuit_breaker, dict):
@@ -11385,6 +11526,7 @@ class NetworkLoadBalancedFargateServiceProps(
11385
11526
  check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
11386
11527
  check_type(argname="argument health_check_grace_period", value=health_check_grace_period, expected_type=type_hints["health_check_grace_period"])
11387
11528
  check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
11529
+ check_type(argname="argument listener_certificate", value=listener_certificate, expected_type=type_hints["listener_certificate"])
11388
11530
  check_type(argname="argument listener_port", value=listener_port, expected_type=type_hints["listener_port"])
11389
11531
  check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
11390
11532
  check_type(argname="argument max_healthy_percent", value=max_healthy_percent, expected_type=type_hints["max_healthy_percent"])
@@ -11429,6 +11571,8 @@ class NetworkLoadBalancedFargateServiceProps(
11429
11571
  self._values["health_check_grace_period"] = health_check_grace_period
11430
11572
  if ip_address_type is not None:
11431
11573
  self._values["ip_address_type"] = ip_address_type
11574
+ if listener_certificate is not None:
11575
+ self._values["listener_certificate"] = listener_certificate
11432
11576
  if listener_port is not None:
11433
11577
  self._values["listener_port"] = listener_port
11434
11578
  if load_balancer is not None:
@@ -11599,11 +11743,23 @@ class NetworkLoadBalancedFargateServiceProps(
11599
11743
  result = self._values.get("ip_address_type")
11600
11744
  return typing.cast(typing.Optional[_IpAddressType_c43b240e], result)
11601
11745
 
11746
+ @builtins.property
11747
+ def listener_certificate(self) -> typing.Optional[_IListenerCertificate_94ab42d7]:
11748
+ '''Listener certificate list of ACM cert ARNs.
11749
+
11750
+ If you provide a certificate, the listener's protocol will be TLS.
11751
+ If not, the listener's protocol will be TCP.
11752
+
11753
+ :default: - none
11754
+ '''
11755
+ result = self._values.get("listener_certificate")
11756
+ return typing.cast(typing.Optional[_IListenerCertificate_94ab42d7], result)
11757
+
11602
11758
  @builtins.property
11603
11759
  def listener_port(self) -> typing.Optional[jsii.Number]:
11604
11760
  '''Listener port of the network load balancer that will serve traffic to the service.
11605
11761
 
11606
- :default: 80
11762
+ :default: 80 or 443 with listenerCertificate provided
11607
11763
  '''
11608
11764
  result = self._values.get("listener_port")
11609
11765
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -16434,6 +16590,7 @@ def _typecheckingstub__12b53d0ee1ed0e067bd3d89a143b1004884a752670676417fa81284f7
16434
16590
  enable_execute_command: typing.Optional[builtins.bool] = None,
16435
16591
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
16436
16592
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
16593
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
16437
16594
  listener_port: typing.Optional[jsii.Number] = None,
16438
16595
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
16439
16596
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -16481,6 +16638,7 @@ def _typecheckingstub__b8c23351e0c4b39637462c662d702bdc3b000214d7335a22d67c31895
16481
16638
  enable_execute_command: typing.Optional[builtins.bool] = None,
16482
16639
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
16483
16640
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
16641
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
16484
16642
  listener_port: typing.Optional[jsii.Number] = None,
16485
16643
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
16486
16644
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -17108,6 +17266,7 @@ def _typecheckingstub__25a24a1cd170ed236f46460373e5ad18864ab4b8845363c5e05a08cd3
17108
17266
  enable_execute_command: typing.Optional[builtins.bool] = None,
17109
17267
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
17110
17268
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
17269
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
17111
17270
  listener_port: typing.Optional[jsii.Number] = None,
17112
17271
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
17113
17272
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -17136,6 +17295,7 @@ def _typecheckingstub__b000aecf519f70fc3affe03da9de2d9fb2bdfca5ee4102634f4e17198
17136
17295
  enable_execute_command: typing.Optional[builtins.bool] = None,
17137
17296
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
17138
17297
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
17298
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
17139
17299
  listener_port: typing.Optional[jsii.Number] = None,
17140
17300
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
17141
17301
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -17175,6 +17335,7 @@ def _typecheckingstub__633773eb8c5e71fd9d413b4600a4460d67ddbbf4f0d1ad414b05ab210
17175
17335
  enable_execute_command: typing.Optional[builtins.bool] = None,
17176
17336
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
17177
17337
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
17338
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
17178
17339
  listener_port: typing.Optional[jsii.Number] = None,
17179
17340
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
17180
17341
  max_healthy_percent: typing.Optional[jsii.Number] = None,
@@ -17209,6 +17370,7 @@ def _typecheckingstub__883e3ba9ce3759b7fedc824d271d29edacc0ccdd564e943054039dc84
17209
17370
  enable_execute_command: typing.Optional[builtins.bool] = None,
17210
17371
  health_check_grace_period: typing.Optional[_Duration_4839e8c3] = None,
17211
17372
  ip_address_type: typing.Optional[_IpAddressType_c43b240e] = None,
17373
+ listener_certificate: typing.Optional[_IListenerCertificate_94ab42d7] = None,
17212
17374
  listener_port: typing.Optional[jsii.Number] = None,
17213
17375
  load_balancer: typing.Optional[_INetworkLoadBalancer_96e17101] = None,
17214
17376
  max_healthy_percent: typing.Optional[jsii.Number] = None,