### 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_
key_ids = []
    def _create_key(region=None, **kwargs):
        if "Description" not in kwargs:
            kwargs["Description"] = f"test description - {short_uid()}"
        key_metadata = create_boto_client("kms", region).create_key(**kwargs)["KeyMetadata"]
        key_ids.append((region, key_metadata["KeyId"]))
        return key_metadata
    yield _create_key
    for region, key_id in key_ids:
        try:
            
            create_boto_client("kms", region).schedule_key_deletion(
                KeyId=key_id, PendingWindowInDays=7
            )
        except Exception as e:
            exception_message = str(e)
            
            if (
                "KMSInvalidStateException" not in exception_message
                or "is pending deletion" not in exception_message
            ):
                LOG.debug("error cleaning up KMS key %s: %s", key_id, e)
@pytest.fixture()
def kms_replicate_key(create_boto_client):