def METHOD_NAME(  # type: ignore[misc]
    cls,
    resource_name: str,
    cloudformation_json: Any,
    account_id: str,
    region_name: str,
    **kwargs: Any
) -> "VPCPeeringConnection":
    from ..models import ec2_backends
    properties = cloudformation_json["Properties"]
    ec2_backend = ec2_backends[account_id][region_name]
    vpc = ec2_backend.get_vpc(properties["VpcId"])
    peer_vpc = ec2_backend.get_vpc(properties["PeerVpcId"])
    vpc_pcx = ec2_backend.create_vpc_peering_connection(vpc, peer_vpc)
    return vpc_pcx