### Is there an existing issue for this?

- [X] I have searched the existing issues

### Enhancement description

AWS Lambda recently added support for Java 17 as managed runtime:
https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-java-17/



### 🧑‍💻 Implementation

_No response_

### Anything else?

_No response_
template_names = []
    def factory(name: str, contents: str, subject: str = f"Email template {short_uid()}"):
        aws_client.ses.create_template(
            Template={
                "TemplateName": name,
                "SubjectPart": subject,
                "TextPart": contents,
            }
        )
        template_names.append(name)
    yield factory
    for template_name in template_names:
        aws_client.ses.delete_template(TemplateName=template_name)
@pytest.fixture
def ses_verify_identity(aws_client):
    identities = []
    def factory(email_address: str) -> None:
        aws_client.ses.verify_email_identity(EmailAddress=email_address)
    yield factory
    for identity in identities:
        aws_client.ses.delete_identity(Identity=identity)
@pytest.fixture
def ec2_create_security_group(aws_client):