While a lambda is still processing (archive unpacking etc), the lambda state should be set to "Pending" (currently "Active") and invocations to that lambda should fail (currently, it can end up in a inconsistent state in this case, like lambdas being executed without layers).

Lambda state should reflect the current internal state, and invocations should fail if not active.
def __init__(self, id):
        super(FirehoseStream, self).__init__(id)
        self.destinations = []
    def name(self):
        return self.id.split(":deliverystream/")[-1]
class CodeSigningConfig:
    def __init__(self, arn, id, signing_profile_version_arns):
        self.arn = arn
        self.id = id
        self.signing_profile_version_arns = signing_profile_version_arns
        self.description = ""
        self.untrusted_artifact_on_deployment = "Warn"
        self.last_modified = None
class LambdaFunction(Component):
    QUALIFIER_LATEST: str = "$LATEST"
    def __init__(self, arn):