@@ -926,55 +926,6 @@ def show(self, stack: Stack) -> None:
926926 print ("No files" )
927927
928928
929- class Py38Function (PyFunction ):
930- """Lambda using the Python 3.8 runtime."""
931-
932- def __init__ (
933- self ,
934- name : str ,
935- description : str ,
936- role : str | GetAtt | Role ,
937- code_dir : str | Path ,
938- handler : str ,
939- version : int | Version | AutoVersion | None = None ,
940- min_version : int | None = None ,
941- alias : str | Alias | BlueGreenAliases | None = None ,
942- requirement_file : str | Path | None = None ,
943- code_version : int | None = None ,
944- timeout : int = 3 ,
945- memory_size : int | None = None ,
946- ephemeral_storage_size : int | None = None ,
947- logs_retention_in_days : int | None = None ,
948- reserved_concurrent_executions : int | None = None ,
949- logging_config : awslambda .LoggingConfig | None = None ,
950- dl_config : awslambda .DeadLetterConfig | None = None ,
951- ) -> None :
952- """Initialize an AWS lambda function using Python 3.8 runtime.
953-
954- See PyFunction for params description.
955- """
956- super ().__init__ (
957- name = name ,
958- description = description ,
959- role = role ,
960- code_dir = code_dir ,
961- handler = handler ,
962- version = version ,
963- min_version = min_version ,
964- alias = alias ,
965- requirement_file = requirement_file ,
966- code_version = code_version ,
967- timeout = timeout ,
968- runtime = "python3.8" ,
969- memory_size = memory_size ,
970- ephemeral_storage_size = ephemeral_storage_size ,
971- logs_retention_in_days = logs_retention_in_days ,
972- reserved_concurrent_executions = reserved_concurrent_executions ,
973- logging_config = logging_config ,
974- dl_config = dl_config ,
975- )
976-
977-
978929class Alias (Construct ):
979930 """A lambda alias."""
980931
0 commit comments