### Description

The Amazon Airflow Provider lacks operators for "Reboot Instance" and "Hibernate Instance," two states available in the AWS UI. Achieving feature parity would provide a seamless experience, aligning Airflow with AWS capabilities.

I'd like to see the EC2RebootInstanceOperator and EC2HibernateInstanceOperator added to Amazon Provider.

### Use case/motivation

This enhancement ensures users can manage EC2 instances in Airflow the same way they do in the AWS UI.

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

"""Returns the AMI ID of the most recently-created Amazon Linux image"""
    
    
    
    
    image_prefix = "Amazon Linux*"
    images = boto3.client("ec2").describe_images(
        Filters=[
            {"Name": "description", "Values": [image_prefix]},
            {"Name": "architecture", "Values": ["arm64"]},
        ],
        Owners=["amazon"],
    )
    
    return max(images["Images"], key=itemgetter("CreationDate"))["ImageId"]
@task
def create_key_pair(key_name: str):
    client = boto3.client("ec2")
    key_pair_id = client.create_key_pair(KeyName=key_name)["KeyName"]
    
    client.get_waiter("key_pair_exists").wait(KeyNames=[key_pair_id])
    return key_pair_id
@task(trigger_rule=TriggerRule.ALL_DONE)
def delete_key_pair(key_pair_id: str):